We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c2956 commit e970d36Copy full SHA for e970d36
js/cloudopt-adblock.js
@@ -31,7 +31,7 @@ cloudopt.adblock = (function(cloudopt) {
31
32
var configuration = {
33
filters: [101],
34
- whitelist: cloudoptConfig.whitelistAds.slice(),
+ whitelist: cloudoptConfig.whitelistAds? cloudoptConfig.whitelistAds.slice() : [],
35
rules: cloudoptConfig.customRule,
36
filtersMetadataUrl: 'https://cdn.cloudopt.net/filters/chromium/filters.json',
37
filterRulesUrl: 'https://cdn.cloudopt.net/filters/chromium/{filter_id}.txt'
0 commit comments