Trying to remove "Forget About This Site" from sidebar context menu
I've figured out how to remove the menu option from the quick history drop down
https://i.imgur.com/qyAcC1e.png
but when I open the sidebar with the "View History Sidebar" option the "Forget About This Site" Button comes back.
https://i.imgur.com/YbSKfGF.png
I'm using this in my userChrome.css to do this.
#placesContext_deleteHost {
display: none !important;
}
When I use the Developer Tools to inspect the sidebars "Forget About This Site" button I get this
https://i.imgur.com/43IuX3i.png
which supposedly shows that this button is also "placesContext_deleteHost" but it's not hidden so I have no idea whats going on. Please help me :)
Posted Oct 29, 2020, 3:27 PM UTC
142
Are you perhaps scoping your style rules to only apply to browser.xhtml?
Yup that was the problem. Thanks :)