怎样把网页里的链接替换
(function (){var nodes = document.querySelectorAll("a");for(var node of nodes){if(node.href.includes("attachment.php?aid=")){node.href+="&clickDownload=1";}}})();
(function (){var nodes = document.querySelectorAll("a");for(var node of nodes){if(node.href.includes("attachment.php?aid=")){node.href+="&clickDownload=1";}}})();
怎样把网页里的链接替换
把网页里的attachment.php?aid=3339398替换成attachment.php?aid=3339398&clickDownload=1
https://greasyfork.org/zh-CN/scripts/373033-bt之家附件直下类似于这个