Hacker News new | ask | show | jobs
by dclowd9901 1277 days ago
Specifically, in Javascript you can superficially push a navigated state into the location stack so that when the user presses the back button, it is now the inserted page instead of the “actual” one. Most FE devs consider this a dark pattern and refuse to implement it.

That said, it’s basically just the front end’s version of a redirect. Unfortunately it’s been used a lot especially by malware sites to basically jail people into their site.

1 comments

> Most FE devs consider this a dark pattern and refuse to implement it.

How common is it for FE devs to refuse to implement features that their employers tell them to implement?

I tried to when I worked at The Huffington Post a long time ago and was ridiculed. Some people don't care so they can point to increased metrics, ethics be damned.