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

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.

2

u/shaliozero 13h ago

As a dev who tries to depend as little on JS a possible I was ashamed of myself when a report came in that the page stayed white when JS was disabled. Was a one-line fix because of a typo and the whole purpose is working around layout limitations of an ancient page builder, but still.

1

u/crazy-old_maurice 12h ago

Not sure why this got downvoted; have a +1 back from me.

The modern web, IMO, has evolved from being something that serves the end user and enhances their experience, to being something that mostly serves the big platforms, and facilitates their tracking of their users.

Ordinary (read: non-developer) users, without knowledge of web technologies or e.g. DevTools, would be stunned to know how many scripts are running in the background of the average web page they visit.