remove subscribe and bookmarks from the address bar

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.
Please direct questions that are Mac or Linux-specific (dealing with installation and OS integration) to the appropriate Linux or Mac board.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions that are specific for Linux and Mac to the dedicated boards for those operating systems.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Locked
mekineer
Fanatic
Fanatic
Posts: 113
Joined: 2013-11-22, 09:01
Location: nyc

remove subscribe and bookmarks from the address bar

Post by mekineer » 2014-01-05, 23:49

For the sake of customizing, is there a way to remove "subscribe to this page", and "bookmark this page" from the address bar?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29203
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: remove subscribe and bookmarks from the address bar

Post by Moonchild » 2014-01-06, 00:00

Certainly, although you'll have to use userChrome.css for the bookmark star, I think. selector should be #star-button if memory serves -- Blacklab, some instructions perhaps? :angel:

The RSS/feed icon can be removed from the address bar by setting browser.urlbar.rss to false in about:config. See also the Release Notes of the version when this was introduced. (24.1.0)
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

dark_moon

Re: remove subscribe and bookmarks from the address bar

Post by dark_moon » 2014-01-06, 04:33

Put this code in your userchrome.css:
#star-button{display:none!important}

ps154

Re: remove subscribe and bookmarks from the address bar

Post by ps154 » 2014-01-07, 15:02

dark_moon wrote:Put this code in your userchrome.css:
#star-button{display:none!important}
Is entering this code all that is needed to be done? I am not having luck with this working? Thanks.

Blacklab
Astronaut
Astronaut
Posts: 735
Joined: 2012-06-08, 12:14
Location: Scotland UK

Re: remove subscribe and bookmarks from the address bar

Post by Blacklab » 2014-01-08, 16:19

Yes - I've just checked my own copy of that CSS script - and it should be working if you've put it in the right place and restarted the browser? :)
I prefer to lay the script out a bit differently (the hash marks /* & */ either side of the script title mean anything between is treated as plain text):

Code: Select all

/* Remove Bookmark Star in Search bar */
#star-button {
  display: none !important;
}
...and the problem isn't the semi-colon after the !important; in my version - that isn't actually required here - dark_moon will be ticking me off for that!

Full instructions on how to insert a CSS script into your Profile are laid out in "Changing Bookmark Folder Icons" tutorial - adapt to suit this simpler case!

dark_moon

Re: remove subscribe and bookmarks from the address bar

Post by dark_moon » 2014-01-08, 17:14

:D
Yes a semicolon isn't required at the end.

Yeah ps154, my code works. I use it too.
Just put it in your file and restart palemoon.

mekineer
Fanatic
Fanatic
Posts: 113
Joined: 2013-11-22, 09:01
Location: nyc

Re: remove subscribe and bookmarks from the address bar

Post by mekineer » 2014-02-18, 00:33

I have yet to find a way to remove "Subscribe" from the address bar. The following didn't work, although it may be for the context menu:
#subscribeToPageMenuitem, #subscribeToPageMenupopup {display: none !important; }

The following worked to get rid of Subscribe from the Bookmarks menu:
#BookmarksMenu #feedsMenu {display: none !important;}
#BookmarksMenu #feedsMenu + menuseparator {display: none !important;}

jumba

Re: remove subscribe and bookmarks from the address bar

Post by jumba » 2014-02-18, 07:49

mekineer wrote:I have yet to find a way to remove "Subscribe" from the address bar.
You missed Moonchild's post, it is working for me:
Moonchild wrote:The RSS/feed icon can be removed from the address bar by setting browser.urlbar.rss to false in about:config. See also the Release Notes of the version when this was introduced. (24.1.0)

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 4468
Joined: 2011-10-03, 10:19
Location: Texas, USA

Re: remove subscribe and bookmarks from the address bar

Post by Night Wing » 2014-02-18, 12:25

In "about:config", removing the Subscribe feed by using: "browser.urlbar.rss" (without using any of the quote marks) and toggling the setting to False works for me too.
Linux Mint 20.1 (Ulyssa) Xfce 64 Bit with 64 Bit linux Pale Moon

mekineer
Fanatic
Fanatic
Posts: 113
Joined: 2013-11-22, 09:01
Location: nyc

Re: remove subscribe and bookmarks from the address bar

Post by mekineer » 2014-02-18, 18:21

Oh, I completely missed the second part of the post!

Locked