Reply to post: Re: Why do browsers allows JS from other domains to run

Ticketmaster breach 'part of massive bank card slurping campaign'

Doctor Syntax Silver badge

Re: Why do browsers allows JS from other domains to run

"I've never understood i) why a site would trust other sites to host code for them"

Because they're cheap and lazy and don't care.

"and ii) why browsers allow one site to run scripts from another."

Because if they did they'd get a reputation for breaking all the sites that were cheap, lazy and didn't care and everybody and their Facebook friends would dump them in favour of browsers who didn't care either.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019