Showing questions tagged:

Images from canvas black or transparent: img.src = canvas.toDataURL(); // FF: 'image/jpeg'=black. Png,webp,default=transparent.

I don't know if this ever worked in FF, since I've been on Chrome a while. I tried canvas.toBlob() in FF without a solution. The behavior is the same whether the served i… (read more)

I don't know if this ever worked in FF, since I've been on Chrome a while. I tried canvas.toBlob() in FF without a solution.

The behavior is the same whether the served image is jpg or webp. A Servlet delivers the image data, here in webp:

          response.setHeader("Content-Type", "image/webp");

On page, I use a canvas thus => see '// FIREFOX'

     var canvas = document.createElement( 'canvas' );
     canvas.width = width;
     canvas.height = avail_height;
     var context = canvas.getContext( '2d' );
     context.drawImage( imgsrc, 0, 0, width, avail_height);
     context.lineWidth = 150;
     // FIREFOX: canvas.toDataURL('image/jpeg')=black, png,webp,default=transparent
     img.src = canvas.toDataURL('image/jpeg');
     img.onmousedown = disableDragging; // for FF
     img.style.opacity = "1.0";
     console.log('setImg ok');

Inspecting a black jpeg:

        data:image/jpeg;base64,...

Thanks!

Solved Archived 7 497

Firefox on ubuntu 22.04 always vanishes after some time

Hi all. I have been using firefox with ubuntu 22.04 for about since when ubuntu 22.04 was released (2022). On firefox, I usually use the nordpass and tab grouping extensi… (read more)

Hi all. I have been using firefox with ubuntu 22.04 for about since when ubuntu 22.04 was released (2022).

On firefox, I usually use the nordpass and tab grouping extensions. For the third or fourth time in a row, firefox has simply vanished from my system from day to night.

I click the icon and nothing happens. I try typing "firefox" in the terminal and get

   Command '/usr/bin/firefox' requires the firefox snap to be installed.
   Please install it with:
   snap install firefox

Even if I accept the bizarreness of snap simply deciding from one day to another that I don't have this package (or did I never have it and never needed it in the first place?) and try "snap install firefox" I get:

   snap "firefox" is already installed, see 'snap help refresh'

After reading the result of "snap refresh help" I decided to "snap refresh" to update all of it's packages. Still, "snap install firefox" and "firefox" keep giving me the same result.

What is happening here?

Solved Archived 2 480

Firefox fails to open pdf downloads in default application

Firefox 136.0.1, Linux 6.8.0-55, have set Okular as default pdf application, however Firefox will not open pdf file when downloaded nor will it open the file when select… (read more)

Firefox 136.0.1, Linux 6.8.0-55, have set Okular as default pdf application, however Firefox will not open pdf file when downloaded nor will it open the file when selecting Open File from the Download Icon on the toolbar. Only was I can get to file is to select Show in Folder option and open from within Dolphin.

Solved Archived 9 474

WebGL creation failed after reinstalling lbgl1* libegl*

I am using the apt version of firefox v125.0.2 (64-bit). I do not have a dedicated GPU - I use my intel core's internal gpu only Intel Corporation HD Graphics 620 (rev 02… (read more)

I am using the apt version of firefox v125.0.2 (64-bit). I do not have a dedicated GPU - I use my intel core's internal gpu only Intel Corporation HD Graphics 620 (rev 02).

I used to play this game named narrow.one, which before I reinstalled the mentioned libraries, was working fine except for crashing a few times. I thought these libraries were causing some issue, so I tried reinstalling them.

I reinstalled the libraries using: `sudo apt install --reinstall --fix-missing libgl1* libegl*`

After installation, I start getting that error. So, I tried reinstalling firefox (using the same command), and then restarting the laptop - but of no use. Chrome seems to be running WebGL, including the game.

In firefox, on the https://get.webgl.org/ page, I see Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card.

After that, I also tried reinstalling `libopengl0` and `libglu1-mesa` and `intel-microcode`, but of no use. Running although, `sudo intel_gpu_top` and then chrome, it seems that the GPU is in use by chrome as well.

I then go to about:support. It shows me the images I have attached. Reading the logs, there several `blocklisted` values in `Decision Log` section. I suspect that's the cause of this issue, but then I don't know how can I un-blocklist the blocklisted things, and even after that, why does Chrome runs webgl if these are blocklisted?

Running `glxinfo -B`, I get the following: `name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer):

   Vendor: Intel (0x8086)
   Device: Mesa Intel(R) HD Graphics 620 (KBL GT2) (0x5916)
   Version: 23.2.1
   Accelerated: yes
   Video memory: 7697MB
   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) HD Graphics 620 (KBL GT2) OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1 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.2.1-1ubuntu3.1 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.2.1-1ubuntu3.1 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20`

I do not know much about OpenGL, but reading the above stuff, I suppose my GPU is in use and also has a compatible driver (although I am not sure).

Also, running `glxdemo`, `glxheads`, and `glxgears` seems to be rendering stuff.

Should I reinstall firefox after purging it first? Please help.

Thanks!

Solved Archived 6 454

multi-account containers as part of "home page" tabs - open without confirmation

I've got my "homepage and new windows" setting set up with several "ext+container links so that my selected websites open in their respective containers : e.g. ext+conta… (read more)

I've got my "homepage and new windows" setting set up with several "ext+container links so that my selected websites open in their respective containers : e.g. ext+container:name=Personal&url=https%3A%2F%2Fwww.facebook.com%2F%3Fsk%3Dh_nor

I open facebook in 2 seperate containers so that I can maintain 2 seperate personalities under facebook - e.g. I am a group admin within one, just a group member in another.

I have 2 urls defined in my "homepage and new windows" setting for these :

ext+container:name=Personal&url=https%3A%2F%2Fwww.facebook.com%2F%3Fsk%3Dh_nor ext+container:name=Facebook&url=https%3A%2F%2Fwww.facebook.com%2F%3Fsk%3Dh_nor

This was working fine without any issues. My sites opened up when I started my web browser and everything.

Recently, firefox has started up but my container tabs do not load automatically, I am getting a confirmation (I will post a screen capture as a comment).

Is there a way to turn this off and just open the tabs without a confirmation?

Solved Archived 4 443

Firefox video support is broken in Facebook after update to v.136

After updating FF to v. 136.0 in Linux Mint 22.04, I noticed a problem with video playback in Facebook in some posts. A black screen appears with the message "Sorry, ther… (read more)

After updating FF to v. 136.0 in Linux Mint 22.04, I noticed a problem with video playback in Facebook in some posts. A black screen appears with the message "Sorry, there were problems playing this video". The problem also occurs after disabling all plugins and deleting the user.js file from the profile. The problem does not occur after starting firefox in troubleshoot mode, but then hardware acceleration using the GPU does not work (Compositing: WebRender (Software)). I noticed that in version 136 there were some significant changes in the topic of video decoding. https://www.phoronix.com/forums/forum/software/desktop-linux/1524008-firefox-136-beta-finally-enables-hardware-video-decoding-for-amd-gpus-on-linux-by-default I have an NVIDIA GT1030 GPU with 2 MB VRAM.

Christopher

Archived 4 430

Firefox remains in the background when opening urls out of other applications

Hello I use Firefox 132.0.1 under Fedora 14 Linux. Whenever I click an urls in another application (e.g. Libreoffice, Keepass...) a new tab is opened in Firefox (accordi… (read more)

Hello

I use Firefox 132.0.1 under Fedora 14 Linux. Whenever I click an urls in another application (e.g. Libreoffice, Keepass...) a new tab is opened in Firefox (according to Firefox's settings), but Firefox itself does not pop up in the foreground, it remains in the background. I highly appreciate the setting 'open links in tabs instead of new windows'. But FF only comes to foreground in case I deactivate 'open links in tabs instead of new windows'. How can I prevent FF to stay in the background in case 'open links in tabs instead of new windows' is enabled?

Thank you in advance

Solved Archived 5 425

Firefox always asks which profile to start, ignoring command line arguments

Hi, I'm not sure if this is a bug, or me not using FF properly. I want Firefox in general to ask me, which profile to use when started. So in the Profile-Manager, I remov… (read more)

Hi, I'm not sure if this is a bug, or me not using FF properly.

I want Firefox in general to ask me, which profile to use when started. So in the Profile-Manager, I removed the checkbox for "Use selected profile without asking as startup".

Now, I wanted to create a shortcut for a specific profile, so I tried running `firefox -P "myProfile"` or even `firefox -p "/path/to/myProfile"`. In both cases I get the window asking me which profile to use.

Debian 12.6 - SwayWM Firefox 128.0 (64-bit)

Solved Archived 2 417

Disable session restore does not work

I would like to disable automatic session restore completely. When I restart my PC, crashes or anything like that, I do not want Firefox to restore my previously opened t… (read more)

I would like to disable automatic session restore completely. When I restart my PC, crashes or anything like that, I do not want Firefox to restore my previously opened tabs or windows. When I open firefox after a system reboot / crash, I want to only open my default home page. Only if I manually click History > Restore Previous Session should firefox ever restore my session, otherwise never restore my sessions.

I tried unchecking Settings > Startup > Open previous windows and tabs, and also tried following this article: https://support.mozilla.org/en-US/questions/1182594

My sessions still restores after my computer restarts or crashes.

Why do I want this? When I reboot my computer, I want a clean slate to start from scratch, not the dozens of pages (and other software) I had open from my previous session.

I am running linux mint btw.

Archived 1 417

How do I override CSS in Reader View as of Firefox version 105?

Any advice returned by Google seems to be obsolete or only worked perhaps in older versions of Firefox. The main idea of using userChrome.css to override the default styl… (read more)

Any advice returned by Google seems to be obsolete or only worked perhaps in older versions of Firefox. The main idea of using userChrome.css to override the default styles for Reader View does not seem to work. My userChrome.css file does work on other items though (like removing the sidebar width restriction).

Whatever advice I find via Google perhaps cites outdated CSS selectors, but current selectors do not seem to be documented anywhere by Mozilla. Moreover, I cannot find any file on my local drive named aboutReader.css when using find or grep commands in bash, those this file name is alluded to when viewing a page in Reader View and then in turn viewing source on that transformed page.

Moreover, addons that would allow me to change the colors seem to be restricted in Reader View.

It does seem like something has changed in recent Firefox updates but I can't remember when I last saw, for instance, links in dark mode Reader View that were still pink (whereas now they are blue, and impossibly dark to see, especially when you are disabling as much blue light as possible through your operating system). I need a higher contrast color for links in dark mode Reader View so I can actually see them.

I can alternatively use the Tranquility Reader addon and have custom colors, but A) that addon does not work with the Automatic Reader View addon, whereby I can always have various sites appear in some sort of "reader view" whether the native one or Tranquility Reader, and B) hitting refresh when in Reader View will defeat some soft paywalls but this does not work with, e.g., Tranquility Reader, so I still would prefer to be able to custom colors in the native Reader View feature, rather than rely on an addon.

1. Where are the current styles for Reader View even documented? 2. Is overriding them now restricted? 3. Why did the link color change from pink to blue in newer versions of Firefox (this is a terrible accessibility bug)? 4 .Where is the alluded to aboutReader.css stylesheet actually stored on my computer (it doesn't seem to be a file on the filesystem in the Firefox profiles folder, it seems more like it is embedded in the Firefox binary/executable)? 5. Will Firefox settings ever allow us to set colors specifically for Reader View (I don't mean the override settings for all web pages, particularly web pages not being rendered in Reader View ... that setting does not help in Reader View, nor would it be the desired preference for pages not in Reader View)?

Thank you.

Solved Archived 4 397

Another program on your computer installed an add-on ... repeatedly with every restart

This issue is happening with every newly installed add-on, but not with add-ons installed on or before Aug 3, 2024. The add-ons are installed via addons.mozilla.org. To r… (read more)

This issue is happening with every newly installed add-on, but not with add-ons installed on or before Aug 3, 2024. The add-ons are installed via addons.mozilla.org. To rule out the possibility that it's happening only with specific add-ons, I also installed one of the random recommendations on that page, Augmented Steam which has 54,248 users, and it happens with that one as well.

I'll click Enable, but the prompt appears every time I restart Firefox.

What I've tried (with a restart after each attempt):

  • Clear the startup cache
  • Delete extensions.json
  • Delete compatibility.ini
  • Via about:config deleted extensions.databaseSchema and extensions.getAddons.databaseSchema
  • Excluded Add-ons from syncing

I've noticed the following in extensions.json for each of the recent add-ons after restart:

  • syncGUID changes to presumably random new value
  • active changes from true to false
  • userDisabled changes from false to true
  • seen changes from true to false
Solved Archived 8 393

Intermittent connectivity problems

Hi, I'm on Debian. In the last day I have intermittent connection problems on many websites which go away after a while. Any ideas? I'm using Quad9 for DNS but I don't kn… (read more)

Hi, I'm on Debian. In the last day I have intermittent connection problems on many websites which go away after a while. Any ideas? I'm using Quad9 for DNS but I don't know where in the chain something is going wrong

Archived 1 386

Failing Automatic Session Restore on App Launch

Every time I open Firefox after closing it, I get the message below. I can click the button to restore session and it works every time. With each update, I hope to neve… (read more)

Every time I open Firefox after closing it, I get the message below. I can click the button to restore session and it works every time. With each update, I hope to never see this message again, but after installing a new version on Ubuntu today, I see the same familiar message. This is not linked to a computer, or an operating system because I've seen this on both Ubuntu and Mac. If Firefox could literally just click the button that would be awesome.

Sorry. We’re having trouble getting your pages back.

We are having trouble restoring your last browsing session. Select Restore Session to try again.

Solved Archived 5 385

Import Data from older Version

My system broke during an update. Now I want to import my old Firefox userdata, but everytime I try to use the old data firefox just forces the creation of a new profile?… (read more)

My system broke during an update. Now I want to import my old Firefox userdata, but everytime I try to use the old data firefox just forces the creation of a new profile?

Is it completely impossible to recover data not created with the same firefox version?

Solved Archived 3 381

Widevine Plugin Crashes Trying to Stream Content

Since I updated to Firefox 141.02 I have not been able to play videos on Paramount+ or Netflix. I get an error on the top that says the Widevine plugin has crashed on bo… (read more)

Since I updated to Firefox 141.02 I have not been able to play videos on Paramount+ or Netflix. I get an error on the top that says the Widevine plugin has crashed on both streaming services. I have checked that the plugin is on and there are no updates. I am on Ubuntu 24.04. Video on YouTube plays as normal

Archived 2 380

How to disable AI in Firefox completely?

With Firefox 144, there is unasked for/unwanted AI introduced. How do I ensure that all AI is completely disabled in my browser? I found a link describing some settings, … (read more)

With Firefox 144, there is unasked for/unwanted AI introduced. How do I ensure that all AI is completely disabled in my browser? I found a link describing some settings, but want to confirm this will disable ALL AI in the browser. I don't want it, don't trust the privacy/security holes yet to be found and would prefer it was not included in Firefox to begin with. The list I've found is:

  • user_pref("browser.ml.chat.enabled", false);
  • user_pref("browser.ml.chat.menu", false);
  • user_pref("browser.ml.chat.page", false);
  • user_pref("browser.ml.chat.shortcuts", false);
  • user_pref("browser.ml.chat.sidebar", false);
  • user_pref("browser.ml.enable", false);
  • user_pref("browser.ml.linkPreview.enabled", false);
  • user_pref("browser.ml.linkPreview.optin", false);
  • user_pref("browser.ml.modelHubRootUrl", "");

Will this do it? What about:

browser.ml.chat.nimbus

Do I need to clear that field to ensure I don't get some auto opt-in in the future as more and more of this "stuff" is put into the browser?

Why not leave Firefox as a security/privacy conscious browser and put out a separate AI browser (FirefoxML?) for those that are not as concerned. How does Mozilla ensure that no information is leaked through AI from sessions for professionals that must protect physician/patient, attorney/client information or other legally confidential information?

Open 7 374

how to view CSV files as plain text in firefox ?

I am using Linux Mint with Firefox 127.0.2 (64-Bit) In Preferences Applications, setting CSV-Dokument to open with firefox opens edless new firefox Tabs - so… (read more)

I am using Linux Mint with Firefox 127.0.2 (64-Bit)

In Preferences Applications, setting

 CSV-Dokument      to    open with firefox

opens edless new firefox Tabs - so I had to kill firefox. (setting CSV-Dokument to open with OpenOffice works fine. But this is not what I want.)

In Preferences Applications, I found further CSV types: application/csv-Typ CSV Document (application/text) CSV Document (octet/stream) CSV Document (application/x-download) Which applications should I use for them ?

I found the file "mimeTypes.rdf". However, I am not familiar with the syntax.

Solved Archived 4 366

disable tab detaching (tear-off) when dragging down

When i click on a tab, if I am not perfectly steady at the time of the click, Firefox opens the tab in a new windows. It happens several times a day, it's quite annoying.… (read more)

When i click on a tab, if I am not perfectly steady at the time of the click, Firefox opens the tab in a new windows. It happens several times a day, it's quite annoying. Searching for solutions in the support page, I've found that there was an add-on to disable this function, but now it's not available anymore. Is there a solution in 2024?

Solved Archived 1 364