WebBot to View 2 Sites Statically inputted

will be a bot and get you hits

2018-03-24 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

// ==UserScript==
// @name         WebBot to View 2 Sites Statically inputted
// @namespace    http://tampermonkey.net/
// @version      4.1
// @description  will be a bot and get you hits
// @author       Erik Toor
// @include      *
// @grant        none

// ==/UserScript==

if (window.location.href === "https://www.webassigngenius.com/") { 
    var run = parseInt(prompt("would you like to run site viewer 4.1? \n1 = yes\n2 = no")); // start that script 
  
        if (run === 1 ) { 
            if (window.location.href === "https://www.webassigngenius.com/") { // set storage for site 
                    console.log('we are on one of the sites that was inputted to the script');
                    setTimeout(window.open("https://tindergeniuspro.com/"), 5000); 
                    setTimeout(window.close(), 5000); 
            }
            

            if (window.location.href === "https://tindergeniuspro.com/") { // code that will run for the first site 
                    console.log('we are on one of the sites that was inputted to the script');
                    setTimeout(window.open("https://www.webassigngenius.com/"), 5000); 
                    setTimeout(window.close(), 5000); 
    

        } }}