您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Disables logout timer in iCard
// ==UserScript== // @name iCard Timer Remover // @namespace https://gitlab.com/user890104 // @version 1.1 // @author Vencislav Atanasov // @description Disables logout timer in iCard // @match https://icard.com/account/* // @match https://icard.com/client/*/accountv2* // @connect self // @grant GM_xmlhttpRequest // ==/UserScript== (function() { 'use strict'; var url; if (location.href.indexOf('https://icard.com/account/') === 0) { // personal url = '/account/bg/presettings-payment'; } else { if (location.href.indexOf('https://icard.com/client/') === 0) { // business url = '/client/bg/accountv2/get-last-transactions'; } else { console.warn('Unable to determine which iCard portal you\'re using. Please check for script updates or send a report to the developer.'); return; } } setInterval(function() { GM_xmlhttpRequest({ method: 'GET', url: url }); }, 30 * 1000); })();