4 ms·
I think any JS can listen for the navigate-away event or changes to the URL without doing anything special - then just grab ‘window.href/window.location’ or so
by tkxxx7 8y ago
I think any JS can listen for the navigate-away event or changes to the URL without doing anything special - then just grab ‘window.href/window.location’ or something like that
- logicallee 8y agoWow, that would be super surprising. I wouldn't think I'm giving Facebook my next destination when I type it manually into the URL bar! Can someone confirm?
- logicallee 8y agoUpdate: this (what tkxxx7 suggests) is not what's happening. It's just a redirect.
- marksomnian 8y agoI doubt that's how that works. What I suspect happened is that fullwsj.com instantly redirected to Facebook, which put up its interstitial page.
- logicallee 8y ago> What I suspect happened is that fullwsj.com instantly redirected to Facebook, which put up its interstitial page. I wanted to reply "can someone check this" but I was like, come on how lazy can I be so I checked. -> Yes, it redirects in the way you suggest. Proof: https://imgur.com/a/puTv5Ar https://imgur.com/a/puTv5Ar (Method: I just installed a redirect checker Chrome extension, the top one, called Redirect Check, lets me check a plain URL also which is what I had it check.)