Prevent Swedbank from automatically logging out after 5 minutes of inactivity

Hindra swedbank eller sparbankerna från att logga ut en efter en stund

ของเมื่อวันที่ 23-07-2020 ดู เวอร์ชันล่าสุด

// ==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 button=document.querySelector('#mat-dialog-1 > fdp-session-warning-modal > acorn-modal-section > section > acorn-button-container > acorn-button:nth-child(1)');
        button&&button.click();
    }
    (new MutationObserver(mutationEvent)).observe(document.body, { attributes: true, childList: true, subtree: true });
})();
长期地址
遇到问题?请前往 GitHub 提 Issues。