Replace only a specified font in Chrome - revisited
I'm trying to get the answer over here to work, and later on to add some GUI to maintain some input and output lists: Replace only a specified font in Chrome
Since it doesn't really work here I first of all ask:
Is there already a chrome plugin out where which will allow me to point at a letter on a web page and then say replace this crappy looking font now and forever with this sans-serif?
I have searched but did not find it. Therefore I'm trying to make one myself. It seems that the replace font part works fine, but the if statement where it tests if we have the culprit font is not seeing anything. leaving out the if and simply have a
node[y].style.fontFamily = "\'Courier New\'";
makes every font on every page render in Courier New, not very useful, but proves that I have something working at least.
If the solution involves some serious hacking I better continue over at stackoverflow but lets start here, I'd prefer not to roll my own in the first place.
Ah yes, I'm in a linux environment if that matters...
I'm trying to get the answer over here to work, and later on to add some GUI to maintain some input and output lists: Replace only a specified font in Chrome
Since it doesn't really work here I first of all ask:
Is there already a chrome plugin out where which will allow me to point at a letter on a web page and then say replace this crappy looking font now and forever with this sans-serif?
I have searched but did not find it. Therefore I'm trying to make one myself. It seems that the replace font part works fine, but the if statement where it tests if we have the culprit font is not seeing anything. leaving out the if and simply have a
node[y].style.fontFamily = "\'Courier New\'";
makes every font on every page render in Courier New, not very useful, but proves that I have something working at least.
If the solution involves some serious hacking I better continue over at stackoverflow but lets start here, I'd prefer not to roll my own in the first place.
Ah yes, I'm in a linux environment if that matters...
No comments:
Post a Comment