Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Tvarkarastis
- // @namespace http://tampermonkey.net/
- // @version 1
- // @description try to take over the world!
- // @author Meskius
- // @match http://is.kvk.lt/Tvarkarasciai_tf/groups.php
- // @grant none
- // @run-at document-start
- // ==/UserScript==
- var req = new XMLHttpRequest();
- req.open('GET', document.location, false);
- req.send(null);
- (function test() {
- var s =document.querySelector('.tdColor .inputButton');
- setTimeout(function() {$('#program').val("1").change();}, 100);
- setTimeout(function() {$('#year').val("2").change();}, 300);
- setTimeout(function() {$('#branch').val("2").change();}, 500);
- setTimeout(function() {$('#group').val("35").change();}, 700);
- setTimeout(function() {s.click();}, 1000);
- // }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement