Can I configure/script PM to hide a particular element on a particular USL? Topic is solved

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

kjpetrie
Newbie
Newbie
Posts: 4
Joined: Mon, 12 Mar 2018, 12:58

Can I configure/script PM to hide a particular element on a particular USL?

Postby kjpetrie » Mon, 12 Mar 2018, 14:20

There's a page I access every day which has a large header I don't need to see which takes up a large area in the window. At the moment I use Inspect Element and then Delete Node to remove it. I would like to automate that without installing any add-on or extension if possible.

I think it ought to be possible to do that by adding a CSS or JavaScript file in the right place in my profile, or even by setting something in about:config, but I can't work out where to put it.

Any ideas?

User avatar
Isengrim
Lunatic
Lunatic
Posts: 256
Joined: Tue, 08 Sep 2015, 22:54
Location: 127.0.0.1
Contact:

Re: Can I configure/script PM to hide a particular element on a particular USL?

Postby Isengrim » Mon, 12 Mar 2018, 15:56

Some ad blocking add-ons allow you to select an element and add it to a blocklist.
Linux Mint 18.3 Cinnamon (64-bit)
Windows 7 (64-bit)

User avatar
adesh
Astronaut
Astronaut
Posts: 518
Joined: Tue, 06 Jun 2017, 07:38

Re: Can I configure/script PM to hide a particular element on a particular USL?

Postby adesh » Mon, 12 Mar 2018, 17:38

kjpetrie wrote:Any ideas?

userContent.css

kjpetrie
Newbie
Newbie
Posts: 4
Joined: Mon, 12 Mar 2018, 12:58

Re: Can I configure/script PM to hide a particular element on a particular URL?

Postby kjpetrie » Wed, 14 Mar 2018, 12:28

Where would I put userContent.css?


kjpetrie
Newbie
Newbie
Posts: 4
Joined: Mon, 12 Mar 2018, 12:58

Re: Can I configure/script PM to hide a particular element on a particular USL?  Topic is solved

Postby kjpetrie » Thu, 15 Mar 2018, 11:48

Thank you for the links. The problem is, PaleMoon does not have a chrome or Chrome folder, at least not one I can find in my profile. That's why I came here and set up an account to ask.

Update: Oh, I see! I have to create a chrome folder! Most of the instructions I'd read seemed to assume it already existed, so when I couldn't find it I assumed the instructions were FF-specific and didn't apply to PM.
Last edited by kjpetrie on Thu, 15 Mar 2018, 12:18, edited 3 times in total.


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: No registered users and 6 guests