您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
- // ==UserScript==
- // @name SSMMS Timer Stopper
- // @namespace https://app.captchas.io/ssmms/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @include http://onlinebooking.sand.telangana.gov.in/*
- // @include https://onlinebooking.sand.telangana.gov.in/*
- // @grant GM_getValue
- // @grant GM_setValue
- // ==/UserScript==
- (function() {
- 'use strict';
- if(window.location.href.indexOf("Order/CustomerHome.aspx") !=-1) {
- console.log("Inside the order page");
- var alreadyOpened = JSON.parse(GM_getValue ("alreadyOpened", null) );
- console.log('already opened: '+ alreadyOpened);
- if(!alreadyOpened) {
- console.log("Not already opened!");
- GM_setValue ("alreadyOpened", JSON.stringify (true) );
- // javascript:__doPostBack('ctl00$CustomerOrders','');
- document.querySelector(".menuH").querySelectorAll("li")[0].querySelector("a").click();
- }
- } else {
- GM_setValue ("alreadyOpened", JSON.stringify (false) );
- console.log("Inside the login page page");
- console.log(JSON.parse(GM_getValue ("alreadyOpened", null) ));
- }
- })();