javascript - cross-domain drag and drop from an iframe -


i getting "securityerror: operation insecure" in firefox when dragging link iframe.

my situation similar this: http://jsfiddle.net/ee7x1h4u/

the error occurs on line in ondrop() event when try drag , drop title of youtube video inside iframe:

urldata = event.datatransfer.getdata('text/plain'); 

is possible make work in own server (meteorjs backend)? thanks!

the issue not server rather client side javascript security. security built modern web browsers designed protect users websites suffering cross site scripting attacks. there no way override safely, work around use proxy script under main domain both pages under t b e samedomain within same security restriction space.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -