Created
February 24, 2009 02:49
-
-
Save brianhanifin/69363 to your computer and use it in GitHub Desktop.
Darken
This file contains hidden or 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
CmdUtils.makeBookmarkletCommand({ | |
name: "darken", | |
url: "javascript:(function(){var%20newSS,%20styles='*%20{%20background:%20black%20!%20important;%20color:%20grey%20!important%20}%20:link,%20:link%20*%20{%20color:%20#0000EE%20!important%20}%20:visited,%20:visited%20*%20{%20color:%20#551A8B%20!important%20}';%20if(document.createStyleSheet)%20{%20document.createStyleSheet(%22javascript:'%22+styles+%22'%22);%20}%20else%20{%20newSS=document.createElement('link');%20newSS.rel='stylesheet';%20newSS.href='data:text/css,'+escape(styles);%20document.getElementsByTagName(%22head%22)[0].appendChild(newSS);%20}%20})();" | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment