lasprovincias.es

Spanish supplemental subscription

Moderator: EasyList Spanish Mods

Locked
nomatter
Guest

lasprovincias.es

Post by nomatter »

Las Provincias http://www.lasprovincias.es has developed a basic protection for adblock that tries to load a js placed in http://www.lasprovincias.es/comun/js/2014/adframe.js, which sets a variable:

Code: Select all

Vocento.checkAdBlock =  1;
It is later used in the html code of the page:

Code: Select all

if(typeof Vocento.checkAdBlock=='undefined'){voc_adb=1;}
By default Adblock blocks the adframe.js, so the variable voc_adb is set to 1 (which can then be used to banned visits with Adblock). It can be seen an example here: http://www.lasprovincias.es/sociedad/

In order to bypass the protection it must be added a filter like this:

Code: Select all

@@comun/js/2014/adframe.js
It will be useful in all Vocento sites (elnortedecastilla.es, hoy.es, ideal.com...)
banana0987
Guest

Post by banana0987 »

Let's define even better the filter, taking into account only the websites that uses this protection:

Code: Select all

@@/comun/js/2014/adframe.js$domain=hoy.es|elcorreo.com|larioja.com|elnortedecastilla.es|diariovasco.com|elcomercio.es|ideal.es|diariosur.es|lasprovincias.es|eldiariomontanes.es|laverdad.es
This works great, checked for all domains and subdomains.
Moved from Report unblocked content to EasyList Spanish on Thu Feb 09, 2017 11:46 pm by LanikSJ

Locked