daily pastebin goal
46%
SHARE
TWEET

nomagofix

a guest Mar 23rd, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Nomago Voznired Fix
  3. // @namespace    nonamespace
  4. // @version      1
  5. // @description  It fixes nomgo
  6. // @author       You
  7. // @match        https://voznired.noleggio-bus.it/VozniRed.aspx
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. let table = document.getElementsByTagName('table')[0];
  12. let tbody = document.getElementsByTagName("tbody")[0];
  13. let td1 = document.getElementsByTagName("td")[2];
  14. let td2 = document.getElementsByTagName("td")[3];
  15. let td3 = document.getElementsByTagName("td")[6];
  16. let td4 = document.getElementsByTagName("td")[7];
  17. let trBefore = document.getElementsByTagName("tr")[1];
  18. let tra = document.createElement('tr');
  19. let trb = document.createElement('tr');
  20. tra.appendChild(td1);
  21. tra.appendChild(td2);
  22. trb.appendChild(td3);
  23. trb.appendChild(td4);
  24. tbody.insertBefore(tra,trBefore);
  25. tbody.appendChild(trb);
  26. table.style.width = "250px";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top