JustPaste
HomeCategoriesAboutDonateContactTerms of UsePrivacy Policy
JustPaste

Free online notepad — write and share instantly

Navigate

  • Home
  • Timeline
  • Categories

Info

  • About
  • Donate
  • Contact

Legal

  • Terms of Use
  • Privacy Policy

© 2026 JustPaste.app. All rights reserved.

Made with ♥ by JustPaste

Untitled Page | JustPaste.app
about 3 hours ago2 views
👨‍💻Programming

Untitled Page

// ==UserScript==
// @name         Hide SBI Technical Error Popup
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Hide/remove Technical Error popup (No transactions message)
// @match        https://cdnweb.onlineyono.sbi.bank.in/*
// @grant        none
// @run-at       document-idle
// ==/UserScript==

(function () {
    'use strict';

    function removeErrorPopup() {
        // Target by class
        const popups = document.querySelectorAll('.pop-up');

        popups.forEach(popup => {
            if (popup.innerText.includes('No transactions to display')) {
                popup.style.display = 'none'; // hide
                // popup.remove(); // OR completely remove
            }
        });
    }

    // Run multiple times because Angular loads dynamically
    const observer = new MutationObserver(() => {
        removeErrorPopup();
    });

    observer.observe(document.body, {
        childList: true,
        subtree: true
    });

    // Initial run
    setTimeout(removeErrorPopup, 2000);
})();
← Back to timeline