how can Javascript access location/selected text across frames when domain differs? -


I have a frameset page, where I would prefer javascript in one frame so that the location of the selected text and document is available In the second frame, I can do this by using the getSelection () function and the document.location parameter, but only if another frame is provided by my local server. The Javascript code returns the null strings if the other I come from some other server, for example Amazon dot com. What is the reason for this, and how can I get it?

It is part of security model built in the browser there is no way around it as far as I know is.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -