mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Add adthrive shim
This commit is contained in:
parent
2ec2610f36
commit
b8bf0bbab4
2 changed files with 7 additions and 0 deletions
|
|
@ -55,6 +55,9 @@ export default new Map([
|
|||
[ 'ampproject_v0.js', {
|
||||
alias: 'ampproject.org/v0.js',
|
||||
} ],
|
||||
[ 'adthrive_abd.js', {
|
||||
data: 'text',
|
||||
} ],
|
||||
[ 'chartbeat.js', {
|
||||
alias: 'static.chartbeat.com/chartbeat.js',
|
||||
} ],
|
||||
|
|
|
|||
4
src/web_accessible_resources/adthrive_abd.js
Normal file
4
src/web_accessible_resources/adthrive_abd.js
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(( ) => {
|
||||
const d = new Date(Date.now() + 30000);
|
||||
document.cookie = `__adblocker=false; expires=${d.toUTCString()}; path=/`;
|
||||
})();
|
||||
Loading…
Reference in a new issue