emecell / 404b.js

Bookmarklet that attempts to request all links on a given page to verify that they load correctly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

404b.js

404b is a bookmarklet that attempts to request all links on a given page to verify that they load correctly. It uses document.links to obtain the list of links on a page and either issues a XMLHttpRequest for same domain links or creates a link element to verify that the link works. This bookmarklet is tested on Chrome only right now.

Installation

Create a new bookmark (cmd+d or ctrl+d) and replace the URL with the following code:

javascript:(function(){s=document.createElement('script');s.type='text/javascript';s.src='https://raw.github.com/emecell/404b.js/master/dist/404b.min.js?v='+parseInt(Math.random()*99999999);document.body.appendChild(s);})();

Acknowledgments

Initial design is based off of the WTFramework bookmarklet.

Authors

Copyright and License

Copyright (c) 2013 Robert Law

See LICENSE file.

About

Bookmarklet that attempts to request all links on a given page to verify that they load correctly

License:Apache License 2.0


Languages

Language:JavaScript 100.0%