Last active
December 4, 2025 02:17
-
-
Save Arefu/6909222831da30926448077594f56c0a to your computer and use it in GitHub Desktop.
Make NZ Herald premium articles free to view
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Free NZHerald | |
| // @include *nzherald.co.nz* | |
| // @version 1 | |
| // @description Freedom of information is more important than any amount of money | |
| // @author Arefu (Johnathon) | |
| // @grant none | |
| // ==/UserScript== | |
| //I've tested this on FireFox with Tampermonkey. I hate Herald and everything they stand for, they steal articles and don't give credit, they have biased journalism and just generally crappy reporters. | |
| //This is for all the articles they stole from Reddit and Facebook without due credit and copy pasting any clickbait websites like BuzzFeed. | |
| //News has to be free to help democracy be free, step your game up Herald.... Step it up. | |
| var Free = document.getElementsByClassName("premium-content"); | |
| Free[0].className = ""; |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This method is out of date.
I likely won't make a new update for this to support the latest changes, however, you are still served premium content via their server.
I think the Class names will be random, but for me during testing they appear to be fine, though I am sure you'll be able to work this out using JS. I for one, won't be.
ehSvJlTQHTuOTYQis a CSS Selector that I have seen, though they are likely rotated often given it is not a sensible string.They also force
display: none;on every paragraph from the article.There is also finally
article-paywall-hidewhich every sub-element has the same CSS Selector, and the same Style forced on it.If there is want for this, I can look at making a new extension for people. I am still very much Anti-NZHerald.