News for hackers. Stuff that matters.
Re:Ask HN: Should I ignore a cease and desist letter from ou... by semanticist on Wednesday September 08, 2010 @06:22AM (#1671471)
The browser enforces it, not the website. You can't use in-browser JavaScript to load a page from a site other than the one you downloaded the JavaScript from.

Otherwise any site you visited could load gmail in the background and read all your email.

It's inconvenient when you're making client-side applications, but for the web to have any kind of security it's absolutely essential.

Re:Ask HN: Should I ignore a cease and desist letter from ou... by lelele on Wednesday September 08, 2010 @08:15AM (#1671604)
Thank you for your explanation. I've tried it.

I'm a system programmer, not a web developer, and it shows ;-)