Showing questions tagged: Show all questions
  • Archived

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? … (read more)

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?

Asked by jessebnd 6 months ago

Last reply by Rene 1 month ago

  • Solved
  • Archived

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… (read more)

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.

Asked by jjbradbury 6 months ago

Answered by Agent virtuel 6 months ago

  • Archived

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: … (read more)

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.

Asked by reliancesaransh 8 months ago

Last reply by jscher2000 - Support Volunteer 8 months ago

  • Archived

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 fi… (read more)

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.

Asked by xyz123abcf-u-k 8 months ago

Last reply by xyz123abcf-u-k 8 months ago

  • Archived

Webassembly.compile() doesn't support SharedArrayBuffer in 138

Hello, as per description I noticed that firefox version 138 requires an ArrayBuffer as the argument of WebAssembly.compile() and doesn't allow anymore (like in 137) a S… (read more)

Hello,

as per description I noticed that firefox version 138 requires an ArrayBuffer as the argument of WebAssembly.compile() and doesn't allow anymore (like in 137) a SharedArrayBuffer, is this intended or it will be fixed in the future? Follows a simple test case. Kind reagards.


--- index.html --- <title>Example</title> <script> let instance = undefined; async function loadWasm() { try { const response = await fetch('./sum.wasm'); const buffer = await response.arrayBuffer(); const sharedBuffer = new SharedArrayBuffer(buffer.byteLength); const tmpView = new Uint8Array(sharedBuffer); tmpView.set(new Uint8Array(buffer)); const module = await WebAssembly.compile(sharedBuffer); instance = await WebAssembly.instantiate(module); } catch (error) { alert(`failed to compile in wasm: ${error.message}`); } } loadWasm(); function testWasm() { if (instance) alert(`sum 1 + 2 = ${instance.exports.add(1, 2)}`); else alert('invalid instance, failed to compile'); } </script> <button onclick="testWasm()">Press to run wasm function (sum)</button> --- ---

--- sum.wat --- (to convert into .wasm using: wat2wasm sum.wat -o sum.wasm) (module (func $add (param $lhs i32) (param $rhs i32) (result i32) local.get $lhs local.get $rhs i32.add) (export "add" (func $add)) ) --- ---

Asked by Fra 6 months ago

Last reply by TyDraniu 6 months ago

  • Locked
  • Archived

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 b… (read more)

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; }

}

Asked by Terry 8 months ago

Last reply by markwarner22 8 months ago

  • Archived

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… (read more)

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.

Asked by gurungsujal 10 months ago

Last reply by jscher2000 - Support Volunteer 10 months ago

alert about firefox 78.15.0esr 64-bit for mac el capitan 10.11.6

Hello, I have old 15 year old mac el capitan -10.11.r with outdated firefox 78.15.0esr 64-bit.... in perfect condition. Unfortunately I can not make updates on browser a… (read more)

Hello,

I have old 15 year old mac el capitan -10.11.r with outdated firefox 78.15.0esr 64-bit.... in perfect condition. Unfortunately I can not make updates on browser anymore. Online banking websites does not allow me to use this outdated browser. Would you be so kind to make even paid update for me? Or at least let me know what settings I should change under about:config

Waiting to hear from you! [edited email from public]

Asked by Paul Hyski 5 months ago

Last reply by James (doing minimal support) 5 months ago

Security flaw: Settings accessible after canceling OS authentication prompt

When accessing about:logins, Firefox prompts for system authentication (Primary password or master password). However, if the user cancels the prompt twice, the password … (read more)

When accessing about:logins, Firefox prompts for system authentication (Primary password or master password). However, if the user cancels the prompt twice, the password manager still opens and displays all saved logins without authentication.

This behavior bypasses the intended security check and could pose a risk, especially in shared or public machines

Asked by Fouad Hany 5 months ago

Last reply by Paul 5 months ago

  • Archived

Tabs Switching

Hello, I have an issue where, when I switch tabs with Ctrl+Tab, my mouse cursor accidentally triggers something if it happens to be in the center. This is very annoying.… (read more)

Hello,

I have an issue where, when I switch tabs with Ctrl+Tab, my mouse cursor accidentally triggers something if it happens to be in the center. This is very annoying. I tried Googling how to turn off tab visualization through the config, but it hasn't worked so far.

   * browser.ctrlTab.previews

  • browser.tabs.closeWindowWithLastTab
  • browser.tabs.animate
  • toolkit.cosmeticAnimations.enabled

So now, the only option I see is to turn off Recent Tabs, but then the browser becomes unusable. I also tried the same on a new clean user profile and even on new Mozilla-based browsers, but still nothing. It would be ideal to make the cursor inactive while switching tabs, like it is in Arc Browser and probably many others. But I would be happy enough to just turn off tab switching visualization.

Asked by xuaaru 10 months ago

Last reply by jscher2000 - Support Volunteer 10 months ago

  • Archived

Search/address bar -> how to remove the search option

Hello. In about:config the keyword.enabled false does not work anymore. So how on earth do we stop this stupid search option in the url bar. When i open a new tab, i'l… (read more)

Hello.

In about:config the keyword.enabled false does not work anymore.

So how on earth do we stop this stupid search option in the url bar. When i open a new tab, i'll get on a firefox tab. In the middle I can search (in the search bar), but after typing 1 letter, the search is moved to be in the address bar. WHY????

How to stop this madness?

Thank you for an answer

Asked by reneuitijsselstein 10 months ago

Last reply by reneuitijsselstein 10 months ago

  • Archived

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… (read more)

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

Asked by sagnik.sourendrapal 9 months ago

Last reply by markwarner22 9 months ago

  • Archived

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 … (read more)

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?

Asked by HeavenlyFox 9 months ago

Last reply by HeavenlyFox 9 months ago

  • Archived

Tab Tooltips Not Showing Up

Hello, I have been experiencing this issue for a while, but only just now noticed it. When I hover over a tab, nothing shows up; no preview, no title, no web address, n… (read more)

Hello,

I have been experiencing this issue for a while, but only just now noticed it. When I hover over a tab, nothing shows up; no preview, no title, no web address, nothing. I have a few extensions, but uninstalled any that would effect tabs at all, with no change. All other extensions I have had since I switched over to Firefox. I have attempted to search for solutions, and have followed what I found. Multiple support questions here have gotten the answer of going into the config to change the following Boolean variables to be true:

   browser.tabs.hoverPreview.enabled 
   browser.tabs.hoverPreview.showThumbnails 

but when I went to do so, they were both already set to true. I disabled and then re-enabled them just to check, but nothing changed. I have a ridiculous amount of tabs open, but that's the only other thing I can think of that would be causing this issue. Just in case, I am in the process of closing as many as I can.

Any advice or assistance would be appreciated.

Thank you.

Asked by naturegeek00 10 months ago

Last reply by cor-el 10 months ago

  • Archived

Understanding the best fix for a issue involving security.tls.version.fallback-limit in about:config

Recently in our workplace, we had several computers that suddenly stopped being able to access several websites, the issue started shortly after pushing a updated Firefox… (read more)

Recently in our workplace, we had several computers that suddenly stopped being able to access several websites, the issue started shortly after pushing a updated Firefox across the floor.

I tracked the issue down to being related to security.tls.version.fallback-limit defaulting to 4, instead of the old 3.

Setting the value to 3 resolves the website accessibility issue.

A.) How can I confirm if this is a recent change or not? Everything I read seems to indicate the default should already be 3, but its very definitively not.

B.) What is the best way to push a pref adjustment change across the floor if the option isn't present in the registry and isn't a GPO option? Is my only option really to make some script that scans every computer's users folder, check every user folder's appdata\mozilla, scan every profile for a pref.js file, and do a string search for a reference line and then do a line addition if a certain string doesn't exist?

I can do this, it just doesn't seem like a good long term fix as I would have to run this script regularly as users come and go....

I am on FF 128.7.0esr (64-bit) under a new profile.

Asked by Nathan Mckay 8 months ago

Last reply by cor-el 8 months ago