()
| 317 | } |
| 318 | // 监听插入事件(有新的回复主题,点击查看) |
| 319 | function blockDOMNodeInserted() { |
| 320 | let block = e => { |
| 321 | if (e.target.nodeType == 1 && e.target.textContent && e.target.textContent.indexOf('newthread') > -1) { |
| 322 | setTimeout(function () { |
| 323 | blockUsers('forum'); // 屏蔽用户(黑名单) |
| 324 | blockKeywords(); // 屏蔽关键词(帖子标题) |
| 325 | }, 100) |
| 326 | } |
| 327 | } |
| 328 | document.addEventListener('DOMNodeInserted', block); // 监听插入事件 |
| 329 | } |
| 330 | // 监听插入事件(预览快速回复带签名) |
| 331 | function vfastpostDOMNodeInserted() { |
| 332 | let vfastpost = e => { |
no outgoing calls
no test coverage detected