MCPcopy Index your code
hub / github.com/XIU2/UserScript / del

Function del

Autopage.user.js:2612–2619  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2610 }
2611
2612 function del() {
2613 if (!check()) return
2614 let list = GM_getValue('menu_disable'), // 读取网站列表
2615 index = list.indexOf(location.hostname);
2616 list.splice(index, 1); // 删除网站域名
2617 GM_setValue('menu_disable', list); // 写入配置
2618 location.reload(); // 刷新网页
2619 }
2620 }
2621 // 左键双击网页空白处暂停翻页
2622 function pausePageEvent() {

Callers 2

menu_disableFunction · 0.70
pageNumberFunction · 0.70

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected