Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name ID - Player New
- // @namespace http://tampermonkey.net/
- // @version 3.0v
- // @description This is Bot for change the last path in url(line) after (=) ^_^ I hope you enjoy,, By: SalimFadhil
- // @author Abu.Rajih
- // @match https://ae.twstats.com/*
- // @match ae.twstats.com/*
- // @grant none
- // ==/UserScript==
- /*
- _______________________________________________________________________________
- WriterBotIs : Abu.Rajih
- DateWroteScript: 06-08-2018
- VersionScriptIs: 3.0v
- URL: https://forum.tribalwars.ae/index.php?members/abu-rajih.40926/
- _______________________________________________________________________________
- */
- (function(){
- /* this code for get the URL */
- var url = window.location.href;
- /* this code for get the ID from last URL */
- var oldID = url.substring(url.lastIndexOf('=')+1);
- /* this code for create time for going to new URL */
- setInterval(function(){
- /* this code for get ID from last link and it will add one for getting new ID */
- var NewID = parseInt(oldID) + parseInt(1);
- /* this code for create new URL = oldID + 1 = NewID */
- location.href = 'ae.twstats.com/ae41/index.php?page=player&id=' + NewID;
- /* this code after 10 seconds will */
- },10000);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement