Adblock hides the adverts on http://www.outlook.com but leaves an empty sidebar which i want to remove There are 2 methods i found to remove the sidebar manually but i want to do it with adblock plus
Method 1: the sidebar div is set as:
<div id="contentRight" class="ContentRight WithSkyscraper">
by removing WithSkyscraper from the class the sidebar is hidden.
Method 2: The other way of doing it is in the css file there is a class:
.App.Unmanaged .ContentRight.WithSkyscraper #ManagedContentWrapper
{
padding-right:160px;
}
by deleting padding-right or changing 160px to 0px the sidebar also hides
is it possible to do one of these 2 methods with adblock plus? Or is there another addon that could be used
Thanks for your help
Element hiding filters are designed to indicate which element in the page are to be hidden. Snippet filters are used to run snippets of code in the page to defeat more complex advertising display.
Virtually all ad blocking browser extensions, including AdBlock, use rules to determine what should be blocked and hidden on web pages you visit. These rules are also known as filters, and they are provided in collections called filter lists.
I installed the addon Stylish on to firefox and created my own style to change the width to 0px
.App.Unmanaged .ContentRight.WithSkyscraper #ManagedContentWrapper
{
padding-right: 0px !important;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With