Changing or deleting an element style

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

Changing or deleting an element style

Postby anon tester » Wed Dec 05, 2018 1:44 pm

Hello,

I've been using ABP to delete elements of web pages and its been working really well :D

One thing I'd like to do just to get those web pages 100% is to delete stuff left behind like 'padding'

An example:

Code: Select all
https://uk.investing.com/economic-calendar/


the DIV "wrapper"

.wrapper {
width: 970px;
position: relative;
padding: 114px 0 0;
margin: 0 auto;
}

I'd like to delete or adjust to zero the padding style. Can this be done with ABP?
I've tried with GM, but I gave up, I just don't understand javascript.


Second question:

Is it possible to use ABP to identify the downloadable mp4 of videos on youtube so I can download them manually as you used to with VLC Ctrl+J ?
anon tester
 
Posts: 1
Joined: Wed Dec 05, 2018 1:34 pm

Re: Changing or deleting an element style

Postby mapx » Wed Dec 05, 2018 4:48 pm

1. No, You have to use uBo (ublock origin - adblocker) for such feature:
https://github.com/gorhill/uBlock/wiki/ ... ntax#style

Don't use 2 adblockers.

2. No. You have to use some downloader extension /addon which can create the wanted mp4 / avi for you.
User avatar
mapx
 
Posts: 21733
Joined: Thu Jan 06, 2011 3:01 pm


Return to Adblock Plus for Firefox support

Who is online

Users browsing this forum: No registered users and 13 guests

cron