Add Meroshare Id

Adds an id of selectDP to the select element in meroshare

// ==UserScript==
// @name Add Meroshare Id
// @description Adds an id of selectDP to the select element in meroshare
// @match https://meroshare.cdsc.com.np/#/login
// @version 0.0.1.20230727120801
// @namespace https://greasyfork.org/users/1137107
// ==/UserScript==


var intv = setInterval(function addIdtoSelect() {
    let element = document.getElementsByClassName("select2-hidden-accessible")[0];
    if (element){
        clearInterval(intv);
        element.id = 'selectDP';
    }
}, 100)