4 ms·
> > web pages can load cross origin resources > I know nothing about web technologies, but maybe this is something we should stop doing, at least for any execut
by om2 9y ago
> > web pages can load cross origin resources
> I know nothing about web technologies, but maybe this is something we should stop doing, at least for any executable resource? This would prevent JS ads I guess, so win/win?
It's arguably a flaw in the design of the web that loading cross-origin resources is allowed by default. Unfortunately, there isn't a great path to changing this. We may be able to allow websites to opt out of having their resources loaded cross-origin, maybe (similar to X-Frame-Options but for resource types other than frames).