Showing questions tagged: Show all questions

How to disable "Open my links with Firefox"?

I'm installing a Docker service set onto a new Ubuntu system, that has Firefox installed by default. One of the services is a GUI application. However, when opening Fire… (read more)

I'm installing a Docker service set onto a new Ubuntu system, that has Firefox installed by default. One of the services is a GUI application.

However, when opening Firefox for the first time, a dialog shows up that I would like to disable (attached).

How can I disable this?

I'm running Firefox using: "/usr/bin/firefox --kiosk http://localhost"

I've already followed a lot of the suggestions in here: https://searchfox.org/mozilla-release/source/remote/shared/RecommendedPreferences.sys.mjs (and verified they are indeed set after installing my own "user.js" file), but I cannot find an about:config preference that disables what I'm still seeing.

Any help or ideas?

Asked by Devin 1 month ago

Is there a way to add "Search [search engine] for [highlighted text] in new container tab" option to the right click menu?

I would like to be able to highlight texts in one container and search for them in another container (or no container) from the right click menu. Is there a way to add th… (read more)

I would like to be able to highlight texts in one container and search for them in another container (or no container) from the right click menu. Is there a way to add this functionality?

Some additional points: i) Currently, if I highlight a text and right click and search Google for it, the new tab opens in the same container (or no container). I don't want to remove this option, I just want to add the option to be able to do this search in any container I have available. ii) Functionality I want is very similar to how it works when you highlight links, where you have option to open in new tab or open in new container tab you choose. iii) I don't want to assign all my searches to a specific container by forcing "always open [domain] in [container]". For example, I already have a Google container, I do not want searches to go to that container by default, I want to be able to choose where they go. Assigning all Google links to a container makes it hard for me to segregate searches from containers where I use other Google services. iv) The way I do this currently is by highlighting text and then opening a new tab in a container and then searching separately, which is inconvenient. v) If this feature doesn't exist, is it possible to request this feature? How would one go about doing that?

Thank you very much for any help. This is something that's been bugging me a bit lately.

Asked by oru124 2 months ago

Firefox cannot detect plugins when running in a container.

I am trying to install Adobe Flash player in Firefox 84.0 (the last version support Flash player) when running in a docker container (Ubuntu 22.04.3 LTS). I had tried to … (read more)

I am trying to install Adobe Flash player in Firefox 84.0 (the last version support Flash player) when running in a docker container (Ubuntu 22.04.3 LTS). I had tried to run Firefox in my real machine (Linux 6.1.0-17-amd64 Debian 12) and it worked well. I just copy the file "libflashplayer.so" to the path "~/.mozilla/plugins". But when Firefox is running in a container, I do the same but it can't found Flash player plugin. No matter where I place the libflashplayer.so, like "~/.mozilla/plugins" or "/usr/lib/firefox/firefox", it don't work, I can't find Flash player in "about:plugins" or "about:addons". I start Firefox from a terminal and there is no error log. I have no idea why it can detect flash player plugin while running in a real system but don't work when running in a container. Thanks.

Asked by learning 2 months ago

Addon windows do not retheme automatically when toggling light/dark mode

When the system theme (light/dark) is switched globally, Firefox recognizes this and also switches its theme automatically (if configured appropriately). This should also… (read more)

When the system theme (light/dark) is switched globally, Firefox recognizes this and also switches its theme automatically (if configured appropriately). This should also retheme addons opened in the sidebar (Tab Stash or Sidebery for instance), and it does so under certain conditions, namely if either a) no sidebar was opened when starting Firefox and the addon sidebar window is opened directly, or b) the sidebar was opened with start of Firefox. Unfortunately, no retheming of the addon window occurs when some other Firefox sidebar (such as bookmarks or history) was opened after Firefox start and before system theme switch. In that case, the addon window (which is opened as the system theme is switched) does not retheme. This can be mitigated by either restarting Firefox or by opening a Firefox sidebar such as bookmarks or history, and switching back to the addon window.

So to reproduce this behaviour:

  1. Open Firefox and some sidebar addon directly (such as Tab Stash in my case, with Ctrl-Alt-S)
  2. Switch system theme globally (I do this with Night Theme Switcher in GNOME)
  3. Observe that Firefox correctly redraws the addon window
  4. Open bookmarks (Ctrl-B) or history (Ctrl-H)
  5. Reopen the addon window
  6. Switch system theme globally again
  7. Observe that Firefox does not correctly redraw the addon window
  8. Open bookmarks (Ctrl-B) or history (Ctrl-H) again
  9. Reopen the addon window
  10. Observe that Firefox redrew the addon window

This has already been reported to the addon developer, who stated that it might be a bug in Firefox, since his addon only tells Firefox which colors to use in which mode.

System details:

  • OS Version: Linux 6.7.4-arch1-1
  • Browser Version: Firefox 122.0.1
  • Desktop environment: GNOME

Asked by biloilo 1 month ago

PDFs are shown as empty pages after suspend/resume on linux

Hello, I'm using a document management system (SeedDMS for those who know) through Firefox 122.0.1 (64-bit, canonical 1.0, downloaded from packages.ubuntu.com for focal, … (read more)

Hello, I'm using a document management system (SeedDMS for those who know) through Firefox 122.0.1 (64-bit, canonical 1.0, downloaded from packages.ubuntu.com for focal, running on Debian Bookworm, kernel 6.1.0-17-amd64/Debian 6.1.69-1 x86_64, X.Org X Server 1.21.1.7, KDE Plasma 5.27.5, KDE Framework 5.103.0, QT 5.15.8, i7-5820K, GeForce GTX 1070).

Within this document management system pdf.js (v4.0.379) is being used to preview/view PDF Documents. After starting Firefox the PDF view inside the DMS works fine until I suspend (to memory) and resume my machine. Regular HTML-content looks fine but the resumed DMS session shows only blank (all white) Pages inside the PDF view. Changing to a different PDF file doesn't help. The number and size of these pages is presented correctly. I can even select and copy (invisible) text from these blank PDF pages. The problem applies to all PDFs, whether they're single or multi paged, have images inside them (like with PDFs from a scanner) or not, etc. Reloading the page/closing reopening the affected browser window doesn't help, i.e. the problem persists.

I recently found out, that this also applies to PDF files directly opened inside Firefox (which also seems to use pdf.js as a PDF viewer), that is, this is not related to a specific site like my DMS.

The problem always persists until I kill Firefox and start it over.

Pdf.js seems to use a canvas inside a div (see screenshots attached) to draw the visual PDF content and another div to make the text layer selectable/searchable etc. I don't know what's happening to canvases on a system suspend/resume cycle in Firefox on Linux, but I suspect that's where the problem originates from.

This problem already affected older versions of Firefox and pdf.js.

Please let me know, if you need further information from my side to investigate that issue.

Thanks a lot!

Asked by thomas360 1 month ago

XHR requests on the network tab of the DevTools don't show stack trace

I am doing XHR post requests from javascript. The requests entries don't show the stack trace tab. Am I missing some configuration? https://firefox-source-docs.mozilla.… (read more)

I am doing XHR post requests from javascript.

The requests entries don't show the stack trace tab. Am I missing some configuration?

https://firefox-source-docs.mozilla.org/devtools-user/network_monitor/request_details/index.html#network-monitor-request-details-stack-trace-tab

Asked by hey+firefox.com 2 months ago

logging back on the account

I accidentally logged my self out of my Mozilla browser and i don't have access to the email registered in this account cause i had decided not to pay for extra space the… (read more)

I accidentally logged my self out of my Mozilla browser and i don't have access to the email registered in this account cause i had decided not to pay for extra space the gmail account (tindijack@gmail.com), I opened a new email jtindi300@gmail.com is there away i could link the two to use a single account? I have my school passwords the mozilla account under that email, i still have access on my phone but i just don't have it on my laptop how can you guys help me?

Asked by Jack Tindi 2 months ago

Shortcut to focus page / remap shortcut "Move to Next Frame"

Hey, I'm looking for a shortcut/hotkey to focus the page. The best I found is "Move to Next Frame", which is F6. When having the URL bar as focus, and no bookmark bar o… (read more)

Hey,

I'm looking for a shortcut/hotkey to focus the page.

The best I found is "Move to Next Frame", which is F6. When having the URL bar as focus, and no bookmark bar open, this will focus the page.

I have two questions here: - Is there a better way to focus the page? - If not, how can I remap F6 to a more usable hotkey?

I have found some threads with workaround like tabbing 2-3 times until the page is in focus. I'm looking for a single shortcut, having to press a key multiple times kinda defeats the purpose of a shortcut.

I have found information on how to remap hotkeys with either extensions or autoconfig, but I can't find which key I have to change. Extensions don't seem to include this key.

For autoconfig, I looked through view-source:chrome://browser/content/browser.xhtml and the Browser Toolbox to find this shortcut, but with no success. Maybe I looked at the wrong spot, maybe not all shortcuts are listed there?

Any help is greatly appreciated.

Asked by grillpfanne 2 months ago

firefox cookie deletion

I'm looking for a simple extension. A one-click extension that would enable me to delete cookies at any time during a firefox browser session. I would like to exclude som… (read more)

I'm looking for a simple extension. A one-click extension that would enable me to delete cookies at any time during a firefox browser session. I would like to exclude some cookies from deletion, so I'd like a whitelist option.

Has anyone come across an extension like this?

thanks for your consideration

Asked by batsparks 2 months ago

How to focus url on new window

On new window (`Ctrl-N`) I want the focus to be on the url bar, not the homepage. I believe this is the default behavior if no homepage is set, but I want to set this beh… (read more)

On new window (`Ctrl-N`) I want the focus to be on the url bar, not the homepage. I believe this is the default behavior if no homepage is set, but I want to set this behavior independent of the homepage setting.

Is there a setting for this?

Same as below, but solution did not work for me.

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

Asked by 24michaelpartridge 2 months ago

browser.fixup.alternate.suffix does not work anymore

Hello forum participants, since some Firefox versions the setting "browser.fixup.alternate.suffix" no longer works. I found that all "browser.fixup.alternate" entries do… (read more)

Hello forum participants,

since some Firefox versions the setting "browser.fixup.alternate.suffix" no longer works. I found that all "browser.fixup.alternate" entries do not work anymore. After searching the web I found an answer that the fixup.alternate options don't work when the protocol is https. So, because today nearly all Websites use https, this options are completely without function. In my case I want to add the default TLD ".de" if I do not enter the TLD. Is there any place (except source code, of course) to configure this behavior for https, too?

Many thanks in advance! Have a nice day

Marcus

Asked by marcus46 2 months ago

Mozilla / Firefox Brand

I noticed the mozilla.org website has a new favicon. I feel like that sort of thing usually alludes to some forthcoming development. Hmm... My question is. Hmm? I wonde… (read more)

I noticed the mozilla.org website has a new favicon. I feel like that sort of thing usually alludes to some forthcoming development. Hmm...

My question is. Hmm? I wonder what's going on over at Mozilla.

Asked by centRe Web Design 1 month ago

lost focus bug (when changind language)

When you switch the language in a text field, the focus on that text field is lost and the focus goes to another browser tab. This only happens if at this time a video is… (read more)

When you switch the language in a text field, the focus on that text field is lost and the focus goes to another browser tab. This only happens if at this time a video is playing in mozilla in picture in picture mode with the Always on top option enabled. How to fix it? (Ubuntu 22.04)

Asked by Лев Бреслав 1 month ago

Is it safe to save credit cards in Firefox on Linux?

Just recently I realized that the master password does not apply to credit card information. Firefox on Mac and Windows, if a login password exists, allows us to require … (read more)

Just recently I realized that the master password does not apply to credit card information. Firefox on Mac and Windows, if a login password exists, allows us to require authentication to autofill, view or edit saved credit cards. Firefox on Linux doesn't allow this authentication. So, I'm guessing that the credit card information is stored in Linux in an insecure manner. This is true? Another question about Mac and Windows. Does requiring authentication for credit card processes mean that the card information is encrypted on disk? Or does the password only protect information from unauthorized viewing, and the cards are stored on disks in text form?

Asked by YDUBINSKY 2 months ago

How to focus content instead of address bar when (custom) Home page is opened?

Hi. Similar to this question: https://support.mozilla.org/ln/questions/1291938 I would like to know how to customize "autoconfig.js" or "firefox.cfg" so that the home p… (read more)

Hi.

Similar to this question: https://support.mozilla.org/ln/questions/1291938

I would like to know how to customize "autoconfig.js" or "firefox.cfg" so that the home page is focused instead of the address bar when I open Firefox.

I the linked question, the following solutions works fine for focus content on New Tab:

    Services.obs.addObserver((event) => {
      window = BrowserWindowTracker.getTopWindow();
      window.gBrowser.selectedBrowser.focus();
    }, "browser-open-newtab-start");
  } catch(e) { Cu.reportError(e); }

It works fine, but I can't make it work for the Homage page when it's configured to open a local file.

I tried to bind the "window.gBrowser.selectedBrowser.focus();" action on the "browser-open-homepage-start" event but it has not effect.

Thanks.

Asked by ADGB 2 months ago

extended search not working

When I enter a search string for both yahoo or google (but not as yet duckduckgo) somewhere the string is "edited" before it is sent and all extended search characters de… (read more)

When I enter a search string for both yahoo or google (but not as yet duckduckgo) somewhere the string is "edited" before it is sent and all extended search characters deleted so "field1 field2" and "field1 -field2" return identical results. Some of the editing can be seen when the text is transferred from the search window to the address window. for example my try at ' "-"field2' was edited to '- field2' with a space between '-' and "field2". I am running Linux Mint and have done a Firefox update with no effect. Note that this not how it used to behave.

Asked by Dave Finn 2 months ago

  • Locked

No GL in Firefox 121 on Linux

Locking this thread, please continue here: [/questions/1437760] Recently upgraded to a new laptop, Thinkpad X1 Carbon 11th gen. Running a Wayland-based WM. OpenGL is work… (read more)

Locking this thread, please continue here: [/questions/1437760]
Recently upgraded to a new laptop, Thinkpad X1 Carbon 11th gen. Running a Wayland-based WM. OpenGL is working fine everywhere except Firefox. Works fine in Chrome, Blender, glxgears, Steam games. Firefox 121 gives the following error:

[GFX1-]: Failed to compile vertex shader: gpu_cache_update [ERROR webrender::device::gl] Failed to compile vertex shader: gpu_cache_update

Confirmed that MOZ_ENABLE_WAYLAND=1 is set.

❯ glxinfo -B name of display: :1 display: :1 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer):

   Vendor: Intel (0x8086)                                                                                                                                                                                                          
   Device: Mesa Intel(R) Graphics (RPL-U) (0xa7a1)                                                                                                                                                                                 
   Version: 23.1.9                                                                                                                                                                                                                 
   Accelerated: yes                                                                                                                                                                                                                
   Video memory: 31754MB                                                                                                                                                                                                           
   Unified memory: yes                                                                                                                                                                                                             
   Preferred profile: core (0x1)                                                                                                                                                                                                   
   Max core profile version: 4.6                                                                                                                                                                                                   
   Max compat profile version: 4.6                                                                                                                                                                                                 
   Max GLES1 profile version: 1.1                                                                                                                                                                                                  
   Max GLES[23] profile version: 3.2                                                                                                                                                                                               

OpenGL vendor string: Intel OpenGL renderer string: Mesa Intel(R) Graphics (RPL-U) OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.1.9 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.9 OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.9 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

❯ inxi -G Graphics: Device-1: Intel Raptor Lake-P [Iris Xe Graphics] driver: i915 v: kernel

          Device-2: Bison Integrated RGB Camera type: USB driver: uvcvideo                                                                                                                                                         
          Display: wayland server: X.Org 23.2.4 driver: loaded: i915 note: n/a (using device driver)                                                                                                                               
          resolution: 1599x999~90Hz                                                                                                                                                                                                
          OpenGL: renderer: Mesa Intel Graphics (RPL-U) v: 4.6 Mesa 23.1.9 

❯ uname -a Linux nflx-erahhal-x1c 6.6.12 #1-NixOS SMP PREEMPT_DYNAMIC Mon Jan 15 17:57:06 UTC 2024 x86_64 GNU/Linux

Asked by firefox2001 2 months ago

How to find out which Firefox extension caused page issues, like errors, e.g. CSP - Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). ?

SHORT STORY: I have been able to find extension behind errors shown in dev. console (F12 key) like CSP ones (mouse hover over the link near the error on dev. console (F1… (read more)

SHORT STORY:

I have been able to find extension behind errors shown in dev. console (F12 key) like CSP ones (mouse hover over the link near the error on dev. console (F12 key), Console tab, to see moz-extension://somestring and find first characters of the string at page about:debugging#/runtime/this-firefox) But is there any better/easier way to find out web page issue causing extension?

LONG STORY:

Website fails to load (but in a Private window loads OK). F12 key in normal window, Console tab, shows:

SyntaxError: redeclaration of let settings

clicking it, it further show:

abc123-def456-...-...-....:1:1

   <anonymous> blob:moz-extension://8834...

inject resource://gre/modules/ExtensionContent.sys.mjs:581

   AsyncFunctionNext self-hosted:852


when i search for mentioned 8834 (first letters of a long string) at about:debugging#/runtime/this-firefox (i get there clicking settings wheel at about:addons and "Debug addons".) then i find Chameleon extension.

So I try to pause extension in its menu, that not helped, but disabling whole extension in about:addons removed errors, yet page still does not load. 4 remaining CSP errors like:

Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). contentScript.js:160:48951 ...

when I mouse hover over the hyperlink "contentScript.js:160:48951" the browser status bar shows extension address and when i memorize first letters of the address and search it at mentioned about:debugging#/runtime/this-firefox tab, i find: Phantom (cryptocurrency wallet) Metamask (cryptocurrency wallet) Phantom (cryptocurrency wallet) Violentmonkey (provides userscripts support for browsers - I am using it only for https://github.com/Owyn/HandyImage which is disabled currently)

I have tried to didable all these extensions causing removal of a CSP errors, yet page still does not load in normal browsing window (in private does). Normal browsing window shows only one warning/error:

Source map error: Error: NetworkError when attempting to fetch resource. https://firefox-source-docs.mozilla.org/devtools-user/debugger/source_map_errors/ Resource URL: moz-extension://extension address here/browser-polyfill.min.js Source Map URL: browser-polyfill.min.js.map

when i search for the extension address first letters at mentioned page about:debugging#/runtime/this-firefox i find "Textarea Cache", disabling it does not make page load.

After re-enabling disabled extensions and restarting Firefox, page started loading. I suspect (likely wrong) that the python application which is serving local web page in question had exhausted connection limit for the normal browser window/process, but the private browser window process was OK.

What i can do better to discover the causing extension or other cause of failed loading page?

Asked by #367259 2 months ago