Facebook
From Ivory Mosquito, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 113
  1. // ==UserScript==
  2. // @name         ar na stan nieaktywnosci
  3. // @author       Hasimi
  4. // @match        https://*.margonem.pl
  5. // ==/UserScript==
  6.  
  7. function dice(vx,vy)
  8. {
  9.     return Math.floor(Math.random()*(vy-vx+1)+vx);
  10. }
  11. setInterval(function(){
  12.     if($("#stasis-overlay").css("display") == "block")
  13.     {
  14.         message("STAN NIEAKTYWNOSCI");
  15.         var x = dice(1,4);
  16.         switch(x)
  17.         {
  18.             case 1: for(var a=0; a<2; a++){ jQuery.event.trigger({ type : 'keypress', which : 87 }); }; break;
  19.             case 2: for(var b=0; b<2; b++){ jQuery.event.trigger({ type : 'keypress', which : 83 }); }; break;
  20.             case 3: for(var c=0; c<2; c++){ jQuery.event.trigger({ type : 'keypress', which : 65 }); }; break;
  21.             case 4: for(var d=0; d<2; d++){ jQuery.event.trigger({ type : 'keypress', which : 68 }); }; break;
  22.         }
  23.     }
  24. },dice(1000,2000));
  25. setInterval(function(){
  26.     message("ODŚWIEŻAM");
  27.     window.location.reload();
  28. },dice(1200000,1800000));// ==UserScript==
  29. // @name         New Userscript
  30. // @namespace    http://tampermonkey.net/
  31. // @version      0.1
  32. // @description  try to take over the world!
  33. // @author       You
  34. // @match        https://berufs.margonem.pl/
  35. // @icon         https://www.google.com/s2/favicons?sz=64&domain=margonem.pl
  36. // @grant        none
  37. // ==/UserScript==
  38.  
  39. (function() {
  40.     'use strict';
  41.  
  42.     // Your code here...
  43. })();