Opera forbids accessing top.document properties such as "title" or event "onhashchanged" from IFRAME and throws error "Uncaught exception: ReferenceError: Security error: attempted to read protected variable: onhashchange." Since _window method only checks for top.document property I suggest to add top.document.title check either - exception will be thrown and code will return reference to window instead of top.
Workaround for Opera error: "Uncaught exception: ReferenceError: Secu…
error: attempted to read protected variable: onhashchange" occurred in
Works! Thank you!
Works perfectly. Thank you so much!