()
| 234 | } |
| 235 | |
| 236 | function check() { // 存在返回真,不存在返回假 |
| 237 | let websiteList = menu_value('menu_forcedToEnable'); // 读取网站列表 |
| 238 | if (websiteList.indexOf(location.host) === -1) return false // 不存在返回假 |
| 239 | return true |
| 240 | } |
| 241 | |
| 242 | function add() { |
| 243 | if (check()) return |
no test coverage detected