cowboy / jquery-postmessage

jQuery postMessage: Cross-domain scripting goodness
http://benalman.com/projects/jquery-postmessage-plugin/
GNU General Public License v2.0
356 stars 133 forks source link

remove sniff for Opera #2

Open miketaylr opened 13 years ago

miketaylr commented 13 years ago

https://github.com/cowboy/jquery-postmessage/blob/master/jquery.ba-postmessage.js#L67

You probably couldn't get it to work because postMessage() used to be on document. Opera's implementation predated the specification of window.postMessage().

Would be nice to fix this, because it's unusable in Opera today--history is clobbered.

miketaylr commented 13 years ago

Oh, just checked and 9.64 has postMessage on window. I can peek more next week or so.