去掉影响浏览器自动填充的 .hidden-input
// ==UserScript==
// @name AutoDL 修复用户名密码自动填充
// @namespace http://tampermonkey.net/
// @version 2025-01-15
// @description 去掉影响浏览器自动填充的 .hidden-input
// @author Ganlv
// @match https://www.autodl.com/login*
// @match https://www.autodl.com/subAccountLogin*
// @match https://www.autodl.com/console*
// @icon https://www.autodl.com/favicon.png
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
const observer = new MutationObserver((mutationList, observer) => {
document.querySelectorAll('.hidden-input').forEach(el => el.remove());
});
observer.observe(document.querySelector('#app'), {childList: true, subtree: true});
})();