x button firefox

How to remove the 'x' close button by hovering over unselected firefox

Comments

  • That's nothing Stylish can do anymore.
    But you can edit your userChrome.css to remove the close buttons:
    https://support.mozilla.org/en-US/questions/1177825#answer-1012566
  • That's nothing Stylish can do anymore.
    But you can edit your userChrome.css to remove the close buttons:
    https://support.mozilla.org/en-US/questions/1177825#answer-1012566

    i don't want to remove it. i just want a plain x without mouse highlight hover.
  • Go to your firefox profile folder.
    Look for a folder chrome. If not present, create it.
    Inside there has to be a userChrome.css. If not, create it (create .txt and change .txt to .css)
    Edit that file, write

    /*** Custom rules (no @imports beyond this point!) ***/
    /* Do not remove the @namespace line -- it's required for correct functioning */
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
    
    /* Remove tab close icon hover effect */
    .close-icon:hover { fill-opacity:0 !important; }
    

    and save.
    Restart FF.
    The hovering effect is gone.

Sign In or Register to comment.