That sounds interesting. Have you published it or made source available? I'd love to try.
That sounds interesting. Have you published it or made source available? I'd love to try.
It's a pain to configure but the example JSON in the "Preferences" section of the add-on should be enough to get started. Just paste it into the textarea, save, then visit HN or Reddit, you'll probably see a few blank lines where links should be.
Right now, the top post on HN is a WSJ link. I don't want to see their links because I don't ever want to click them just to hit a paywall I already know I'll never accept. So my HN page looks like this [3].
The tool uses regular expressions on text and element attribute values. Anything that matches gets a given CSS style applied. I think it would be great if uBlock Origin could do this but it doesn't allow the level of granularity needed to accomplish the end result.
[1] https://addons.mozilla.org/en-US/firefox/addon/ssure/