畅言去广告

不用看了,现在不管用了,又换套路了,不用这么麻烦, 现在display:none;就可以解决

添加以下代码 到changyan.js 之前

1
2
3
4
5
6
7
8
9
10
11
12
13
14
(function () {
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = '#pop_ad{ display: none !important; }';
document.getElementsByTagName('HEAD').item(0).appendChild(style);

var __observe = window.MutationObserver.prototype.observe;
window.MutationObserver.prototype.observe = function (target, options) {
if (target.id !== "cy-cmt-list") return __observe();
return setTimeout(function () {
document.getElementById('feedAv').style.cssText = 'display: none !important';
}, 0);
};
}());

本地调试方法,修改host文件为域名白名单的域名。

坚持原创技术分享,您的支持将鼓励我继续创作!