i have two frames. the bottom, which is my domain. the top which is an external domain.

i'm trying to make a bookmark script, which bookmarks anypage in the top frame. But i can't retrieve the top frames url becuase of the same origin policy.

the top frame is called link.php and the id is link_frame.


i've tried document.getElementbyId("link_frame").location.href but because it's an external domain it doesn't work.

Whats the correct code to get this to work? i've read proxy is a workaround but i don't know how to use it...

For general internet deployment, you may have run into a dead end. I don't know of a general solution (thankfully) to overcome security constraints in all browsers.

However for personal or intranet use, you can try developing an HTML Application (HTA) for use with Internet Explorer. This will overcome some but not all constraints in IE.

Airshow

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.