Page 1 of 1

Remove bookmark star icon from address bar

Posted: 2015-09-18, 18:55
by Adrian331
http://forum.palemoon.org/viewtopic.php?f=3&t=3663

Solution in above thread does not resolve issue for me. I have searched forum and not found anything that does the trick.

I click on Help - Troubleshooting information - click on Public Folder Show Folder. In the folder this brings up, there is a folder called chrome, I click on the chrome folder, there is a document called userChrome.css, in this file there is this exact text;

Code: Select all

/* Remove Bookmark Star in Search bar */
#star-button {
  display: none !important;
}
Restarted Pale Moon, restarted computer but bookmark star still appearing.

Version 25.7.0
Windows 10
32bit Pale Moon
Star visible with both themes Maxi4 1.1.1 and Default 25.7.0

Any help would be appreciated.

Re: Remove bookmark star icon from address bar

Posted: 2015-09-18, 22:16
by tenseys
I just tried to do it too after reading your post and I couldn't do it either at first.

One thing I would suggest is to make sure the userChrome.css file looks like this:
Untitled.png
I found that if you don't save it right as userChrome.css when you are creating it - it won't create a css file and it won't get rid of the star.
So for example put the code in the text file, save as File Name: userChrome.css and perhaps set Save as type to All files.

There is also an extension called ChromEdit Plus that can do it automatically.

Re: Remove bookmark star icon from address bar

Posted: 2015-09-19, 01:52
by _Poke_
Like tenseys said, make sure you've saved it as userChrome.css not userChrome.css.txt
If that doesn't work, you could try to apply it using Stylish. The Stylish code would look like this:

Code: Select all

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url("chrome://browser/content/browser.xul"){
  /* Remove Bookmark Star in Search bar */
  #star-button {
    display: none !important;
  }
}
I like Stylish since it makes it easier to change the browser and see results instantly, no restart. You may want to avoid it if this is the only change you want though since it is another extension to run, making your browser that little bit more demanding.

Re: Remove bookmark star icon from address bar

Posted: 2015-09-19, 06:56
by Adrian331
tenseys wrote:I just tried to do it too after reading your post and I couldn't do it either at first.

One thing I would suggest is to make sure the userChrome.css file looks like this:
Untitled.png
I found that if you don't save it right as userChrome.css when you are creating it - it won't create a css file and it won't get rid of the star.
So for example put the code in the text file, save as File Name: userChrome.css and perhaps set Save as type to All files.

There is also an extension called ChromEdit Plus that can do it automatically.
That worked thanks, what I did initially was create the document in the folder through right click - new text document, then open it make the changes necessary then save as, change the name to userChrome.css and change the Save as type to all files. This didn't update the actual format of the document so it wasn't getting rid of the bookmark star. Just needed to delete it and recreate it from within notepad itself.

Cheers