您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
remove any dom you hate
Index | 名称 | 作用 |
---|---|---|
① | 删除 | 删除选定元素 |
② | 隐藏 | 隐藏选定元素 |
③ | 跳过 | 跳过选定元素 |
④ | qAll | 多选 |
⑤ | 删除 | 删除记录 |
⑥ | 选择器 | xpath路径 |
const xpath = "选择器";
// const qAll = "all";
const dom1 = document.querySelectorAll(xpath);
// const qAll = "single";
const dom2 = [document.querySelector(xpath)];
dom1.forEach(dom => {
// ①
dom.remove();
// ②
dom.style.display = 'none';
// ③
// 无操作
})
ctrl + q 打开面板
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址