Aug 04

There are a few ways to get around the browser limitations if we want to run javascript thats on an iframe on our site. One method is toadd a iframe the 2nd site referencing the 1st side. So you end up with two iframes.

Another way is by setting up a proxy forward using a rewrite rule. This way you can access a page on your side, say http://cultivatewebdesign.com.au/google.html and actaully access google.com. Heres how,

RewriteRule   ^/google.html                                      http://google.com     [P]

One Response to “Cross site scripting hack”

  1. Resize iframe to fit content (all code in parent window) | Cultivate Web Design Melbourne - Development Blog Says:

    [...] Development blog Cross site scripting hack Aug [...]

Leave a Reply