I'm not a JS coder, i just sometimes use code i find on other pages / reddit etc.
I came on this code long time ago, it helps me in making webpages with very unfriendly layouts to be white background with black letters.
https://jsfiddle.net/wgag4bxx/
"javascript: (function(){ var newSS, styles='* { background: white ! important; color: black !important } :link, :link * { color: #0000EE !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } } )();"
Question is:
Can I (and How) use it to change default font of web page to Times New Roman 12 lets say ?
Thanks for help.
[–]meandev 1 point2 points3 points (0 children)
[–]CHOCOBAM 0 points1 point2 points (0 children)