4 ms·
"If you really don't want to see WSJ articles, install/make a browser extension that does it for you." I stared something like this a few months ago and forgot
by jasonkostempski 10y ago
"If you really don't want to see WSJ articles, install/make a browser extension that does it for you."
I stared something like this a few months ago and forgot about it. The general idea was to apply custom styling to regex matched page content. I got as far as hard coding everything I wanted in to JS file so there's no UI for it. Currently, it applies a black bar to links matching the patterns in the list but it could just as easily style it however you like. If anyone is interested, here's the JavaScript [0] and a basic manifest [1] to load it as a FF web extension (about:debugging -> Load Temporary Add-on). Edit: What it looks like with a match on HN [2]
[0] http://pastebin.com/raw/tPJXJcM5 http://pastebin.com/raw/tPJXJcM5
[1] http://pastebin.com/raw/zi6UV9ZL http://pastebin.com/raw/zi6UV9ZL
[2] http://i.imgur.com/HQVopbQ.png http://i.imgur.com/HQVopbQ.png