3 ms·
What would happen if browsers simply didn't allow cross domain referencing? Would the web break (and would it be worse than NoScript)?
by amelius 7y ago
What would happen if browsers simply didn't allow cross domain referencing? Would the web break (and would it be worse than NoScript)?
- laughinghan 7y agoI've thought about this before, since NoScript is too disruptive for me. One issue is that it's common for scripts to served from assets.whateverwebsite.com. I also thought of allowing anything from the same second-level domain (so anything on .whateverwebsite.com), but that would allow anything on .co.uk. ¯\_(ツ)_/¯ in Chrome I trust, for now.
- naniwaduni 7y agoSounds like a job for the public suffix list.
- laughinghan 7y agoOoh, cool, hadn't heard of that before! TIL. But even with the added complexity of regularly pulling in the public suffix list, the problems keep going: e.g., facebook.com's scripts are all served from static.xx.fbcdn.net.