i have this js bookmarklet that makes all the current page's font colors black. what i wanted is to maintein the effect of the bookmarklet even clicking on the page's links
javascript:(
function(){
var newSS, styles='* { color: black !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);
}
}
)();
so i though if there is a way we can change the current page's links into something like
<a href="javascript:'load link location' then 'apply color effect'">Link</a>
*cant actually think of the right codes lol i don't want to use stylish addons or something like that xD