mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Enhanced AdBlock for chartbeat
This commit is contained in:
12
Mock/static-chartbeat-com_chartbeat_mab.js
Normal file
12
Mock/static-chartbeat-com_chartbeat_mab.js
Normal file
@@ -0,0 +1,12 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
const noopfn = function () { /* noop */ };
|
||||
window.pSUPERFLY = {
|
||||
activity: noopfn,
|
||||
virtualPage: noopfn
|
||||
};
|
||||
for (const hider of document.querySelectorAll('style[id^=chartbeat-flicker-control]')) {
|
||||
hider.remove();
|
||||
}
|
||||
}());
|
||||
Reference in New Issue
Block a user