EyesOfTLS

AutoEyesAndAlertToPickTLSrdv

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         EyesOfTLS
// @namespace    http://tampermonkey.net/
// @version      3.6
// @description  AutoEyesAndAlertToPickTLSrdv
// @author       MegaBouSs
// @match      https://visa-fr.tlscontact.com/dz/ORN/myapp.php*
// @match      https://visa-fr.tlscontact.com/dz/ORN/index.php*
// @match        https://visa-fr.tlscontact.com/dz/ORN/login.php*
// @require      http://code.jquery.com/jquery-3.4.1.min.js
// @grant        God
// ==/UserScript==



/*IndexToLogin*/
 if (
  (window.location.href).indexOf("index") > -1
) {window.location.href="https://visa-fr.tlscontact.com/dz/ORN/login.php" || document.querySelector("#navbarCollapse > ul > li:nth-child(5) > a").click();}else
      if (
  (window.location.href).indexOf("login") > -1
) {
/*Please anser your password*/
  var standartPassword="Iphone643g$";
  document.getElementById("pwd").value = standartPassword ;
/*Please insert your pathfinder emails*/
  var email_1="[email protected]",
      email_2="[email protected]",
      email_3="[email protected]",
      email_4="[email protected]",
      email_5="[email protected]",
      email_6="[email protected]",
      email_7="[email protected]",
      email_8="[email protected]",
      email_9="[email protected]",
      email_10="[email protected]",
      email_11="[email protected]",
      email_12="[email protected]",
      email_13="[email protected]",
      email_14="[email protected]",
      email_15="[email protected]",
      email_16="[email protected]",
      email_17="[email protected]",
      email_18="[email protected]",
      email_19="[email protected]",
      email_20="[email protected]",
      email_21="[email protected]",
      email_22="[email protected]",
      email_23="[email protected]",
      email_24="[email protected]",
      email_25="[email protected]",
      email_26="[email protected]",
      email_27="[email protected]",
      email_28="[email protected]",
      email_29="[email protected]",
      email_30="[email protected]",
      email_31="[email protected]",
      email_32="[email protected]",
      email_33="[email protected]",
      email_34="[email protected]",
      email_35="[email protected]";
/*check time*/

 // hour, minute, second, millisecond
var tmp = new Date().getTime();
var TimeBegin = new Date().setHours(0,0,0,0);
var GetEmail= document.getElementById("email");
  /*Choose email*/
   if ((tmp-TimeBegin)/1800000 <= 1){GetEmail.value=(email_1);} else
   if ((tmp-TimeBegin)/1800000 <= 2){GetEmail.value=(email_2);} else
   if ((tmp-TimeBegin)/1800000 <= 3){GetEmail.value=(email_3);} else
   if ((tmp-TimeBegin)/1800000 <= 4){GetEmail.value=(email_4);} else
   if ((tmp-TimeBegin)/1800000 <= 5){GetEmail.value=(email_5);} else
   if ((tmp-TimeBegin)/1800000 <= 6){GetEmail.value=(email_6);} else
   if ((tmp-TimeBegin)/1800000 <= 7){GetEmail.value=(email_7);} else
   if ((tmp-TimeBegin)/1800000 <= 8){GetEmail.value=(email_8);} else
   if ((tmp-TimeBegin)/1800000 <= 9){GetEmail.value=(email_9);} else
   if ((tmp-TimeBegin)/1800000 <= 10){GetEmail.value=(email_10);} else
   if ((tmp-TimeBegin)/1800000 <= 11){GetEmail.value=(email_11);} else
   if ((tmp-TimeBegin)/1800000 <= 12){GetEmail.value=(email_12);} else
   if ((tmp-TimeBegin)/1800000 <= 13){GetEmail.value=(email_13);} else
   if ((tmp-TimeBegin)/1800000 <= 14){GetEmail.value=(email_14);} else
   if ((tmp-TimeBegin)/1800000 <= 15){GetEmail.value=(email_15);} else
   if ((tmp-TimeBegin)/1800000 <= 16){GetEmail.value=(email_16);} else
   if ((tmp-TimeBegin)/1800000 <= 17){GetEmail.value=(email_17);} else
   if ((tmp-TimeBegin)/1800000 <= 18){GetEmail.value=(email_18);} else
   if ((tmp-TimeBegin)/1800000 <= 19){GetEmail.value=(email_19);} else
   if ((tmp-TimeBegin)/1800000 <= 20){GetEmail.value=(email_20);}else
   if ((tmp-TimeBegin)/1800000 <= 21){GetEmail.value=(email_21);} else
   if ((tmp-TimeBegin)/1800000 <= 22){GetEmail.value=(email_22);} else
   if ((tmp-TimeBegin)/1800000 <= 23){GetEmail.value=(email_23);} else
   if ((tmp-TimeBegin)/1800000 <= 24){GetEmail.value=(email_24);} else
   if ((tmp-TimeBegin)/1800000 <= 25){GetEmail.value=(email_25);} else
   if ((tmp-TimeBegin)/1800000 <= 26){GetEmail.value=(email_26);}else
   if ((tmp-TimeBegin)/1800000 <= 27){GetEmail.value=(email_27);} else
   if ((tmp-TimeBegin)/1800000 <= 28){GetEmail.value=(email_28);} else
   if ((tmp-TimeBegin)/1800000 <= 29){GetEmail.value=(email_29);} else
   if ((tmp-TimeBegin)/1800000 <= 30){GetEmail.value=(email_30);} else
   if ((tmp-TimeBegin)/1800000 <= 31){GetEmail.value=(email_31);} else
   if ((tmp-TimeBegin)/1800000 <= 32){GetEmail.value=(email_32);}

   /*Conect*/
setTimeout(function(){ if (
  (
   document.location.href
  ).indexOf("login") > -1
) { document.querySelector("#btn > input").click();}}, 1000);

  } else
      if (
  (window.location.href).indexOf("myapp") > -1
) {
/*TimeRefresh*/
var refreshTime=31;

/*GunShootIfOpenAndopenfb*/
var gun=setInterval(function(){
    if (0!=document.getElementsByClassName("dispo").length) { new Audio('https://www.soundjay.com/mechanical/sounds/machine-gun-02.mp3').play();window.open("https://www.messenger.com/groupcall/ROOM:2348241225282175/?call_id=2774503067&users_to_ring%5B0%5D=1093504183&users_to_ring%5B1%5D=1435063033&users_to_ring%5B2%5D=100000090022803&users_to_ring%5B3%5D=100001466821244&users_to_ring%5B4%5D=100002566820279&users_to_ring%5B5%5D=100012037933732&users_to_ring%5B6%5D=100072554192097&has_video=false&initialize_video=false&nonce=admk7k0dmydj&thread_type=2",'_blank');clearInterval(gun);}
},
1000);

/*Refresh*/
setTimeout(function(){
    if (0 ==document.getElementsByClassName("dispo").length) {location.reload();

    }
},
refreshTime*1000);

  }