Hacker News new | ask | show | jobs
by ethbro 2913 days ago
Small note, it's usually rendered as "fruit" of the poisonous tree.

https://en.m.wikipedia.org/wiki/Fruit_of_the_poisonous_tree

1 comments

FYI I made a small chrome extension to auto-redirect links like this: https://chrome.google.com/webstore/detail/demobile/poikbhnlb...
I looked at the source, and to be frank, it's awful:

  var newUrl = details.url.replace('.m.', '.').replace('/m.', '/').replace('/mobile.', '/');
This could easily break legitimate URLs.
I absolutely agree, I'm not a JS developer. One day I'll fix it...