mirror of https://github.com/torappinfo/uweb
rebuilding site Tue Mar 8 10:52:49 AM CST 2022
parent
34fc0dd865
commit
8f12b639b1
@ -0,0 +1 @@
|
||||
.ec_wise_ad,.ec_wise_pp,.na-like-container{display:none !important}
|
@ -0,0 +1,17 @@
|
||||
(function () {
|
||||
class removeDom {
|
||||
constructor(classList = []) {
|
||||
this.adClassList = classList;
|
||||
};
|
||||
|
||||
remove() {
|
||||
this.adClassList.forEach((c) => {
|
||||
$(`${c}`).length > 0 && $(`${c}`).remove();
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
let adClassList = ['.ec_wise_ad', '.ec_wise_pp', '.na-like-container'];
|
||||
let ad = new removeDom(adClassList);
|
||||
ad.remove();
|
||||
})();
|
Loading…
Reference in New Issue