Auto click redirector

Skip menantisenja, pafpaf, gametime

  1. // ==UserScript==
  2. // @name Auto click redirector
  3. // @namespace https://greasyfork.org/en/users/158832
  4. // @version 1.2
  5. // @description Skip menantisenja, pafpaf, gametime
  6. // @author Riztard
  7. // @match *menantisenja.com*
  8. // @include *menantisenja.com*
  9. // @match *pafpaf.info*
  10. // @include *pafpaf.info*
  11. // @match *gametime.web.id*
  12. // @include *gametime.web.id*
  13. // @grant none
  14. // @icon https://www.shareicon.net/download/2015/08/23/89640_forward.ico
  15. // ==/UserScript==
  16.  
  17. if (window.top != window.self) //-- Don't run on frames or iframes
  18. return;
  19.  
  20. (function() {
  21. 'use strict';
  22.  
  23. if (window.location.href.indexOf("menantisenja.com/?") != -1) {
  24.  
  25. $('.sorasubmitss')[0].click();
  26.  
  27. }
  28.  
  29. else if (window.location.href.indexOf("menantisenja.com/2") != -1) {
  30.  
  31. location.href = "javascript:void(changeLink());";
  32.  
  33. }
  34.  
  35. else if (window.location.href.indexOf("pafpaf") != -1) {
  36.  
  37. window.location.href = $('#myy-buttons').attr('href');
  38.  
  39. }
  40.  
  41. else if (window.location.href.indexOf("gametime") != -1) {
  42.  
  43. $('#klik')[0].click();
  44. window.location.href = $('#generate a').attr('href');
  45.  
  46. }
  47.  
  48.  
  49.  
  50.  
  51.  
  52. })();