Advertisement
Meskiusa

Untitled

Sep 6th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Tvarkarastis
  3. // @namespace http://tampermonkey.net/
  4. // @version 1
  5. // @description try to take over the world!
  6. // @author Meskius
  7. // @match http://is.kvk.lt/Tvarkarasciai_tf/groups.php
  8. // @grant none
  9. // @run-at document-start
  10. // ==/UserScript==
  11.  
  12. var req = new XMLHttpRequest();
  13. req.open('GET', document.location, false);
  14. req.send(null);
  15.  
  16.  
  17.  
  18. (function test() {
  19.  
  20. var s =document.querySelector('.tdColor .inputButton');
  21. setTimeout(function() {$('#program').val("1").change();}, 100);
  22. setTimeout(function() {$('#year').val("2").change();}, 300);
  23. setTimeout(function() {$('#branch').val("2").change();}, 500);
  24. setTimeout(function() {$('#group').val("35").change();}, 700);
  25. setTimeout(function() {s.click();}, 1000);
  26.  
  27. // }
  28.  
  29. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement