Help! Anti-Adblock is dominating ABP!

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
Camargo

Help! Anti-Adblock is dominating ABP!

Post by Camargo »

http://forum.clubedohardware.com.br/

The website above restricts it's users if they use adblock. What should we do? They update their anti-adblock a lot.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Help! Anti-Adblock is dominating ABP!

Post by mapx »

1.uncheck easylist
2.go to
https://easylist.adblockplus.org/en/

subscribe
EasyList without element hiding
Guest

Re: Help! Anti-Adblock is dominating ABP!

Post by Guest »

mapx wrote:1.uncheck easylist
2.go to
https://easylist.adblockplus.org/en/

subscribe
EasyList without element hiding
Didn't work ._.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Help! Anti-Adblock is dominating ABP!

Post by mapx »

does not work even disabling ABP, can you test too without ABP enabled ?
Garcia

Re: Help! Anti-Adblock is dominating ABP!

Post by Garcia »

Yeah, even when disabling ABP on that page it shows the message. Maybe they injected a code to see if we have ABP installed?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Help! Anti-Adblock is dominating ABP!

Post by mapx »

no, I even disabled completely ABP, there isnt such a trick ... they messed up the site.
clubedohardwarekiller

Re: Help! Anti-Adblock is dominating ABP!

Post by clubedohardwarekiller »

  • Open about:support
  • Click on Show folder to open your profile folder
  • Close Firefox
  • Open the Chrome subfolder. If it doesn't exist, create it
  • Open userContent.css . If it doesn't exist, create it
  • Add this code to userContent.css:

    Code: Select all

    @-moz-document domain(clubedohardware.com.br) {
    #content{display:block !important}
    #some_ad_block_key_popup,#document_modal{display:none !important}
    }
    
  • Run Firefox
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Help! Anti-Adblock is dominating ABP!

Post by mapx »

the anti adblock killer was updated for this site, so update the script or install it (in greasemonkey)

see step 3 from:
[Redacted]
Last edited by rach on Thu Nov 19, 2015 3:00 pm, edited 1 time in total.
Garcia

Re: Help! Anti-Adblock is dominating ABP!

Post by Garcia »

clubedohardwarekiller wrote:
  • Open about:support
  • Click on Show folder to open your profile folder
  • Close Firefox
  • Open the Chrome subfolder. If it doesn't exist, create it
  • Open userContent.css . If it doesn't exist, create it
  • Add this code to userContent.css:

    Code: Select all

    @-moz-document domain(clubedohardware.com.br) {
    #content{display:block !important}
    #some_ad_block_key_popup,#document_modal{display:none !important}
    }
    
  • Run Firefox
Thanks, it worked!
Garcia

Re: Help! Anti-Adblock is dominating ABP!

Post by Garcia »

mapx wrote:the anti adblock killer was updated for this site, so update the script or install it (in greasemonkey)

see step 3 from:
[Redacted]
No thanks, I'm not going to install anything from untrusted parties.
Last edited by rach on Thu Nov 19, 2015 3:01 pm, edited 1 time in total.
garcia

Re: Help! Anti-Adblock is dominating ABP!

Post by garcia »

clubedohardwarekiller wrote:
  • Open about:support
  • Click on Show folder to open your profile folder
  • Close Firefox
  • Open the Chrome subfolder. If it doesn't exist, create it
  • Open userContent.css . If it doesn't exist, create it
  • Add this code to userContent.css:

    Code: Select all

    @-moz-document domain(clubedohardware.com.br) {
    #content{display:block !important}
    #some_ad_block_key_popup,#document_modal{display:none !important}
    }
    
  • Run Firefox
And they've killed us again.

Could you PLEASE EXPLAIN how you discovered this so we can continue blocking that forum blockage?
MoFoQ
Posts: 5
Joined: Thu Dec 10, 2009 4:21 am

Post by MoFoQ »

garcia wrote: And they've killed us again.

Could you PLEASE EXPLAIN how you discovered this so we can continue blocking that forum blockage?
Seems to work fine for me.

Just make sure that userContent.css is in a directory named "chrome" in your profile directory.

As for explaining... there's a bit of inline Javascript that detects if the banner div element ('div#banner') has a height less than 50, if so, then it hides the main content div (aptly named "content") and then injects a model and the message.
The javascript code is below.

Code: Select all

<script type="text/javascript">
				var disableCookie = 0; 

				if ($('banner').getHeight() < 50)
				{
					var hideContent = 1;				
					if(hideContent == 1){
						$('content').setStyle({display:'none'});
					}
					var addBlocking = null,expireDate = new Date();
					expireDate.setDate( expireDate.getDate() + parseInt( 365 ) );
					var dateIt = expireDate.toGMTString(),
					showContent = 1;
					addBlocking = new ipb.Popup( 'some_ad_block_key', { type: 'pane',
							   											modal:true,
																	 	initial: $('ad_block').innerHTML,
																	  	hideAtStart: false,
																	 	w: '728px',
																	  	h: "200px",
																		close: 'a[rel="close"]',
																		hideClose: count ? true:false				
																		},
																		{
																			afterInit : function(){
																			$('ad_block').remove();
																			if(count){
																					var timer = setTimeout(function(){ addBlocking.hide() }, 9999000);		
																				}
																			},
																			afterHide: function() {
																										if(!disableCookie){
																											ipb.Cookie.set('stopIt',1, dateIt);
																										}
																										if(showContent){
																											$('content').setStyle({display:'block'});
																										}
																							 			addBlocking.kill();
																							 		}
																		}
												);
	
				}
			</script>

As for the CSS code above, it tells firefox that these rules apply to "clubedohardware.com.br" only and that div#content's display setting should always be set to "block" (block format as oppose to "none") and the popup and modal display should be always set to "none" (thereby hiding the message)

Code: Select all

@-moz-document domain(clubedohardware.com.br) {
#content{display:block !important; }
#some_ad_block_key_popup,#document_modal{display:none !important}
}


edit: typo
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Help! Anti-Adblock is dominating ABP!

Post by lewisje »

Garcia wrote:
mapx wrote:the anti adblock killer was updated for this site, so update the script or install it (in greasemonkey)

see step 3 from:
[Redacted]
No thanks, I'm not going to install anything from untrusted parties.
I know at the very least that the people behind ABP support Reek's effort, and you can even inspect his Javascript and his ABP filter-list to see what's going on.
Last edited by rach on Thu Nov 19, 2015 3:02 pm, edited 1 time in total.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Garcia

Re: Help! Anti-Adblock is dominating ABP!

Post by Garcia »

lewisje wrote:I know at the very least that the people behind ABP support Reek's effort, and you can even inspect his Javascript and his ABP filter-list to see what's going on.
It's untrusted for me, by my criteria. I don't have Java installed on my browser, and I never will. Neither Java or Flash, both will never be installed here :wink:
MoFoQ wrote:Seems to work fine for me.

Just make sure that userContent.css is in a directory named "chrome" in your profile directory.
Yeah, I was creating a folder called "Chrome" which doesn't work , but creating one called "chrome" does.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Help! Anti-Adblock is dominating ABP!

Post by mapx »

Garcia wrote:I don't have Java installed on my browser, and I never will. Neither Java or Flash, both will never be installed here
it's javascript not java.
If you'll avoid javascript in your browser 90% of the sites will be broken.
Post Reply