Advertisement
Mr_Mig

_opera-xdr-engine.js

Oct 18th, 2011
475
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Register event listener for XDR
  3.  *
  4.  */
  5. window.opera.addEventListener('BeforeScript', function(e) {
  6.             if (!e.element._callback) {
  7.                 return true;
  8.             }
  9.  
  10.             e.element._callback.call(window, e.element.text);
  11.             e.preventDefault();
  12.             e.stopPropagation();
  13.         }, true);
  14.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement