r/webdev • • 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

22 comments sorted by

View all comments

13

u/theirongiant74 14h 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. 

1

u/Far-Potential4597 1h ago

Another great tip for the developers of these sites, don't rely on CSS to hide the content, thanks