script element blocked on local dev but not on uat/www

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
steveIM
Posts: 2
Joined: Thu Oct 15, 2015 11:04 am

script element blocked on local dev but not on uat/www

Post by steveIM »

Hi,

I'm running tests to ensure our sites still function when users have chosen to block ads. I'm having truble understanding why a script resource is blocked when developing locally that isn't blocked on our uat or www subdomains. I'm using a vanilla unchanged install of ABP on Chrome 45.0.2454.101 with the standard easylist filters.

e.g. this is the url that we use when developing locally on an IIS server running on our dev computers. radiotimes.local is a host back to localhost/127.0.0.1. This gets blocked.

Code: Select all

<script src="http://radiotimes.local/rt-service/resource/jspack?baseurl=/assets/scripts/&include=../../Scripts/Modules/Dfp/AdRemover.js,../../Scripts/Modules/Dfp/UnitName.js,../../Scripts/Modules/Dfp/AdManager.js,lib/type-helpers.js,lib/mootools-more-modified.js,lib/mootools-extensions.js,lib/pubsub.js,lib/innershiv.js,lib/handlebars.runtime.js,lib/typeahead.js,templates/compiled/autocompleteSearchResult.hbs.js,plugins/jquery.bpopup.min.js,classes/utils/InputPlaceholder.js,classes/header/TypeaheadSearch.js,classes/utils/WidgetLoader.js,classes/utils/LoginLogoutLocationCookie.js,classes/utils/Dialog.js,classes/personalisation/LoginStatus.js,site/impolicycookie.js,plugins/dotdotdot/jquery.dotdotdot-1.5.1.js,plugins/carousel/jquery.jcarousel.min.js,site/core.js,../js/modules/header.js,../js/modules/rt-ga.js,../js/modules/smart-banners.js,../js/plugins/jquery.cookie.js,../js/modules/audience-science.js,../js/modules/inskin-targeting.js,classes/utils/LoginWidgetLoader.js,classes/utils/LoadingSpinner.js,site/PicksOfDayCarousel.js,lib/voila0.3.2.2.min.js&minify=True&cachekey=2015.21.5"></script>
But the one below isn't blocked.

Code: Select all

<script src="http://uat.radiotimes.com/rt-service/resource/jspack?baseurl=/assets/scripts/&include=../../Scripts/Modules/Dfp/AdRemover.js,../../Scripts/Modules/Dfp/UnitName.js,../../Scripts/Modules/Dfp/AdManager.js,lib/type-helpers.js,lib/mootools-more-modified.js,lib/mootools-extensions.js,lib/pubsub.js,lib/innershiv.js,lib/handlebars.runtime.js,lib/typeahead.js,templates/compiled/autocompleteSearchResult.hbs.js,plugins/jquery.bpopup.min.js,classes/utils/InputPlaceholder.js,classes/header/TypeaheadSearch.js,classes/utils/WidgetLoader.js,classes/utils/LoginLogoutLocationCookie.js,classes/utils/Dialog.js,classes/personalisation/LoginStatus.js,site/impolicycookie.js,plugins/dotdotdot/jquery.dotdotdot-1.5.1.js,plugins/carousel/jquery.jcarousel.min.js,site/core.js,../js/modules/header.js,../js/modules/rt-ga.js,../js/modules/smart-banners.js,../js/plugins/jquery.cookie.js,../js/modules/audience-science.js,../js/modules/inskin-targeting.js,classes/utils/LoginWidgetLoader.js,classes/utils/LoadingSpinner.js,site/PicksOfDayCarousel.js,lib/voila0.3.2.2.min.js&minify=True&cachekey=2015.21.5"></script>
from uat.radiotimes.com

Now I suspect the fact the query string has "ad" in it may be the cause of the blocking but then why isn't it blocked on uat/www? If I change local configuration to use the url on uat then it isn't blocked locally. That would point to the domain being the issue?

Thanks for any assistance.

Steve.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: script element blocked on local dev but not on uat/www

Post by mapx »

Did you try in firefox ?

anyway, how could someone test your issue ? perhaps you should provide the page code (+the folders) as a zip uploaded on some server
steveIM
Posts: 2
Joined: Thu Oct 15, 2015 11:04 am

Re: script element blocked on local dev but not on uat/www

Post by steveIM »

Thanks, I'll try Firefox with ADP. It is difficult to test outside our environment as the url to the script is actually not a static resource, it's generated by the server. I'll see if I can put something together though. You can see that the script isn't blocked on http://uat.radiotimes.com

My current assumption is it's something to do with domain.
Locked