mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Thu Jun 30 11:43:08 AM CST 2022
This commit is contained in:
parent
ce465b53e3
commit
d5e26f165a
228 changed files with 1786 additions and 26411 deletions
17
zh/searchurl/sitejs/m.baidu.com.js
Normal file
17
zh/searchurl/sitejs/m.baidu.com.js
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue