Вы просматриваете вопросы с метками:

Unable to show File Picker (continued) and my solution

I had the same problem as, for example, this: https://support.mozilla.org/en-US/questions/1375244 firefox (on linux) was unable to open a file browser to the local file… (читать ещё)

I had the same problem as, for example, this:

 https://support.mozilla.org/en-US/questions/1375244

firefox (on linux) was unable to open a file browser to the local filesystem on clicking a website-provided button for file uploads, e.g. here https://video-converter.com/

I have seriously messed up with firefox settings over the years in order to safeguard my privacy, against all the attempts by firefox to infringe it. (Admitteddly, not as much as google chrome, safari and, got forbid, m$ edge). One of these fixes was to link the file/database content-prefs.sqlite (found in my firefox profile dir) to /dev/null. It was this that caused a problem with the file browser not showing. WOW!

Once I deleted said file (linking to /dev/null). Firefox started and all was OK wrt the file brower.

That caused me to create a script to be run before and after firefox launch, searching for all these privacy-infringing databases in my profile dir and erasing them.

The steps to this are: 1) edit /usr/share/applications/org.mozilla.firefox.desktop and replace all Exec=firefox entries with Exec=/usr/local/bin/firefox-custom.sh 2) create a new file /usr/local/bin/firefox-custom.sh with this content

  1. !/bin/bash

CMD="firefox" if [ -x ~/bin/firefox-custom.sh ]; then CMD=~/bin/firefox-custom.sh fi echo "$0 : executing firefox with this command :" echo " ${CMD} $*" ${CMD} $*

3) create a ~/bin/firefox-custom.sh file with this content

  1. !/bin/bash

function eras { local f="$1" echo "erasing file '$f' ..." rm -f "${f}" }

echo "$0 : on starting, erasing various sensitive firefox databases ..."

while IFS= read -r afil && -n "$afil" ; do eras "${afil}" done <<< "$(find ~/.mozilla/firefox -type f -name 'content-prefs.sqlite')"

echo "$0 : now executing firefox ..." firefox $*

echo "$0 : on exiting, erasing various sensitive firefox databases ..." while IFS= read -r afil && -n "$afil" ; do eras "${afil}" done <<< "$(find ~/.mozilla/firefox -type f -name 'content-prefs.sqlite')"

lanuching firefox now either from a desktop file (e.g. via Plank launcher) or from the command line: gio launch /usr/share/applications/org.mozilla.firefox.desktop runs the above script before and after firefox running.

Disclaimer: the above script erases files in your profile directory, use at your own risk. Perpahs make a backup copy of your profile dir before.

Архивировано 1 299

Tab bar shrinks after grabbing single tab since firefox 132/133 (custom userchrome.css)

Hello Since few weeks (maybe on firefox 132 already, but surely on firefox 133) I observe issue with my firefox UI. While grabbing and holding tab (to change its position… (читать ещё)

Hello Since few weeks (maybe on firefox 132 already, but surely on firefox 133) I observe issue with my firefox UI. While grabbing and holding tab (to change its position, move it on bar), whole tab bar gets thinner which realigns my whole UI. Issue is probably caused by my custom userchrome.css but I need it in current or similar form. Maybe there is some css specialist who can help me remove unnecessary parts of code?

My css is as follows:

.tab-background{ border-radius: 0px 0px !important; margin-bottom: 0px !important; } .tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background{ background-color: color-mix(in srgb, currentColor 4%, transparent); } menupopup > menu, menupopup > menuitem{ padding-block: 3px !important; min-height: 0px !important; }

root{

--arrowpanel-menuitem-padding: 2px !important; }

Решён Архивировано 5 259

Documentation of about:config settings

Why is there in about:config no reference to documentation of the displayed settings? e.g. browser.chrome.toolbar_tips.hide_on_keydown What is it? What is the meaning of… (читать ещё)

Why is there in about:config no reference to documentation of the displayed settings?

e.g. browser.chrome.toolbar_tips.hide_on_keydown

What is it? What is the meaning of the values? What is the default value? Why do we have to guess?

It is probably documented somewhere (I hope). Why is there no reference to it in about:config?

Архивировано 5 250

Where is the /pdf.js/web/viewer.css file (i'm on windows)?

I want to change this option : .pdfViewer .page { /* border: var(--page-border); */ border: 0; } to remove the borders between pages in the pdf viewer. I tried doing t… (читать ещё)

I want to change this option :

.pdfViewer .page {

 /* border: var(--page-border); */
 border: 0;

}

to remove the borders between pages in the pdf viewer. I tried doing this in the userChrome.css file but it didnt work.

Архивировано 1 230

How to disable the Enterprise Roots preference

https://support.mozilla.org/en-US/kb/how-disable-enterprise-roots-preference Hi. I have followed the instructions on the Mozilla site above however this does not work. Th… (читать ещё)

https://support.mozilla.org/en-US/kb/how-disable-enterprise-roots-preference

Hi. I have followed the instructions on the Mozilla site above however this does not work. The Enterprise Roots keep reloading after a while.

Any idea how to stop this happening?

I have read many articles on this but nothing works. The E Roots will in initially not reload but eventually after a day or three its back.

Many thanks

Архивировано 8 210

toLocaleString outputs different in FF Developer

new Date(1743623960000).toLocaleString(['en-ES']) outputs "4/2/2025, 7:59:20 PM" in normal firefox and "2/4/2025, 7:59:20 PM" in Firefox Developer. Test on MacOS and Ubun… (читать ещё)

new Date(1743623960000).toLocaleString(['en-ES'])

outputs "4/2/2025, 7:59:20 PM" in normal firefox and "2/4/2025, 7:59:20 PM" in Firefox Developer. Test on MacOS and Ubuntu.

Архивировано 2 80

Passwords not restoring

I have tried every support advice I can find and no matter what I do passwords are not restoring. Here is what I have done: Opened about:profiles Opened profile folder Ex… (читать ещё)

I have tried every support advice I can find and no matter what I do passwords are not restoring. Here is what I have done: Opened about:profiles Opened profile folder Exit firefox transfer key4.db and signons.jstor files from backup to the new folder

Nothing happens.

I have tried creating new folders and following those steps. I have tried everything.

Архивировано 10 120

Firefox automatically redirects despite enabling 'accessibility.blockautorefresh'

Steps to reproduce- (1) Enable 'accessibility.blockautorefresh' in 'about:config' (This is said to ask for permission before redirecting) (2) Go here (3) End up here wit… (читать ещё)

Steps to reproduce- (1) Enable 'accessibility.blockautorefresh' in 'about:config' (This is said to ask for permission before redirecting) (2) Go here (3) End up here without permission

Extensions I'm using- Privacy Badger, uBlock origin, clearURLs and Show/hide passwords

Another question, does enabling this setting also stop internal redirection?

Архивировано 2 90

layout.css.devPixelsPerPx setting

I have to manually change the layout.css.devPixelsPerPx setting evertime I switch from my laptop to an external monitor. What can I do to avoid this every single time? … (читать ещё)

I have to manually change the layout.css.devPixelsPerPx setting evertime I switch from my laptop to an external monitor. What can I do to avoid this every single time?

Архивировано 2 150

css code for chrome files no longer works

duplicate of /questions/1498770 thread Recently (around Fx 134) css code for chrome files stopped working. The code I use is set out below. It previously changed the ba… (читать ещё)

duplicate of /questions/1498770 thread

Recently (around Fx 134) css code for chrome files stopped working. The code I use is set out below. It previously changed the background colour to tan ( #dbc3a3 ), the text colour to dark blue ( #000080 ) and the font size to 17 px. The code found at the following location also no longer works for chrome files : https://gist.github.com/MrOtherGuy/c592f6443dd228022966cbe5715ad5c9

@-moz-document url-prefix("about:"), url-prefix("chrome://"), url-prefix("resource://"){

 :root {
     --in-content-page-color: #000080 !important;
     --in-content-text-color: #000080 !important;
     --in-content-page-background: #dbc3a3 !important;
     --in-content-box-background: #e2cfb6 !important;
     --in-content-deemphasized-text: var(--in-content-text-color) !important;
     scrollbar-color: #6495ed #d9d9d9 !important; 
     --background-color-box: var(--in-content-page-background) !important;
     --text-color: var(--in-content-text-color) !important;      
     color:var(--in-content-text-color) !important;
     --background-color-canvas: var(--in-content-page-background) !important;
     --table-row-background-color-alternate: var(--in-content-box-background) !important;    
 menulist > menupopup{ background-color: var(--in-content-page-background) !important; }}}
 

@-moz-document url-prefix("chrome:") {

 html, body, div, h1, p, table, td, tr { background-color: #dbc3a3 !important;
   color: #000080 !important;
   font-size: 17px !important; }
 tr:hover { background-color: #b3d1ff !important; }
 tr.odd:hover { background-color: #b3d1ff !important; }

}

Заблокирован Архивировано 1 329

Transfering Firefox configuration to a new computer

Transferring bookmarks & backups for passwords is easy and I'm not worried about that. But the about:config settings that I have customized and accreted over years s… (читать ещё)

Transferring bookmarks & backups for passwords is easy and I'm not worried about that. But the about:config settings that I have customized and accreted over years so that nothing beeps, spins, auto-plays, loops, or throbs a tab, are not so straightforward. I'd like to review what files I can save how to make sure I do not lose these, which are the most important things to me about my Firefox installs--keeping the web safe for quiet, nondistracting searches and reading.

Windows 10 Enterprise, managed by my organization, but with just enough admin privileges to customize my Firefox.

Архивировано 4 200

About:config setting reverts upon Firefox restart

Hi. There is a new feature of Firefox that bothers me. It is when I drag tabs around the top, they try to group when I don't want them to. So I go to about:config and fin… (читать ещё)

Hi. There is a new feature of Firefox that bothers me. It is when I drag tabs around the top, they try to group when I don't want them to. So I go to about:config and find the "browser.tabs.groups.enabled" key and set it to false. But when I restart Firefox, the change reverts. How do I fix this so the change stays?

I've already tried going to Menu->Help->More troubleshooting information->Profile Folder->Open folder, but there is no "user.js" file there. Do I have to do a Firefox reset to fix this? I hope not...

Note that I'm pretty sure that other settings that I change do not revert when I restart Firefox. Right now, it seems to be just this one about:config setting, unless the new version of Firefox reverts all manually changed about:config settings upon restart.

Thanx in advance for any help.

Решён Архивировано 2 426

Pressing <enter> produces <div> </div> instead of <br>

I asked this question two years ago and the chosen solution no longer works for newer versions of Firefox. (135 in my case) . setting editor.use_div_for_default_newlines … (читать ещё)

I asked this question two years ago and the chosen solution no longer works for newer versions of Firefox. (135 in my case) . setting editor.use_div_for_default_newlines in about:config to FALSE does not work.

I am tired of pressing SHIFT <enter> to get < br > . Unnessessary < div >s make code harder to read.

Any new setting I could use to get
for pressing the enter key?

Архивировано 1 169

Firefox Dev Tools doesn't show css changes after closing and re-opening dev tools

Steps to recreate: Open any website Make any css changes. These will be shown in the Changes tab in the dev tools Close dev tools, then re-open. Now those changes won… (читать ещё)

Steps to recreate:

  1. Open any website
  2. Make any css changes. These will be shown in the Changes tab in the dev tools
  3. Close dev tools, then re-open. Now those changes won't be shown

Sometimes I need to close dev tools in order to see how the web page would look normally.

Архивировано 1 150

css code for chrome files no longer works

Recently (around Fx 134) css code for chrome files stopped working. The code I use is set out below. It previously changed the background colour to tan ( #dbc3a3 ), the… (читать ещё)

Recently (around Fx 134) css code for chrome files stopped working. The code I use is set out below. It previously changed the background colour to tan ( #dbc3a3 ), the text colour to dark blue ( #000080 ) and the font size to 17 px. The code found at the following location also no longer works for chrome files : https://gist.github.com/MrOtherGuy/c592f6443dd228022966cbe5715ad5c9

@-moz-document url-prefix("about:"), url-prefix("chrome://"), url-prefix("resource://"){

 :root {
     --in-content-page-color: #000080 !important;
     --in-content-text-color: #000080 !important;
     --in-content-page-background: #dbc3a3 !important;
     --in-content-box-background: #e2cfb6 !important;
     --in-content-deemphasized-text: var(--in-content-text-color) !important;
     scrollbar-color: #6495ed #d9d9d9 !important; 
     --background-color-box: var(--in-content-page-background) !important;
     --text-color: var(--in-content-text-color) !important;      
     color:var(--in-content-text-color) !important;
     --background-color-canvas: var(--in-content-page-background) !important;
     --table-row-background-color-alternate: var(--in-content-box-background) !important;    
 menulist > menupopup{ background-color: var(--in-content-page-background) !important; }}}
 

@-moz-document url-prefix("chrome:") {

 html, body, div, h1, p, table, td, tr { background-color: #dbc3a3 !important;
   color: #000080 !important;
   font-size: 17px !important; }
 tr:hover { background-color: #b3d1ff !important; }
 tr.odd:hover { background-color: #b3d1ff !important; }

}

Архивировано 2 360

masking warnings like 404 error and display a blank page instead of the error

I have a requirement where instead of showing the 404 error or 503 error on screen, I want to display a blank screen. I have already tried to set the following configs to… (читать ещё)

I have a requirement where instead of showing the 404 error or 503 error on screen, I want to display a blank screen. I have already tried to set the following configs to false -

security.insecure_connection_text.enabled security.insecure_connection_icon.enabled security.insecure_connection_text.pbmode.enabled browser.ssl_override_behavior security.ssl.errorReporting.automatic security.enterprise_roots.enabled security.tls.version.min

Is there anymore steps to do or any userChrome.css script is required.

PS : I cannot use any extension or addon to do that

Архивировано 1 330

network.http.referer.disallowCrossSiteRelaxingDefault not working

a website im using is trin to call an api with referer header and policy of "origin-when-cross-origin", but firefox overides it to "Same Origin Policy" with console msg: … (читать ещё)

a website im using is trin to call an api with referer header and policy of "origin-when-cross-origin", but firefox overides it to "Same Origin Policy" with console msg: Referrer Policy: Less restricted policies, including ‘no-referrer-when-downgrade’, ‘origin-when-cross-origin’ and ‘unsafe-url’, will be ignored soon for the cross-site request

After a lot of search, i found that network.http.referer.disallowCrossSiteRelaxingDefault config setting should be set to false to allow any policy, but toggling between false or true has no affect. The request still fails with a cors error "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at..."

Is there a way to make this work? Or a way to allow the request to have this referer policy.

Архивировано 1 339

Firefox Cache Management and New Tab Behavior Improvement Request

Hi all, I’ve been using Firefox for a while now, but coming from Chrome, I’m finding some aspects of Firefox’s cache management and tab behavior a bit inconvenient, and I… (читать ещё)

Hi all,

I’ve been using Firefox for a while now, but coming from Chrome, I’m finding some aspects of Firefox’s cache management and tab behavior a bit inconvenient, and I wanted to share my thoughts.

The issue:

When I restart Firefox (version 133.0.3-1), it loads webpages from the disk cache, which is fine because I’ve set browser.cache.disk.enable to true and browser.cache.check_doc_frequency to 2, it will always make a request to the server on restarting Firefox with the default value of 3. However, the problem arises when I open new tabs — they also load from the disk cache instead of requesting fresh content from the server.

What I’m looking for:

   A way to have Firefox:

Load webpages from the disk cache when restarting the browser (which I want, and I have set browser.cache.disk.enable to true for this). But always make fresh requests from the server when opening new tabs, no matter what the cache settings are.

In Chrome, this behavior is more intuitive — it loads from the cache after restart but always fetches from the server for new tabs, which I find to be much more reasonable.

I understand that about:config provides settings like browser.sessionstore.restore_on_demand, but adjusting this option makes Firefox fetch content from the server for all tabs, including those opened after a restart. This doesn’t seem like a perfect solution because it takes away the ability to use the disk cache after restarting the browser.

I would really appreciate it if Firefox could offer more granular control over this behavior, so users could get the benefits of both caching and real-time requests based on the type of tab (restart vs. new tab).

Thanks for your attention, and I hope to see some improvements in future updates!

Архивировано 2 330