- Joined
- Jan 14, 2008
- Messages
- 63,410
I found a neat tool that lets you change any page's background to white, while changing the text to black at the same time sometimes if the website is made cheap I cannot read
the text so this tool is great!
It's a javascript "bookmarklet" -- here's how you set it up:
1. Bookmark any URL -- it doesn't matter which one.
2. Right click on the new bookmark and select Properties.
3. Change the title to something like "Dark to Light" or "Black to White" or whatever is memorable for you.
4. Replace the URL with the following code (copy and paste all of this):
Code:
javascript:%20(function(){%20var%20newSS,%20styles='*%20{%20background:%20white%20!%20important;%20color:%20black%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("javascript:'"+styles+"'");%20}%20else%20{%20newSS=document.createElement('link');%20newSS.rel='stylesheet';%20newSS.href='data:text/css,'+escape(styles);%20document.getElementsByTagName("head")[0].appendChild(newSS);%20}%20}%20)();
5. Click Save.
When you land on a page with light text on a dark background, just click the bookmarklet and there you go you can read it much easier now!
the text so this tool is great!
It's a javascript "bookmarklet" -- here's how you set it up:
1. Bookmark any URL -- it doesn't matter which one.
2. Right click on the new bookmark and select Properties.
3. Change the title to something like "Dark to Light" or "Black to White" or whatever is memorable for you.
4. Replace the URL with the following code (copy and paste all of this):
Code:
javascript:%20(function(){%20var%20newSS,%20styles='*%20{%20background:%20white%20!%20important;%20color:%20black%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("javascript:'"+styles+"'");%20}%20else%20{%20newSS=document.createElement('link');%20newSS.rel='stylesheet';%20newSS.href='data:text/css,'+escape(styles);%20document.getElementsByTagName("head")[0].appendChild(newSS);%20}%20}%20)();
5. Click Save.
When you land on a page with light text on a dark background, just click the bookmarklet and there you go you can read it much easier now!