SubtleLocationProxy.js is a project mainly written in JavaScript, it's free.
SubtleLocationProxy will proxy the location of one frame to the hash of another and vice-versa. It's handy for sites that simply wrap a fancy UI around simple HTML pages.
Proxy the location of one frame to the hash of another and vice-versa.
It's handy for sites that simply wrap a fancy UI around simple HTML pages.
SubtleLocationProxy.js
script[src] in your page (on the bottom, like normal).data-history=proxy
attribute to an IFRAME
element.Note: If your browser doesn't support document.querySelector
then you'll need to have either window.$$
(e.g. MooTools) or window.$
(e.g. jQuery) to get the single [data-history~=proxy]
CSS selector working. Alternatively you can set window.SubtleLocationProxy_element
to your element-to-proxy before loading SubtleLocationProxy.
SubtleLocationProxy.js
script[src] in your page (on the bottom, like normal).data-history=proxy
attribute to an IFRAME
element.SubtleLocationProxy.setProxy(myProxyElement)
NOTE: No need to wait for the DOM to be ready.
A Proxy Element can be any object that has a contentWindow property that resolves to a window object. i.e. IFRAME or maybe a FRAME and maybe when opening a new window or something weird and custom. You could probly even use an IFRAME from some other window.
Tested in...
It'll probly work in tons of other browsers too, it's not doing anything magical.