PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, October 16, 2022

[FIXED] How do I remove the X buttons in Firefox?

 October 16, 2022     browser, firefox     No comments   

Issue

I went to my profile settings and added a folder called 'chrome' and a file called userChrome.css.

I included this code:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#tabbrowser-tabs .tabbrowser-tab .tab-close-button { display:none!important; }

I restarted my Firefox instance and it still shows the X close button in the tabs.


Solution

Note: Firefox 69 and new versions will not support userChrome.css and userContent.css by default unless preference is set by the user.

To use userChrome.css follow below steps:

  • First type about:config in url/address bar
  • Then search for the property named toolkit.legacyUserProfileCustomizations.stylesheets
  • Set it to True and restart firefox


Answered By - deadshot
Answer Checked By - David Goodson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing