fix(xunlei): adapt updated file menu selector

This commit is contained in:
pangzi
2026-08-05 08:47:22 +08:00
committed by GitHub
parent 7744ac5945
commit 5ddaee64d3

View File

@@ -358,8 +358,8 @@
getCaptchaToken: "https://xluser-ssl.xunlei.com/v1/shield/captcha/init", getCaptchaToken: "https://xluser-ssl.xunlei.com/v1/shield/captcha/init",
}, },
mount: { mount: {
home: `[class^="FileMenu__menu--"]`, home: `[class*="FileMenu__menus--"], [class*="FileMenu__menu--"]`,
share: `[class^="Share__batchActionBox--"]` share: `[class^="Share__batchActionBox--"]`
}, },
dom: { dom: {
enhance: `+<br/>此方式可以自动设置文件名,然后下载。<br/>此方式的下载请求<b>不会</b>被 IDM 捕获。`, enhance: `+<br/>此方式可以自动设置文件名,然后下载。<br/>此方式的下载请求<b>不会</b>被 IDM 捕获。`,
@@ -9669,4 +9669,4 @@ button.downloadSubtitle:disabled {
} }
return charArray.join(""); return charArray.join("");
} }
})($ ?? jQuery); })($ ?? jQuery);