Paid Advertising is
ha.ckers sla.cking
Whether this is about, or some other project you are interested in or want to talk about, throw it in here to get feedback. 
Go to Topic: PreviousNext
Go to: Forum ListMessage ListNew TopicSearchLog In
Cross domain script injection
Posted by: Fetch
Date: May 27, 2011 09:01PM


Recently I came across a site that seems to have found a way to cause modal popups to get generated on domains (other than their own) by having the other domains include this single script tag:

<script src="
type="text/javascript" defer="defer" >

It's just a crappy survey popup. But, I've been trying to figure out how this is done and am stumped. The closest I could get to something similar was JSONP - but that is clearly not what they are doing.

Does anyone know how this is done?

Options: ReplyQuote
Re: Cross domain script injection
Posted by: Skyphire
Date: June 04, 2011 01:54AM

Can you post the sites? kinda hard to tell from this alone.

Options: ReplyQuote

Sorry, only registered users may post in this forum.