Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jspenguin2017 committed Aug 14, 2018
1 parent e2701c5 commit 94dbb85
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
9 changes: 9 additions & 0 deletions list/2-integration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
@@|http://*.v.fwmrm.net/ad/g/*$script,domain=ncaa.com|pga.com|q2.be|vtm.be|ruutu.fi|medialaancdn.be|medialaan.be
! === hulu.com
@@||ads-v-darwin.hulustream.com/published/*.mp4$domain=hulu.com
! === wowescape.com
! https://github.com/uBlockOrigin/uAssets/issues/3200
@@||wowescape.com^$generichide,badfilter
@@||imasdk.googleapis.com/js/sdkloader/ima3.js$script,domain=wowescape.com,badfilter
@@||pagead2.googlesyndication.com/pagead/$script,domain=wowescape.com,badfilter
@@||googleads.g.doubleclick.net/pagead/*wowescape.com$xmlhttprequest,domain=imasdk.googleapis.com,badfilter
@@||youtube.com/get_video?$media,domain=wowescape.com,badfilter
wowescape.com##+js(setTimeout-defuser.js, document.getElementsByClassName('afs_ads'))
wowescape.com#@#.afs_ads

! === IMA SDK surrogate integration
! Not working correctly
Expand Down
14 changes: 14 additions & 0 deletions src/content/rules-specific.js
Original file line number Diff line number Diff line change
Expand Up @@ -3039,6 +3039,20 @@ if (a.domCmp(["washingtonpost.com"])) {
if (a.domCmp(["lcpdfr.com"])) {
a.noAccess("FuckAdBlock");
}
if (a.domCmp(["wowescape.com"])) {
// https://github.com/uBlockOrigin/uAssets/issues/3200
a.beforeScript((script) => {
if (
script.textContent &&
script.textContent.includes("var adsManager;")
) {
script.textContent = script.textContent.replace(
"setUpIMA();",
"onAdSKIPPED();",
);
}
});
}

// Nano Adblocker does not support UserCSS because it breaks DOM Inspector,
// duct tape it here
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"webRequest",
"webRequestBlocking"
],
"version": "15.0.0.30",
"version": "15.0.0.31",
"web_accessible_resources": [
"resources/*"
]
Expand Down
7 changes: 7 additions & 0 deletions uBlockProtectorList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
@@|https://*.v.fwmrm.net/ad/g/*$script,domain=ncaa.com|pga.com|q2.be|vtm.be|ruutu.fi|medialaancdn.be|medialaan.be
@@|http://*.v.fwmrm.net/ad/g/*$script,domain=ncaa.com|pga.com|q2.be|vtm.be|ruutu.fi|medialaancdn.be|medialaan.be
@@||ads-v-darwin.hulustream.com/published/*.mp4$domain=hulu.com
@@||wowescape.com^$generichide,badfilter
@@||imasdk.googleapis.com/js/sdkloader/ima3.js$script,domain=wowescape.com,badfilter
@@||pagead2.googlesyndication.com/pagead/$script,domain=wowescape.com,badfilter
@@||googleads.g.doubleclick.net/pagead/*wowescape.com$xmlhttprequest,domain=imasdk.googleapis.com,badfilter
@@||youtube.com/get_video?$media,domain=wowescape.com,badfilter
wowescape.com##+js(setTimeout-defuser.js, document.getElementsByClassName('afs_ads'))
wowescape.com#@#.afs_ads
! Asking for permission does not have an enforced cooldown, can be exploited to make the permission request to be not refusable
! More information: https://github.com/uBlockOrigin/uAssets/issues/770
||authedmine.com^$third-party
Expand Down

0 comments on commit 94dbb85

Please sign in to comment.