您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hindra swedbank eller sparbankerna från att logga ut en efter en stund
当前为
// ==UserScript== // @name Prevent Swedbank from automatically logging out after 5 minutes of inactivity // @namespace http://tampermonkey.net/ // @version 2 // @description Hindra swedbank eller sparbankerna från att logga ut en efter en stund // @author Oscar Jonsson // @match https://online.swedbank.se/* // @grant none // ==/UserScript== (function() { 'use strict'; function mutationEvent(mutationsList, observer) { var dialogButtons=document.querySelectorAll(".mat-dialog-container acorn-modal-section acorn-button-container>acorn-button"); for (var i=0; i<dialogButtons.length; i++) { if (dialogButtons[i].label=="Fortsätt vara inloggad") { var keepLoggedInBtn=dialogButtons[i]; break; } } if (keepLoggedInBtn) { keepLoggedInBtn.click(); console.log("keep awake"); } } (new MutationObserver(mutationEvent)).observe(document.body, { attributes: true, childList: true, subtree: true }); })();