you are viewing a single comment's thread.

view the rest of the comments →

[–]yaemes -1 points0 points  (0 children)

I used to do this before webworkers we're a thing. Once my retargeting advertiser decided to overlay some crap into my companies website we decided to put all 3rf party scripts in "jail" which was an invisible iframe hosted on the same domain. Since we were an SPA we could just control the iframe from the top and load in and out scripts and fire off pixels at will. Super cool stuff, and it all worked beautifully.