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 1 hour ago2 views
👨‍💻Programming

Untitled Page

// ==UserScript==
// @name         EPFO - Remove Specific Member ID From Dropdown
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Hide specific Member ID from EPFO dropdown
// @match        https://passbook.epfindia.gov.in/MemberPassBook/*
// @grant        none
// @run-at       document-idle
// ==/UserScript==

(function () {
    'use strict';

    const TARGET_ID = 'DSNHP00237190000275079';

    function removeMemberID() {
        const dropdown = document.querySelector('#selectmid');

        if (!dropdown) return;

        const option = Array.from(dropdown.options).find(
            opt => opt.value === TARGET_ID
        );

        if (option) {
            option.remove();
            console.log('[EPFO] Member ID removed from dropdown');
        }
    }

    // Run on page load
    removeMemberID();

    // Run again when dropdown is dynamically updated
    const observer = new MutationObserver(removeMemberID);

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

})();
← Back to timeline