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 2 hours ago2 views
👨‍💻Programming

Untitled Page

// ==UserScript==
// @name         SBI Remove Download Button (Force Remove)

// @namespace    http://tampermonkey.net/
// @version      5.0
// @description  Safely add Export as PDF beside SBI Download button
// @match        https://yonoretail.sbi.bank.in/*
// @grant        none
// @run-at       document-idle
// ==/UserScript==
(function () {
    'use strict';

    function removeDownloadButton() {
        const labels = document.querySelectorAll('.mdc-button__label');

        labels.forEach(label => {
            if (label.textContent.trim() === "Download") {
                const button = label.closest('button');
                if (button) {
                    button.remove();   // Completely remove
                    console.log("Download button removed");
                }
            }
        });
    }

    // Run every 1 second (Angular safe way)
    const interval = setInterval(removeDownloadButton, 1000);

})();
← Back to timeline