[Blocker blocker] theargus.co.uk
Domain: theargus.co.uk
Description of problem:
LK: Our old local paper is being a nuisance, showing an huge anti-ad-blocker banner
Offending code is directly in HTML:
<script type="text/javascript">
var isSmallBanner = true;
var content = '<div id="__nq__hh" class="hidden"><p id="line1">Love your local news?</p>\
\
<p id="line2">Please turn off your ad-blocker.</p>\
\
<p id="line3"><a href="/ad-faq/" target="_blank">Did you know</a> that advertising supports local journalism and promotes local businesses? Find out <a href="/ad-faq/#disable" target="_blank">how to turn off your ad-blocker</a>.</p></div>';
$('body').append(content);
var thankyouContent = '<div id="adblockThankyou"><h3>Thank you for turning off your ad blocker</h3></div>';
$('body').append(thankyouContent);
document.addEventListener('sp.blocking', function (e) {
console.log('Event "sp.blocking" triggered.');
var articleId = '';
var events = "event70";
var hideFromUsers = false;
var hideFromSubscribers = false;
var module = 'BlockHomepageModule';
// Are we hiding this from signed-in users?
if (hideFromUsers) {
if (typeof utag_data !== 'undefined' && typeof utag_data.user_is_logged_in !== 'undefined') {
if (utag_data.user_is_logged_in === 'yes') {
console.log('User signed in; not showing banner.');
return false;
}
}
}
// Are we hiding it from subscribed users?
if (hideFromSubscribers) {
if ("" !== '') {
console.log('User is a subscriber; not showing banner.');
return false;
}
}
if ($.cookie('nqab') === 'false') {
events += ',event74';
}
// Don't show warnings on the user module pages. Or on the /ad-faq/ page, obviously.
if (module === 'UserModule' || module === 'BackboneUserModule' || module === 'AdBlockerFaqModule' || module === 'ResponsiveEducationModule') {
trackAdBlocks(events);
return;
}
$('#__nq__hh').removeClass('hidden').attr('style', 'display:block!important');
if ($.cookie('nqab') !== null) {
events += ',event72';
trackAdBlocks(events);
$.cookie('nqab', 'true', { expires: 365, path: '/' });
appendInternalTrackingVars(1, 0);
return;
}
$.cookie('nqab', 'true', { expires: 365, path: '/' });
events += ',event71';
trackAdBlocks(events);
appendInternalTrackingVars(1, 0);
});
document.addEventListener('sp.not_blocking', function (e) {
console.log('Event "sp.not_blocking" triggered.');
// If they have the cookie set, it means they saw the banner and now have disabled their adblocker.
if ($.cookie('nqab') === 'true') {
trackAdBlocks('event73');
$.cookie('nqab', 'false', { expires: 365, path: '/' });
// This is the first page visit since they disabled their ad blocker so
// display the thank you message just this once
$('#adblockThankyou').slideDown('slow').delay(5500).slideUp('slow');
}
// update the global
appendInternalTrackingVars(0, 1);
});
A URL/page where problem is visible: http://www.theargus.co.uk
Reported via: app
On macOS
Reproduced on Mac with Better enabled? Yes
On iOS
Reproduced on iOS with Better enabled? Yes
Console output
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://edge.quantserve.com/quant.js (www.theargus.co.uk, line 9)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://pixel.quantserve.com/api/segments.json?a=p-42Bk1WKC7O3WM&callback=qc_results (www.theargus.co.uk, line 9)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://c.amazon-adsystem.com/aax2/amzn_ads.js (www.theargus.co.uk, line 9)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://pagead2.googlesyndication.com/pagead/imgad?id=CICAgKDLqv_TbRABGAEoATIIgOw1LHg7xnFAt-_HogU (www.theargus.co.uk, line 9)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://tags.crwdcntrl.net/c/4821/cc.js?ns=_cc4821 (www.theargus.co.uk, line 9)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://widgets.outbrain.com/outbrain.js (www.theargus.co.uk, line 9)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://www.googletagservices.com/tag/js/gpt.js (www.theargus.co.uk, line 25)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://rtax.criteo.com/delivery/rta/rta.js?netId=2740&cookieName=cto_newsquest&rnd=7068199795&varName=crtg_content (www.theargus.co.uk, line 56)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://edge.quantserve.com/quant.js
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://pixel.quantserve.com/api/segments.json?a=p-42Bk1WKC7O3WM&callback=qc_results
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://c.amazon-adsystem.com/aax2/amzn_ads.js
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://pagead2.googlesyndication.com/pagead/imgad?id=CICAgKDLqv_TbRABGAEoATIIgOw1LHg7xnFAt-_HogU
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://tags.tiqcdn.com/utag/newsquestdm/main/prod/utag.js (www.theargus.co.uk, line 4319)
[Log] ajax initialised (homepage.js, line 1, x2)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://tags.crwdcntrl.net/c/4821/cc.js?ns=_cc4821
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://widgets.outbrain.com/outbrain.js
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://ad.doubleclick.net/ddm/ad/hsvdhgmcb/oyinlq/nph/;ord=1498222946890?
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://ad.doubleclick.net/ddm/ad/gjuurmdu/dragycgsota/dirwspj/;ord=1498222946894?
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://newsquestdigitalmedia.d2.sc.omtrdc.net/b/ss/newsquestgroupprod/1/H.25.3/s46696072014948?AQB=1&ndh=1&t=23%2F5%2F2017%2015%3A2%3A27%205%20-120&fid=334C5C516BE4B925-34AB1B557592707A&ce=UTF-8&ns=newsquestdigitalmedia&cdp=3&pageName=%28www%29%20%2F&g=http%3A%2F%2Fwww.theargus.co.uk%2F&cc=GBP&server=blade7&events=event2&v2=%28www%29%20%2F&c3=The%20Argus%20-%20News%2C%20Sport%2C%20Brighton%20and%20Hove%20Albion%20and%20Entertainment%20for%20Brighton%2C%20Hove%20and%20Sussex&v3=The%20Argus%20-%20News%2C%20Sport%2C%20Brighton%20and%20Hove%20Albion%20and%20Entertainment%20for%20Brighton%2C%20Hove%20and%20Sussex&c5=BlockHomepageModule&v5=BlockHomepageModule&c6=homepage&v6=homepage&c7=homepage&v7=homepage&c8=homepage&v8=homepage&c9=homepage&v9=homepage&c10=New&v10=New&c11=1%3A00PM&v11=1%3A00PM&c12=Friday&v12=Friday&c13=Weekday&v13=Weekday&c16=www.theargus.co.uk&v16=www.theargus.co.uk&c17=Sussex&v17=Sussex&c18=Martini&v18=Martini&c19=1&v19=1&c20=%28www%29%20%2F&v20=%28www%29%20%2F&c21=6&v21=6&c22=First%20Visit&v22=First%20Visit&c23=1&v23=1&c24=New&v24=New&c39=0&v39=0&c53=redesign&c54=engage&c55=light_red&c56=Default%20v1.0&c57=Disabled&v61=23%2F06%2F2017&v62=23%2F06%2F2017&v66=Ad-Full&v74=newsquestgroupprod&h1=newsquest%2CSussex%2Cwww.theargus.co.uk%2Chomepage&s=1280x800&c=24&j=1.6&v=Y&k=Y&bw=1280&bh=734&p=WebKit%20built-in%20PDF%3B&pid=%28www%29%20%2F&pidt=1&oid=OK&oidt=3&ot=SUBMIT&AQE=1
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://vdna.exelator.com/load/?p=850&g=001&j=0&lb=newsquest1385645234029&e=%7B%22esVDNAAppUserActionEvent%22%3A%5B%7B%22Ba4%22%3A%22tracking%22%2C%22Ba5%22%3A%22http%3A%2F%2Fwww.theargus.co.uk%2F%22%2C%22Ba6%22%3A%22%22%2C%22Ba18%22%3A%22PAGE_VIEW%22%2C%22Ba20%22%3A%22newsquest1385645234029%22%2C%22Ba26%22%3A%22VDNASITETRACKING%22%7D%5D%7D&bust=13934189 (analytics.js, line 1)
[Log] VIDEOJS: – "Ignoring already initialized player" (index.min.js, line 9)
[Log] called bc for bc112895365 – undefined (responsive-sync, line 6)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://ad.doubleclick.net/ddm/ad/rg/qrrpmrbqel/bnugano/psumqlgd/;ord=1498222947986?
[Log] running metadata (responsive-sync, line 8)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://s0.2mdn.net/instream/html5/ima3.js (videojs.ima3.min.js, line 3)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://ad.doubleclick.net/ddm/ad/ygnfvuc/pqf/ndpon/xbeuuxay/;ord=1498222948523?
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://w.visualdna.com/analytics/?api_key=newsquest1385645234029&post_message=1 (analytics.js, line 1)
[Log] Event "sp.blocking" triggered. (www.theargus.co.uk, line 4609)
[Info] Content blocker prevented frame displaying http://www.theargus.co.uk/ from loading a resource from http://newsquestdigitalmedia.d2.sc.omtrdc.net/b/ss/newsquestgroupprod/1/H.25.3/s43861470677333?AQB=1&ndh=1&t=23%2F5%2F2017%2015%3A2%3A29%205%20-120&fid=334C5C516BE4B925-34AB1B557592707A&ce=UTF-8&ns=newsquestdigitalmedia&cdp=3&pageName=%28www%29%20%2F&g=http%3A%2F%2Fwww.theargus.co.uk%2F&cc=GBP&events=event70%2Cevent72&v2=%28www%29%20%2F&v3=The%20Argus%20-%20News%2C%20Sport%2C%20Brighton%20and%20Hove%20Albion%20and%20Entertainment%20for%20Brighton%2C%20Hove%20and%20Sussex&v5=BlockHomepageModule&v6=homepage&v16=www.theargus.co.uk&v19=1&c35=enabled&v35=enabled&pe=lnk_o&pev2=Ad%20Block&s=1280x800&c=24&j=1.6&v=Y&k=Y&bw=1280&bh=734&p=WebKit%20built-in%20PDF%3B&AQE=1
> Selected Element
< <div id="DFP_top_leaderboard"></div>