Chrome/ABP is not using all free space

Everything about using Adblock Plus on Google Chrome
Post Reply
xnorf
Posts: 2
Joined: Mon Oct 10, 2016 11:53 pm

Chrome/ABP is not using all free space

Post by xnorf »

Hello forum users.

I would like block even more elements on some pages, but some content can't be selected to be blocked. As result, the desired content is somewhere in the middle of the page and not aligned to the left and/or top. Can this be be fixed in a future version?
To make things clearer, take a look at the picture below. I cannot block the area to the left side of the yellow selected area in the middle.
Image
See also the following informations
Adblock Plus Version 1.12.2.
Browser Chrome Version 53.0.2785.143 m (64-bit)
OS: Windows 10 pro 64 bit
To reproduce the error, just visit http://de.webfail.com/
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Chrome/ABP is not using all free space

Post by lewisje »

The page-content has a fixed width of 1040px and "auto" left and right margins; this common technique is known as "centering the content" and it's not something that an ad-blocker could fix.

Consider adding a UserStyle or UserScript (a UserStyle is preferred if you already use Stylish or a similar extension).

UserStyle:

Code: Select all

#page {
  margin-left: 0;
}
UserScript:

Code: Select all

document.getElementById('page').style.marginLeft = '0';
Whichever way you choose, be sure it applies only to de.webfail.com to avoid false positives.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
xnorf
Posts: 2
Joined: Mon Oct 10, 2016 11:53 pm

Re: Chrome/ABP is not using all free space

Post by xnorf »

Thank you very much.
Post Reply