Created
April 25, 2011 18:36
-
-
Save danielgwood/940971 to your computer and use it in GitHub Desktop.
Holmes.css bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Holmes.css bookmarklet | |
Adds the holmes tests (see https://github.com/redroot/holmes) to any page at a click of a button | |
Usage instructions: | |
1. Install the latest version of holmes on your local/personal web server | |
2. Create a new HTML page containing the contents of this Gist | |
3. Edit the href to holmes in the source, if your holmes stylesheet is not located at http://localhost/tools/holmes.min.css | |
4. Open the HTML page in your browser, and drag the bookmarklet to your bookmarks bar | |
Then just click the button on any page you want to holmesify! | |
--> | |
<a href="javascript:(function(){holmes=document.createElement('LINK');holmes.href='http://localhost/tools/holmes.min.css';holmes.rel='stylesheet';holmes.type='text/css';document.body.appendChild(holmes);document.getElementsByTagName('body')[0].className+='%20holmes-debug';})();">Holmes.css</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Holmes.css bookmarklet | |
Adds the holmes tests (see https://github.com/redroot/holmes) to any page at a click of a button | |
Usage instructions: | |
1. Install the latest version of holmes on your local/personal web server | |
2. Create a new HTML page containing the contents of this Gist | |
3. Edit the href to holmes in the source, if your holmes stylesheet is not located at http://localhost/tools/holmes.min.css | |
4. Open the HTML page in your browser, and drag the bookmarklet to your bookmarks bar | |
Then just click the button on any page you want to holmesify! | |
--> | |
<a href="javascript:(function(){holmes=document.createElement('LINK');holmes.href='http://localhost/tools/holmes.min.css';holmes.rel='stylesheet';holmes.type='text/css';document.body.appendChild(holmes);document.getElementsByTagName('body')[0].className+='%20holmes-debug';})();">Holmes.css</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment