Auto click redirector

Skip menantisenja, pafpaf, gametime

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Auto click redirector
// @namespace    https://greasyfork.org/en/users/158832
// @version      1.2
// @description  Skip menantisenja, pafpaf, gametime
// @author       Riztard
// @match        *menantisenja.com*
// @include      *menantisenja.com*
// @match        *pafpaf.info*
// @include      *pafpaf.info*
// @match        *gametime.web.id*
// @include      *gametime.web.id*
// @grant        none
// @icon         https://www.shareicon.net/download/2015/08/23/89640_forward.ico
// ==/UserScript==

if (window.top != window.self) //-- Don't run on frames or iframes
return;

(function() {
    'use strict';

	if (window.location.href.indexOf("menantisenja.com/?") != -1) {

		$('.sorasubmitss')[0].click();

    }

	else if (window.location.href.indexOf("menantisenja.com/2") != -1) {

		location.href = "javascript:void(changeLink());";

    }

	else if (window.location.href.indexOf("pafpaf") != -1) {

		window.location.href = $('#myy-buttons').attr('href');

    }

	else if (window.location.href.indexOf("gametime") != -1) {

		$('#klik')[0].click();
		window.location.href = $('#generate a').attr('href');

    }





})();