Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I make the "find in page" (ctrl-f) bar a permanent fixture for all tabs everytime.

  • 7 प्रत्युत्तर
  • 2
  • 3 views
  • के द्वारा अंतिम प्रतियुतर isaac.christie

more options

The search bar that appears with hotkey Ctrl-F, I would like to make that bar permanent, I want it to always show for all tabs. So that I dont need to Ctrl-F each time

The search bar that appears with hotkey Ctrl-F, I would like to make that bar permanent, I want it to always show for all tabs. So that I dont need to Ctrl-F each time

All Replies (7)

more options

Hi, may have some bugs as is a beta but is worth a look : https://addons.mozilla.org/en-GB/firefox/addon/brandon1024-find/

Seems to be all there is in what your looking for.

Please let us know if this solved your issue or if need further assistance.

more options

Pkshadow said

Hi, may have some bugs as is a beta but is worth a look : https://addons.mozilla.org/en-GB/firefox/addon/brandon1024-find/ Seems to be all there is in what your looking for. Please let us know if this solved your issue or if need further assistance.

actually i already tried that addon. not quite what i was looking for. this other thing i found seems closer to what id like, but i cant get it to work, it uses something called the "userChrome.css" to change the way firefox behaves. https://support.mozilla.org/en-US/questions/773700 http://www.linnhe2.free-online.co.uk/firefox/chrome.html I created the "chrome" folder in my firefox profile and also created the "userChrome.css" file with


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

  1. FindToolbar { display: -moz-box !important; }

but it doesnt seem to do anything, im not sure if i missed a step or if maybe this method of modifying firefox's behaviour doesnt work anymore with the latest version which is what i have "Firefox Quantum 60.0.2 64bit"

more options

Hi, resident guru on userChrome who owns this site would know, maybe. *https://www.userchrome.org/ All can do is try and make sure everything is copy, pasted as was found. Also that file extension is visible so not making usserChrome.css.txt Also Restart Firefox after making changes.

Version 60 there were some changes that killed off some scripts. See how you make out 1 more time then post back for help.

more options

Pkshadow said

Hi, resident guru on userChrome who owns this site would know, maybe. *https://www.userchrome.org/ All can do is try and make sure everything is copy, pasted as was found. Also that file extension is visible so not making usserChrome.css.txt Also Restart Firefox after making changes. Version 60 there were some changes that killed off some scripts. See how you make out 1 more time then post back for help.

thanks for the quick replies. I do have my windows explorer set to show file extensions so I am sure the file is userChrome.css I also went through the site you linked and tried the steps again with no luck. I did also restart firefox on both tries.

more options

Pkshadow said

Hi, resident guru on userChrome who owns this site would know, maybe. *https://www.userchrome.org/ All can do is try and make sure everything is copy, pasted as was found. Also that file extension is visible so not making usserChrome.css.txt Also Restart Firefox after making changes. Version 60 there were some changes that killed off some scripts. See how you make out 1 more time then post back for help.

i also tried adding more tricks to my userChrome.css file to make sure firefox was actually using it and those did work, so i believed ive narrowed down the problem. the line of code "#FindToolbar { display: -moz-box !important; }" doesn't work

isaac.christie द्वारा सम्पादित

more options

See:

  • chrome://global/skin/findBar.css

CSS rules applied when the findbar is hidden:

findbar[hidden] {
  /* Override display:none to make the transition work. */
  display: -moz-box;
  visibility: collapse;
  margin-bottom: -1em;
  opacity: 0;
  transition-delay: 0s, 0s, 150ms;
}

You need to override these properties. But it doesn't work probably because the findbar needs to be initialized via JavaScript to make it work properly. The code works though in a way that you can't close the find bar once it is open.

findbar[hidden] {
 visibility: visible !important;
 margin-bottom: 0 !important
 opacity: 1 !important
}
more options

cor-el said

See:
  • chrome://global/skin/findBar.css
CSS rules applied when the findbar is hidden:
findbar[hidden] {
  /* Override display:none to make the transition work. */
  display: -moz-box;
  visibility: collapse;
  margin-bottom: -1em;
  opacity: 0;
  transition-delay: 0s, 0s, 150ms;
}

You need to override these properties. But it doesn't work probably because the findbar needs to be initialized via JavaScript to make it work properly. The code works though in a way that you can't close the find bar once it is open.

findbar[hidden] {
 visibility: visible !important;
 margin-bottom: 0 !important
 opacity: 1 !important
}

thanks for your post, I wont close the question though incase there is a more elegant solution