Changing or deleting an element style

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
anon tester
Posts: 1
Joined: Wed Dec 05, 2018 12:34 pm

Changing or deleting an element style

Post by anon tester »

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 ?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Changing or deleting an element style

Post by mapx »

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.
Post Reply