reek / anti-adblock-killer

Anti-Adblock Killer helps you keep your Ad-Blocker active, when you visit a website and it asks you to disable.
http://reek.github.io/anti-adblock-killer/
Other
5.96k stars 762 forks source link

timesofindia.indiatimes.com * #1725

Closed Vacon1 closed 7 years ago

Vacon1 commented 8 years ago

Here what is happening is when we are opening this website " http://timesofindia.indiatimes.com " the website opens normally with zero scripts. But once we click on a headline and we go into detail of the story/article then the script successfully is bypassing the "Anti-Ad-Block killer" script somehow and saying please disable your "Ad Block Plus" plugin. I tried this on "Safari" browser as well as "Opera" browser.They are not working properly.Chrome looks like its working fine for now.

1) Opera Browser 2) Safari browser 3) Ad Block Plus

Please try to access the script which the agency is using and try to block the hoard of scripts.I doubt that they are already using multiple scripts. Anyway thanks for making a great and useful script !!

reek commented 8 years ago

Ok, I'll kill it, thanks

Vacon1 commented 8 years ago

Why is no one fixing this ? I still have this problem !! Oh man ? please try to do it fast please !

amogh79 commented 8 years ago

Me to still have the problem. Looks like the assholes at times of india are coming up with new ways to go past anti-adblock killer. Now they have put a div and set the opacity of the div which is getting set by some script. Can't delete the style element of the content div

reek commented 8 years ago

they use different methods to detect adblock, but I'm working on it

saptarshidebnath commented 8 years ago

@reek Thanks. in advance. I am monitoring this thread !!

Ntweat commented 8 years ago

@reek you rock man ..

reek commented 8 years ago

@Ntweat thanks :smile:

Ntweat commented 8 years ago

@reek

I think timesofindia is using this function to block. I don't know how it is working

`function blockedit(){ if(!window.$ || !window.$.fn){ setTimeout(blockedit,1000); return; } var customize = function(browser){ var t = $('li[data-browser="'+ browser +'"]'); t.parent().prepend(t); $('[data-val="browsername"]').html(' - ' + browser).show(); };

var expandAccordion = function(browser){
    var btn = $('[data-browser="'+ browser +'"]').find('.accordion');
    btn.toggleClass('exp').siblings('.panel').slideToggle(600);
    customize(browser);
};

var detectBrowser = function() { 
   if(navigator.userAgent.indexOf("Chrome") != -1 ){
        expandAccordion('Chrome');
    }
    else if(navigator.userAgent.indexOf("Safari") != -1){
        expandAccordion('Safari');
    }
    else if(navigator.userAgent.indexOf("Firefox") != -1 ){
        expandAccordion('Firefox');
    }
    else if((navigator.userAgent.indexOf("MSIE") != -1 ) || (navigator.userAgent.indexOf("Trident") != -1 ) ){
      expandAccordion('IE'); 
    }  
    else {
       console.log('Unknown browser');
    }
};

var bindEvents = function(){
    $('.browsers').on('click', '.accordion', function(){ 
        $(this).toggleClass('exp').siblings('.panel').slideToggle(600);
    });

    $('[data-action="refresh"]').on('click', function(){
        window.location.reload();
    });
};

    bindEvents();
    detectBrowser();
$( document ).ready(function() {
    $('.cvs_wdt a').attr('href','/');
    $("ul.articles").hide();
});
$("ul.articles").hide();

}())`

amogh79 commented 8 years ago

@reek any break through on getting around these assholes at times of india?

Ntweat commented 8 years ago

Temporary stop gap fix. Till @reek figures it out

@@||timesofindia.indiatimes.com^*$script

Warning: This will stop all scripts from running on the site (which includes the anti-ad block script). So any other useful script will also be blocked.

Vacon1 commented 8 years ago

How to use this temporary fix ? Can you help us in detail

Ntweat commented 8 years ago

@Vacon1 add the line to your filters

tabishishaq commented 8 years ago

I have checked it on firefox with tampermonkey beta and it didn't stopped any other script all are working fine for different websites and it is working for articles under Sports section: http://timesofindia.indiatimes.com/sports/india-in-west-indies-2016/top-stories/Virat-Kohli-has-created-a-positive-environment-in-the-side-Amit-Mishra/articleshow/53159010.cms

But not for articles under Top Stories section http://timesofindia.indiatimes.com/top-stories/India-v-Pakistan-Crickets-biggest-rivalry/articleshow/49450278.cms?utm_source=TOInewHP_TILwidget&utm_medium=ABtest&utm_campaign=TOInewHP

Ntweat commented 8 years ago

Working..!! Remove everything after the ?

It is a stop gap solution so you will have to be creative :)

screen shot 2016-07-11 at 2 22 23 pm
tabishishaq commented 8 years ago

:) Yeah working after removing tail of url.

tabishishaq commented 8 years ago

Check it out: http://timesofindia.indiatimes.com/sports/football/top-stories/Portugal-win-Euro-2016-thanks-to-Eders-extra-time-goal/articleshow/53145547.cms

007

Ntweat commented 8 years ago

@tabish4448

Ha ha I have a solution but it is not clean. It will block all scripts. The videos won't play use at your own risk

||$script,domain=indiatimes.com

Ntweat commented 8 years ago

For this site they have hidden it pretty well

Ntweat commented 8 years ago

I know how to fix it.. Problem is that even if you block the divs.. It still changes the opacity of the article to less.

screen shot 2016-07-11 at 5 07 05 pm

If the 0.04 can become 1 it will be solved

reek commented 8 years ago

versions below, should patch all Indian sites that have been reported to me, in case of problems or new anti-adblock, let me know.

https://github.com/reek/anti-adblock-killer/issues/1725#issuecomment-231913672

Ntweat commented 8 years ago

Hey @reek It doesnt work url tried: http://timesofindia.indiatimes.com/india/Zakir-Naiks-speeches-contradictory-wont-be-easy-to-charge-him-say-experts/articleshow/53163582.cms

I re-installed the script and I added the AAKAList

screen shot 2016-07-11 at 7 25 39 pm screen shot 2016-07-11 at 7 26 59 pm
reek commented 8 years ago

@Ntweat Fixed, force update of AakList (Temporary)

Ntweat commented 8 years ago

Still the same @reek

reek commented 8 years ago

https://github.com/reek/anti-adblock-killer/issues/1725#issuecomment-231913672

Ntweat commented 8 years ago

@reek Done. Still no success.

  1. Deleted the script.
  2. Installed it again.
  3. Refreshed the Temporary script a few times
reek commented 8 years ago

Tested on Chrome & Firefox and its ok

reek commented 8 years ago

versions below, should patch all Indian sites that have been reported to me, in case of problems or new anti-adblock, let me know.

https://gist.github.com/reek/dc234ea9687056bd99fe (click raw for install Script) https://gist.github.com/reek/292ed06433b4cfc07bc94cb4fec4adbe (copy raw url add it to AB)

Ntweat commented 8 years ago

@reek Thanks That worked!!!!

reek commented 8 years ago

:smile: :smile: :smile:

tabishishaq commented 8 years ago

Well Done @reek I have removed all manual filters for individual sites and it's working really well. Thanks!

amogh79 commented 8 years ago

@reek what do you mean by the following

https://gist.github.com/reek/292ed06433b4cfc07bc94cb4fec4adbe (copy raw url add it to AB)

please assist

reek commented 8 years ago

@amogh79 https://github.com/reek/anti-adblock-killer/wiki/Add-or-update

amogh79 commented 8 years ago

Thanks :)

On Tue, Jul 12, 2016 at 10:29 AM, reek notifications@github.com wrote:

@amogh79 https://github.com/amogh79 https://github.com/reek/anti-adblock-killer/wiki/Add-or-update

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/reek/anti-adblock-killer/issues/1725#issuecomment-232085081, or mute the thread https://github.com/notifications/unsubscribe/AL09bgohN1Ds3d1q1hg4QYUBMm-biBVoks5qU7LpgaJpZM4JIjaK .

Vacon1 commented 8 years ago

@reek Well now Times of India website again blocking your new scripts man :( :( Look into a permanent "MASTER FIX" , anyway ur doing great 💯

Ntweat commented 8 years ago

@Vacon1 it is working for me. Give the link where it is blocking

Vacon1 commented 8 years ago

@reek Check this link once and tell me if you are blocked or not once http://timesofindia.indiatimes.com/city/vijayawada/73-ghats-44-Pushkar-Nagars-for-pilgrims/articleshow/53017934.cms

Ntweat commented 8 years ago

@Vacon1 Yup all good no ads

Vacon1 commented 8 years ago

Try once again @Ntweat i am unable to access that link at all :(

Ntweat commented 8 years ago

@Vacon1 Here dude

screen shot 2016-07-12 at 2 12 30 pm
Vacon1 commented 8 years ago

weird, everything works except this news for me. Ok i will skip that article :)

reek commented 8 years ago

@Vacon1 both killed

nitin-b commented 8 years ago

Appreciate your work on this..

Unfortunately, it is not working on timesofindia.indiatimes.com in Firefox: Example pages where it is not working: http://timesofindia.indiatimes.com/india/Rahul-Gandhi-targets-PM-Modi-over-SC-verdict-on-Arunachal/articleshow/53188782.cms http://timesofindia.indiatimes.com/world/rest-of-world/Taiwan-sends-warship-to-South-China-Sea-after-ruling/articleshow/53189750.cms

It seems on any user action (such as scroll) the ad-blocker installed message pops up and disables the page from browsing.

I think the keypress, mouse scroll are the events where the page is detecting ad block installation. I would have loved to update / contribute to the filter list or script but don't have knowledge. Any tutorial would be helpful.

thanks

Update: I tried to use firebug to see the detector script but couldn't find it. what I found is following script call: http://api.timespoints.com/common/promo/nocache/widget/TOI?version=40&callback=timespointsapp.config.displayAdsCallBack

Ntweat commented 8 years ago

@nitin-b

I am trying to reproduce the block. I am not getting blocked. I scrolled up and down, waited 5 mins, clicked everywhere on page, pressed a few keys. It still did not block me.

Tell what are you using I tested on Chrome AdblockPlus + Tamper monkey

phone8588 commented 8 years ago

image

I am using chrome and even after using the latest Aaklist version getting the screen above when trying to scroll through the web page. But when I added @@||indiatimes.com/__jsads/ads/.cms$script the webpage began opening but is slower than usual to scroll.

Vacon1 commented 8 years ago

@reek eenadu.net , hindustantimes.com are yet again blocking us !! Have a look once. As soon as we click on news boom it says remove ad block @Ntweat

tabishishaq commented 8 years ago

No @Vacon1 it's working perfectly.

image

image

nitin-b commented 8 years ago

@reek Thanks for responding. I am using Firefox. I have setup Greasemonkey, and 'Anti adblock killer | Reek', all updated.

In addition to timesofindia.indiatimes.com, issue is also on other websites when opened from Firefox: Another news website http://www.ndtv.com/ is also blocking the adblock plus. Example page: http://www.ndtv.com/chennai-news/2-women-commit-suicide-at-iit-madras-campus-1431236

tabishishaq commented 8 years ago

@nitin-b I don't like firefox because it's real slow but to check script of @reek I have tried it for all links you've posted and it's working perfectly in firefox too. maybe you should use tampermonkey instead of greasemonkey.

image image image

silversurfer003 commented 8 years ago

@reek Please note that the TOI Web Page (including news article) opens fine, but once you start SCROLLING, it detects the AdBlocker and shows the Blocked Page. I am using Tampermonkey, Chrome and AdBlock. I was trying to access the following URL: http://timesofindia.indiatimes.com/india/DGCA-warns-2-IndiGo-pilots-for-taking-selfies-in-cockpit/articleshow/53213555.cms

issue

tabishishaq commented 8 years ago

@sagrawal3 working here. have you applied the fixes that @reek posted above?

0011