Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Post History

80%
+6 −0
Q&A Remove extension icon from Firefox url bar

I'm using the firefox extension metrication. I only ever use it via its entry in the context menu, therefore I would like to remove its icon from the url bar to gain more space: I tried the sugg...

1 answer  ·  posted 1y ago by samcarter‭  ·  last activity 1y ago by samcarter‭

Question firefox
#2: Post edited by user avatar samcarter‭ · 2023-06-02T10:55:08Z (over 1 year ago)
  • I'm using the firefox extension [metrication](https://addons.mozilla.org/en-US/firefox/addon/metrication/). I only ever use it via its entry in the right click context menu, therefore I would like to remove its icon from the url bar to gain more space:
  • ![screenshot of the firefox url bar with the icon of the metrication extension highlighted](https://powerusers.codidact.com/uploads/hqivfzodhibwkm8sow8fv1buj946)
  • I tried the suggestion from https://www.reddit.com/r/FirefoxCSS/comments/zcapzr/add_css_to_remove_addon_icon_from_the_address_bar/
  • I looked up the id of the extension in about:debugging#/runtime/this-firefox
  • ![screenshot of the extension information showing the extension ID and UUID](https://powerusers.codidact.com/uploads/mqfl31ll2yl8v82xp6guahhwe7ed)
  • and added
  • ```
  • #pageAction-urlbar-_670400a3-bbd4-4846-88c9-929844eee39a_{
  • display: none !important;
  • }
  • ```
  • to my `userChrome.css`. Unfortunately, the icon is still there after restarting the browser.
  • I also tried
  • ```
  • #pageAction-urlbar-_metrication@deltamikecharlie_{
  • display: none !important;
  • }
  • ```
  • just to cover all bases, but this did not remove the icon either.
  • I suspect the name of the element I am trying to change is not correct. How to get the correct name? For "normal" elements on a webpage, I would use the element picker to look up the name, but how to do this with UI elements?
  • I'm using
  • - Firefox 102 ESR
  • - macOS 13.4
  • I'm using the firefox extension [metrication](https://addons.mozilla.org/en-US/firefox/addon/metrication/). I only ever use it via its entry in the context menu, therefore I would like to remove its icon from the url bar to gain more space:
  • ![screenshot of the firefox url bar with the icon of the metrication extension highlighted](https://powerusers.codidact.com/uploads/hqivfzodhibwkm8sow8fv1buj946)
  • I tried the suggestion from https://www.reddit.com/r/FirefoxCSS/comments/zcapzr/add_css_to_remove_addon_icon_from_the_address_bar/
  • I looked up the id of the extension in about:debugging#/runtime/this-firefox
  • ![screenshot of the extension information showing the extension ID and UUID](https://powerusers.codidact.com/uploads/mqfl31ll2yl8v82xp6guahhwe7ed)
  • and added
  • ```
  • #pageAction-urlbar-_670400a3-bbd4-4846-88c9-929844eee39a_{
  • display: none !important;
  • }
  • ```
  • to my `userChrome.css`. Unfortunately, the icon is still there after restarting the browser.
  • I also tried
  • ```
  • #pageAction-urlbar-_metrication@deltamikecharlie_{
  • display: none !important;
  • }
  • ```
  • just to cover all bases, but this did not remove the icon either.
  • I suspect the name of the element I am trying to change is not correct. How to get the correct name? For "normal" elements on a webpage, I would use the element picker to look up the name, but how to do this with UI elements?
  • I'm using
  • - Firefox 102 ESR
  • - macOS 13.4
#1: Initial revision by user avatar samcarter‭ · 2023-06-02T10:54:36Z (over 1 year ago)
Remove extension icon from Firefox url bar
I'm using the firefox extension [metrication](https://addons.mozilla.org/en-US/firefox/addon/metrication/). I only ever use it via its entry in the right click context menu, therefore I would like to remove its icon from the url bar to gain more space:

![screenshot of the firefox url bar with the icon of the metrication extension highlighted](https://powerusers.codidact.com/uploads/hqivfzodhibwkm8sow8fv1buj946)

I tried the suggestion from https://www.reddit.com/r/FirefoxCSS/comments/zcapzr/add_css_to_remove_addon_icon_from_the_address_bar/

I looked up the id of the extension in about:debugging#/runtime/this-firefox

![screenshot of the extension information showing the extension ID and UUID](https://powerusers.codidact.com/uploads/mqfl31ll2yl8v82xp6guahhwe7ed)

and added 

```
#pageAction-urlbar-_670400a3-bbd4-4846-88c9-929844eee39a_{
  display: none !important;
}
```

to my `userChrome.css`. Unfortunately, the icon is still there after restarting the browser.

I also tried

```
#pageAction-urlbar-_metrication@deltamikecharlie_{
  display: none !important;
}
```

just to cover all bases, but this did not remove the icon either.

I suspect the name of the element I am trying to change is not correct. How to get the correct name? For "normal" elements on a webpage, I would use the element picker to look up the name, but how to do this with UI elements? 

I'm using

- Firefox 102 ESR
- macOS 13.4