r/webdev • u/Far-Potential4597 • 14h ago
Disabled JavaScript = disabled pay wall
I can't be the only person who checks if simply disabling JavaScript on a news website removes the pay wall?
Some websites are smarter, they don't load the whole article in the .html, but lots do. Bonus, on major UK news website this also removes ads - so zero revenue streams for my visit.
If this is the main way your business makes its money then it's not great. If you're building anything like this and you have this loop hole, please fix it, it makes all use software people look like amateurs, smh
0
Upvotes
13
u/theirongiant74 13h ago
If you pop open developer tools you can usually delete the div that hides the article, might have to remove overflow:none from the html and body tags too.
9
u/Terrible_Children 14h ago
If you have this loophole on your site, please do NOT fix it.
Why the fuck would you encourage more shitty paywalls and ads?
3
u/wackOverflow 12h ago
Usually turning on reader mode before the page finishes loading works too
2
u/Afraid-Driver4160 13h ago
guess the reporters starve then
1
u/landed_at 13h ago
Time is spent better not trying to read it.
1
u/deus_ith 13h ago
Already did this in fandom.com 🤣
1
u/alezaundre 13h ago
I absolutely hate when I try to read an article, disable javascript, and it doesn't work. Please don't fix it.
1
u/GeorgeJohnson2579 13h ago
I think most websites won't load at all without Javascript …
0
u/baroldnoize 13h ago
If you're against paying for the article and against adverts how do you propose journalists earn money to pay for food and shelter?
2
u/uncle_jaysus 14h ago
I routinely browse websites with JavaScript turned off.
Some sites of course don’t work at all, but those that do are almost always better with it turned off.
And yes, naive paywalls are easily defeated.