Good link checking tool? - html

Can anyone recommend a good, free link checker to check all pages within a domain? Ideally a browser add-on or a web app (otherwise something that runs on OSX).
Crucially it needs to follow links recursively within a domain. Links outside the domain should be followed to a depth of 1, but not checked recursively.
This is for the fairly common situation where you want to check all pages on your own site, but not evaluate the links on e.g. Google's homepage.
I can't find anything suitable. Am I missing something?
I've tried the Firefox LinkChecker add-on and the W3C link validator - neither seem to have the 'follow recursively within a domain' property, or am I being dumb?
I know Xenu does this, but I don't run Windows.

The W3C offering does only check to a depth of 1 when it leaves the domain.

Related

Mailto links not working on one specific page in Chrome

The mailto links on the following page do not work in Chrome 32.0.1700.107:
http://accelerate.numa.paris/Accelerate-Apply
I have checked Chrome's settings and the associated handler is Gmail, other page with mailto links seem to work correctly as they generate a new email in Gmail, for example:
W3Schools mailto example
A problem with Chrome settings is therefore to be excluded.
I have read that the problem might be linked to Google Analytics, unfortunately I do not have access to that as the page has been created within a CMS.
Any help regarding the nature of the problem and possible solutions that do not involve using javascript are welcome.
The issue seems to only affect users logged in with an account of the NUMA website, therefore this will not affect the average visitor.
The reason why this is happening would be difficult to answer for anyone that doesn't have an account and is probably less critical at this point.

What are dpuf (extension) files?

I have seen this extension in some urls and I would like to know what they are used for.
It seems odd, but I couldn't find any information about them. I think they are specific for some plug-in.
It seems to be connected to 'Share This'-buttons on the websites.
I found this page which gives a quite comprehensive explanation:
This tag is mainly developed for tracking the URL sharing on various Social Networks, so every time anyone copies your blog content there he gets the URL ending with #sthash and extension with .dpuf or .dpbs

Is it possible to detect a HTML video playing on a browser?

I want to know if a html video is being displayed on a browser, from outside said browser, ideally without any plugins or such.
Motivation - I am trying to add this feature to Caffeine which is a Linux utility which disables the OS screensaver if, say, you are watching a movie.
The flash support was done I believe by detecting the presence of particular files or folders created by the plugin.
Ideally I would like 1 solution, but if I get 2 solutions for Firefox and Chrome, that's good enough.
p.s. Ultimately this would involve python code, but I am not sure if that is sufficient to make this question on-topic, or if this belongs on Superuser or Unix&Linux
This reminds me of something a web browser I was building in VB .Net which needed to detect if there where web pages that had tags like <a href="tel: or <a href="smsI know you said you didn't want a plugin but I would think you could easily right a browser plugin for for just this. In fact not exactly what your looking for but theirs a script monkey script called Hangouts Unlimited which prevents you from getting annoying messages asking if your still awake while in a G+ hangout. I don't know much about python but I would recomennd trying to identify the elements of the tags and when ever it finds such tags to disable the screen saver. Obviously the hangouts unlimited doesn't affect the web browser and that is most likely why you prefer not to have a browser plugin because you need to access system files outside of the browser. But I hope this helps a bit.

Link sharing - Google Caja HTML Sanitizer

I'm trying to tackle the classic "user input sanitisation" problem on my new web app and I chose to use Google Caja's HTML Sanitizer server-side for this task.
Although the implementation + testing went fine, I still have some questions :
1) I could only find the HTML4 definitions, does this mean that HTML5 tags wouldn't be safe ?
I did some tests with HTML 5 specific tag / attribute XSS's and although none of them worked I'm not 100% sure that some untested ones wouldn't work.
2) Google Caja doesn't seem too active anymore, would this constitute a security issue ?
3) I want my users to be able to share links, how would I be able to do this in a safe way that passes Google Caja's filters ? (like StackOverflow)
4) How does Caja handle Unicode ?
Thank you in advance !
1) I could only find the HTML4 definitions, does this mean that HTML5 tags wouldn't be safe ?
We have added HTML5 support in the past few months. Please let us know if anything is missing.
2) Google Caja doesn't seem too active anymore, would this constitute a security issue ?
Are you perhaps looking in the wrong place? We're quite busy, as you can see here.
3) I want my users to be able to share links, how would I be able to do this in a safe way that passes Google Caja's filters ? (like StackOverflow)
You can supply a URI policy which permits or rejects outgoing links.
4) How does Caja handle Unicode ?
Correctly, I should hope. If things don't work, please file a bug.

Development of browser extension questions

I am looking to develop a cross browser extension (plugin) and am having troubles getting answers to a few questions. So just looking for some simple answers if what I would like to do is possible. Thanks. I am currently looking at using Crossrider but would use whatever.
How do some extensions add a menu to the right click button. For example, when I right click in Chrome I see Evernote Web Clipper and Adblock options in the dropdown). How do they do that?
Could I embed a youtube player, for example. So when it's closed the audio still plays but when clicked you can see the video and what not?
For sites like Grooveshark. Could they have a plugin that when clicked you could change the song or stop the music, etc. So basically communicate with a website in your tab from the plugin?
Thanks. I just found Crossrider and it looks like some may be possible but havn't explored it too in depth yet. Kind of wondering if anyone has tried doing these things and if possible.
Google has a specific API for adding context menus. You can read about it here. Just be sure to request permissions for context menus in the manifest.json file and then you can add everything else to your background JavaScript file.
I don't think it's exactly possible to embed a YouTube player into the extension directly. Google Chrome will not allow for running inline scripts, which are clearly required to run YouTube within a popup page (or anything else, for that matter).
As for your third question, you would have to check into the individual APIs for any sites that you want to run the extension with. Every site is going to be a little bit different and my first instinct is that most sites are not going to allow for directly adding their player to the extension.
I would strongly suggest checking out the information about developing Google Chrome extensions available on Google Code. They provide a great tutorial and reference for the basics of developing extensions.