您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork镜像 is available in English.
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 1 // @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 element=document.querySelector("#mat-dialog-0 > fdp-session-warning-modal > acorn-modal-section > section > acorn-button-container > acorn-button:nth-child(1)"); if (element) { var button=element.shadowRoot.querySelector("div"); button&&button.click(); console.log("keep awake"); } } (new MutationObserver(mutationEvent)).observe(document.body, { attributes: true, childList: true, subtree: true }); })();