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

Commit

Permalink
address ima crash
Browse files Browse the repository at this point in the history
  • Loading branch information
jspenguin2017 committed Jun 28, 2018
1 parent be82fea commit 283a085
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
5 changes: 3 additions & 2 deletions list/2-integration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
@@|https://*.moatads.com/*/MoatFreeWheelJSPEM.js*$script
@@|https://ads.korri.fr/index.js|$script
@@|http://*.medianetworkinternational.com/js/advertisement.js*$script
@@|https://imasdk.googleapis.com/js/sdkloader/ima3.js*$script,domain=~fox.com|~motorsport.tv|~pandora.com|~popcornflix.com|~streamable.com|~tv2.dk
@@|http://imasdk.googleapis.com/js/sdkloader/ima3.js*$script,domain=~fox.com|~motorsport.tv|~pandora.com|~popcornflix.com|~streamable.com|~tv2.dk
! Not working correctly
! @@|https://imasdk.googleapis.com/js/sdkloader/ima3.js*$script,domain=~fox.com|~log.com.tr|~motorsport.tv|~pandora.com|~popcornflix.com|~streamable.com|~tv2.dk
! @@|http://imasdk.googleapis.com/js/sdkloader/ima3.js*$script,domain=~fox.com|~log.com.tr|~motorsport.tv|~pandora.com|~popcornflix.com|~streamable.com|~tv2.dk
! === ncaa.com, pga.com, q2.be, medialaancdn.be, medialaan.be
@@|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
Expand Down
12 changes: 7 additions & 5 deletions src/background/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ a.generic = () => {
],
a.rLink("jquery.js"),
);
/*
// Not working correctly
a.staticServer(
[
"https://imasdk.googleapis.com/js/sdkloader/ima3.js*",
Expand All @@ -496,12 +498,12 @@ a.generic = () => {
"script",
],
a.rLink("ima3.js"),
/*
[
],
false,
*/
// List whitelisted domains in the array
// [
// ],
// false,
);
*/
a.staticServer(
[
"https://jspenguin.com/uBlockProtector/Solutions/MoatFreeWheelJSPEM.js",
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"webRequest",
"webRequestBlocking"
],
"version": "14.59",
"version": "15.0.0.0",
"web_accessible_resources": [
"resources/*"
]
Expand Down
2 changes: 0 additions & 2 deletions uBlockProtectorList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
@@|https://*.moatads.com/*/MoatFreeWheelJSPEM.js*$script
@@|https://ads.korri.fr/index.js|$script
@@|http://*.medianetworkinternational.com/js/advertisement.js*$script
@@|https://imasdk.googleapis.com/js/sdkloader/ima3.js*$script,domain=~fox.com|~motorsport.tv|~pandora.com|~popcornflix.com|~streamable.com|~tv2.dk
@@|http://imasdk.googleapis.com/js/sdkloader/ima3.js*$script,domain=~fox.com|~motorsport.tv|~pandora.com|~popcornflix.com|~streamable.com|~tv2.dk
@@|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
||cbsnews.com/news/*/[object%20object]$image,redirect=1x1-transparent.gif
Expand Down

0 comments on commit 283a085

Please sign in to comment.