DasNiko

Blokada PPM

Mar 23rd, 2020
300
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. am = "Tekst wyświetlający się przy próbie kliknięcia PPM";
  3.  
  4. bV  = parseInt(navigator.appVersion)
  5. bNS = navigator.appName=="Netscape"
  6. bIE = navigator.appName=="Microsoft Internet Explorer"
  7.  
  8. function nrc(e) {
  9.    if (bNS && e.which > 1){
  10.      alert(am)
  11.      return false
  12.   } else if (bIE && (event.button >1)) {
  13.     alert(am)
  14.     return false;
  15.    }
  16. }
  17.  
  18. document.onmousedown = nrc;
  19. if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  20. if (bNS && bV<5) window.onmousedown = nrc;
  21.  
  22. </script>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×