atyponrex 投稿系统的基金名称

atyponrex 投稿系统的基金名称要显示全部

// ==UserScript==
// @name         atyponrex 投稿系统的基金名称
// @namespace    http://tampermonkey.net/
// @version      2025-04-30-001
// @description  atyponrex 投稿系统的基金名称要显示全部
// @author       You
// @match        https://ieee.atyponrex.com/submission/submissionBoard/*/verifyOrganizations
// @match        https://wiley.atyponrex.com/submission/submissionBoard/*/verifyOrganizations
// @match        https://*.atyponrex.com/submission/submissionBoard/*/verifyOrganizations
// @icon         https://www.google.com/s2/favicons?sz=64&domain=atyponrex.com
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    //setInterval(()=>
   // document.querySelectorAll(".fundersWithGrantsFieldItem-flexField .selectBoxSelectContainer.fundersWithGrantsFieldItem-inputField .selectBoxValueContainer .selectBoxSingleValue,.fundersWithGrantsFieldItem-flexField .fundersWithGrantsFieldItem-inputField  div.selectBoxValueContainer  div.selectBoxSingleValue").forEach(e=>{
   //      e.style.position="unset"
   // }),1000)


    const selector = ".fundersWithGrantsFieldItem-flexField .selectBoxSelectContainer.fundersWithGrantsFieldItem-inputField .selectBoxValueContainer .selectBoxSingleValue, .fundersWithGrantsFieldItem-flexField .fundersWithGrantsFieldItem-inputField div.selectBoxValueContainer div.selectBoxSingleValue";

    function updateElementStyles() {
        document.querySelectorAll(selector).forEach(e => {
            e.style.position = "unset";
        });
    }

    // 使用 MutationObserver 监听 DOM 变化
    const observer = new MutationObserver(updateElementStyles);

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

    // 初始执行一次
    updateElementStyles();
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址