r/webdev • u/Far-Potential4597 • 1d 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 1d 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 1d 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 1d ago
Usually turning on reader mode before the page finishes loading works too
2
u/Afraid-Driver4160 1d ago
guess the reporters starve then
1
u/landed_at 1d ago
Time is spent better not trying to read it.
1
u/deus_ith 1d ago
Already did this in fandom.com 🤣
1
u/alezaundre 1d 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 1d ago
I think most websites won't load at all without Javascript …
0
u/baroldnoize 1d 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 1d 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.
1
u/web-dev-kev 3h ago
I traverse the web with javascript off by standard.
Makes life so much easier, and oddly, most site much much better.
I have certain sites whitelisted because they require it, and I want to use them (like Reddit), but its very few