Results 1 to 2 of 2
Oct 24, 2010, 01:38 #1
getSelection() in iFrame different domain
Okay. Is there any any ANY workaround for getting highlighted text in an iframe that is displaying a different server's site (like google for example) and storing it in a variable?
I know about the Same Origin Policy, but come on. This is just highlighting text. Why can't we highlight text in an iframe?! It's the same as copy and paste, just quicker. I don't get it.
Oct 24, 2010, 18:41 #2
Any work around at all.. I mean come on all I want to do is be able to read the highlighted string. The user must CONSENT to it and they'll know what they're agreeing to. Not like I'm trying to steal bank account information.