re. #1461: no ad slots

This commit is contained in:
gorhill 2016-03-14 08:17:55 -04:00
parent 6fed789edd
commit 5019adee0f
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ dcc881135f01d1e264c2be59a8aaa1e0 assets/ublock/filters.txt
98088252cedafb8571cf61b91bea219e assets/ublock/badware.txt 98088252cedafb8571cf61b91bea219e assets/ublock/badware.txt
5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt 5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt
d81312866b351765bb63082274d90293 assets/ublock/experimental.txt d81312866b351765bb63082274d90293 assets/ublock/experimental.txt
8dff49cf016d6f0058fb67c0eaf72d4f assets/ublock/resources.txt b237e72eceeaf94ea94736d9c506e4b8 assets/ublock/resources.txt
059e0bfbf22bd242dda7b07389fe09a2 assets/ublock/filter-lists.json 059e0bfbf22bd242dda7b07389fe09a2 assets/ublock/filter-lists.json
3605c73f21abca428c7eb69a8bc32dfe assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt 3605c73f21abca428c7eb69a8bc32dfe assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt
a91af77c47c302c0741c7445b0fada1a assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt a91af77c47c302c0741c7445b0fada1a assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt

View File

@ -841,7 +841,7 @@ ytad-defuser.js application/javascript
var ytp, ytpc; var ytp, ytpc;
var trapytpca = function() { var trapytpca = function() {
if ( ytpc && ytpc.args && typeof ytpc.args.ad_slots === 'string' ) { if ( ytpc && ytpc.args && typeof ytpc.args.ad_slots === 'string' ) {
ytpc.args.ad_slots = '0'; ytpc.args.ad_slots = '-1';
ytpc.args.afv_instream_max = '500'; ytpc.args.afv_instream_max = '500';
delete ytpc.args.vmap; delete ytpc.args.vmap;
} }