[Resolved] ads.haberler.com Missing Ads

yigido

Translator
Thanks it works.
Can we block the URL (ads.haberler.com) because I still see some ads into sliders menu..

Thanks
 

offguard

Beta Tester
It doesn't show up if you are not in Turkey. (IP)

Code:
http://www.haberler.com/islem/CountryCode.aspx
Code:
<script type="text/javascript">
                //var advertorialEnabledMain = true;
                if (ClientCountryCode != "TR" || /ip(hone|od|ad)|blackberry|android|windows (ce|phone)|symbian|avantgo|blazer|compal|elaine|fennec|hiptop|iemobile|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo/i.test(navigator.userAgent)) {
                    //advertorialEnabledMain = false;
                    $('#marcamarca').remove();
                }
            </script>
 

Alex302

Filters Developer
Staff member
Administrator
It doesn't show up if you are not in Turkey. (IP)

Code:
http://www.haberler.com/islem/CountryCode.aspx
Code:
<script type="text/javascript">
                //var advertorialEnabledMain = true;
                if (ClientCountryCode != "TR" || /ip(hone|od|ad)|blackberry|android|windows (ce|phone)|symbian|avantgo|blazer|compal|elaine|fennec|hiptop|iemobile|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo/i.test(navigator.userAgent)) {
                    //advertorialEnabledMain = false;
                    $('#marcamarca').remove();
                }
            </script>
Ok,
Added to English filter:
Code:
haberler.com###marcamarca
Please, check the result.
 
Top