diff --git "a/\347\275\221\347\233\230\347\233\264\351\223\276\344\270\213\350\275\275\345\212\251\346\211\213.user.js" "b/\347\275\221\347\233\230\347\233\264\351\223\276\344\270\213\350\275\275\345\212\251\346\211\213.user.js" index 5eb2a0b..6fe117e 100644 --- "a/\347\275\221\347\233\230\347\233\264\351\223\276\344\270\213\350\275\275\345\212\251\346\211\213.user.js" +++ "b/\347\275\221\347\233\230\347\233\264\351\223\276\344\270\213\350\275\275\345\212\251\346\211\213.user.js" @@ -4255,7 +4255,7 @@ _uploadBtn() { let $hit = $('button, a, [role="button"], [class*=btn]').filter(function () { if (this.hidden || /none/i.test(String(this.style && this.style.display))) return false; - if ($(this).closest('[hidden], [aria-hidden="true"]').length) return false; + if ($(this).closest('[hidden], [aria-hidden="true"]:not(body > *)').length) return false; if ($(this).find('button, a, [role="button"]').length) return false; return /^(上传|上传文件|Upload)$/i.test($(this).text().replace(/\s+/g, '')); }).first();