Showing questions tagged: Show all questions
  • Solved

Using canvas/context to scale an image that displays ok before removes the image data, ok in Chome/Safari.

The app sizes two adjacent images to the same height. Maybe there's a better approach? This works, in that I see the original image displayed at the wrong size: //im… (read more)

The app sizes two adjacent images to the same height. Maybe there's a better approach?

This works, in that I see the original image displayed at the wrong size:

   //img.src = imgsrc.src;

This sizes the image but without the data (black square for toDataURL w/ image/jpeg) in FF, but not Chrome and Safari:

   var canvas = document.createElement( 'canvas' );
   canvas.width = width;
   canvas.height = avail_height;
   var context = canvas.getContext( '2d' );
   // Tried/failed: Fill white background for JPEG export
   //context.fillStyle = '#fff';
   //context.fillRect(0, 0, canvas.width, canvas.height);
   context.drawImage( imgsrc, 0, 0, canvas.width, canvas.height);
   context.lineWidth = 150; // ??
   img.src = canvas.toDataURL('image/jpeg', 0.92);
   img.onmousedown = disableDragging; // for FF
   img.style.opacity = "1.0"

The page is the view.html one gets to via Enter on phobrain.com.

Asked by phobrain 3 months ago

Answered by Paul 3 months ago

  • Solved
  • Archived

Backup & restore information in Firefox profiles

Hi there! I'm attempting to migrate my Firefox (106.0.3) profile from the Linux Mint V20.3 on one SSD to a new installation of Linux Mint V21 on a separate SSD. I'm usi… (read more)

Hi there!

I'm attempting to migrate my Firefox (106.0.3) profile from the Linux Mint V20.3 on one SSD to a new installation of Linux Mint V21 on a separate SSD. I'm using the information supplied on this page:

https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles

Step 4, under Backing up your profile says: Right-click on your profile folder (e.g. xxxxxxxx.default), and select Copy.

This folder, qspfoqtl.default, contains 1 file, named times.json, the contents of which are:

{ "created": 1618792039414, "firstUse": null }

Clearly, not my Firefox profile.

There is, however, a folder named nnob5aww.default-release that contains a bunch of directories and files (505.4MB) with names like bookmarkbackups, browser-extension-data... storage, weave.

Is this documentation incorrect as of this release of Firefox? And, should I be using the nnob5aww.default-release folder as the profile? I'm a little confused. (Most often, I'm a lot confused.) Any help would be appreciated.

Thanks in advance,

- Ralph

Asked by Mandelbrot1 3 years ago

Answered by Mandelbrot1 3 years ago

  • Locked

Lost all my pinned an open tabs

Firefuxxed was refusing to open new tabs so I shut it down and restarted it (always fixes it) and all my pinned and open tabs were gone with no way to recover them, it to… (read more)

Firefuxxed was refusing to open new tabs so I shut it down and restarted it (always fixes it) and all my pinned and open tabs were gone with no way to recover them, it took me half an hour to manually restore the pinned ones one by one but not all of them as I cannot remember all of them let alone all the open tabs I had (hours of research gone down the toilet).

There should be a way to backup and restore pinned and open tabs so this doesn't happen, the history option does nothing.

OS: Linux Mint 22 fresh install from a week ago Previous version of Firefuxxed updated after this shamossel.

Asked by a.frayed.knot.mate 3 months ago

Last reply by Paul 2 months ago

  • Solved
  • Archived

how can I remove adblocker

I installed one of the ad blockers, I can't remember which one. It's given me so much trouble that I thought to disable or delete it. I deleted the little icon ( a stop… (read more)

I installed one of the ad blockers, I can't remember which one. It's given me so much trouble that I thought to disable or delete it. I deleted the little icon ( a stop sign) that shows up on the far right of one of the menu bars (don't know the name of that bar but here it's the second one down). But websites still complain that I have an ad blocker. I've gone to 'add-ons and themes' but I can't find it. BTW, what's the difference between an add-on, a plug-in and an extension? Which one of those are ad blockers? How can I see and then delete whichever blocker I still have? Without the icon I can't even disable it for individual sites.

Asked by rayandrews 1 year ago

Answered by rayandrews 1 year ago

  • Solved
  • Archived

Firefox randomly slow at startup

Hello, For an unknown reason, my firefox sometimes is really slow to startup. It can take up to 10 minutes before the webpage start to load. My hardware is not that bad… (read more)

Hello,

For an unknown reason, my firefox sometimes is really slow to startup.

It can take up to 10 minutes before the webpage start to load. My hardware is not that bad. I try to use the "performance" to capture the issue : https://share.firefox.dev/3x2rgHj I don't know if there is something to see because, the tool is also slow.

It happens on 3 different computers on linux.

I try to disable all extensions and without telemetry but nothing change. I'm reporting the problem now but it's much older

If you have a idea to fix this issue please share because it's really annoying.

Asked by Inglebard 1 year ago

Answered by zeroknight 1 year ago

  • Solved
  • Archived

Tab dragging stops working at random times

Sometimes drag functionality stops working. I can't grab a tab to move it to another position or to a new window. (Holding left click on the tab and moving the cursor doe… (read more)

Sometimes drag functionality stops working. I can't grab a tab to move it to another position or to a new window. (Holding left click on the tab and moving the cursor does nothing). Also, re-merging the tab with another firefox window stops working. (Dragging a tab to a firefox window from another firefox window doesn't merge them. It does nothing) I can right click on the tab and select Move to move it to a new window but dragging stops working. I have to close Firefox and start it again (sometimes twice), then dragging starts working again. This happens multiple times a day. I am on Linux Mint and the version is 126.0 (64-bit). This problematic behavior has only recently began.

Asked by tenkayr 1 year ago

Answered by TyDraniu 1 year ago

  • Solved

Switzerland emoji flag replaced with the one of Sark

Hi, I discovered today that the installation of Firefox I have has modified some emoji, like the flag of Switzerland has been replaced with the one from Sark. See the sc… (read more)

Hi,

I discovered today that the installation of Firefox I have has modified some emoji, like the flag of Switzerland has been replaced with the one from Sark. See the screenshot looking at the same website with Firefox on the left, and Brave on the right:

There's a big mess in the flags' emojis apparently looking at a page showing all the countries. See second screenshot.

Asked by Marc-Aurèle 1 month ago

Answered by Marc-Aurèle 1 month ago

  • Solved

firefox on an old computer

hi, I have an old PC with this CPU: Architecture: i686 CPU op-mode(s): 32-bit Address sizes: 34 bits physical, 32 bits virtual Byte … (read more)

hi,

  I have an old PC with this CPU:

Architecture: i686

 CPU op-mode(s):         32-bit
 Address sizes:          34 bits physical, 32 bits virtual
 Byte Order:             Little Endian

CPU(s): 1

 On-line CPU(s) list:    0

Vendor ID: AuthenticAMD

 BIOS Vendor ID:         AMD                                             
 Model name:             AMD Sempron(tm) 2400+
   BIOS Model name:      AMD Sempron(tm) 2400+                             CPU @ 1.6GHz
   BIOS CPU family:      29
   CPU family:           6
   Model:                8
   Thread(s) per core:   1
   Core(s) per socket:   1
   Socket(s):            1
   Stepping:             1
   BogoMIPS:             3333.66
   Flags:                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat p
                         se36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow cpuid 3dnowprefe
                         tch vmmcall

Caches (sum of all):

 L1d:                    64 KiB (1 instance)
 L1i:                    64 KiB (1 instance)
 L2:                     256 KiB (1 instance)

Vulnerabilities:

 Gather data sampling:   Not affected
 Itlb multihit:          Not affected
 L1tf:                   Not affected
 Mds:                    Not affected
 Meltdown:               Not affected
 Mmio stale data:        Not affected
 Reg file data sampling: Not affected
 Retbleed:               Not affected
 Spec rstack overflow:   Not affected
 Spec store bypass:      Vulnerable
 Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitizatio
                         n
 Spectre v2:             Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS No
                         t affected; BHI Not affected
 Srbds:                  Not affected
 Tsx async abort:        Not affected


in some linux (arch 32 bit) I have problem executing firefox, Is there a version for CPU without request from SSE3 Flag?

thanks

Asked by sacarde 1 month ago

Answered by George Kitsoukakis 1 month ago

  • Solved
  • Archived

firefox crashing

For the last 2 weeks I started having problems with Firefox working consistently. Sometimes only tabs crash, sometimes Firefox crashes. It is not tied to any actions, a t… (read more)

For the last 2 weeks I started having problems with Firefox working consistently. Sometimes only tabs crash, sometimes Firefox crashes. It is not tied to any actions, a tab can crash even if you don't perform any actions in the browser. I have tried clean install on Fedora and Vanilla OS, native and Flatpak packages. The result is always the same - tabs or Firefox crashes every few minutes.

Asked by Maksim Podterebkov 1 year ago

Answered by Maksim Podterebkov 1 year ago

  • Solved
  • Archived

"this page is slowing down firefox"

How can I turn this message off? Some sites I visit give me that message, it shows up when I'm typing a reply to something which pushes the page lower and fouls up my ab… (read more)

How can I turn this message off? Some sites I visit give me that message, it shows up when I'm typing a reply to something which pushes the page lower and fouls up my ability to keep typing, then if goes away, comes back, goes away ... I just want to kill the message entirely. I'm not worried about speed, there's nothing to fix, I just want the message gone.

Asked by rayandrews 1 year ago

Answered by cor-el 1 year ago

  • Solved
  • Archived

Firefox 128.03 No way to get rid of google as search engine

Is Firefox now a complete tool of Google ? about:preferences#search there is no way to delete google as search engine I have startpage and duckduckgo as alternativ… (read more)

Is Firefox now a complete tool of Google ? about:preferences#search there is no way to delete google as search engine I have startpage and duckduckgo as alternative options listed and I can remove them, but google cannot be removed as the REMOVE button is not highlighted in case of Google. Why do you hardcode Google as the default browser for the URL bar ?

From the attached image you can see that the "Remove Tab" is inactive specifically for google. I tried absolutely all advice on the net, and nothing works. Firefox now seemingly FORCES us to use google. This behavior was not present in the previous firefox version I used. It immediately happened after update to 128.0.3 (64-bit).

Is google now hardcoded into firefox ? If so it is time for a hard fork in the firefox code. Hopefully it is not needed.

In addition Google was ruled to be a Monopoly today by a federal judge,

https://apnews.com/article/google-antitrust-search-engine-verdict-apple-319a61f20fb11510097845a30abaefd8

So it would be better for Mozilla/Firefox to not continue the monopoly and become an enabling party in monopoly lawsuits.

Asked by zimbodel 1 year ago

Answered by zimbodel 1 year ago

  • Solved
  • Archived

Hotkeys for rotating between different screens when responsive design mode is on

Is there any way to rotate between different screen sizes option using shortcuts keymaps which appear during "responsive design mode" is on. I found extensions which resi… (read more)

Is there any way to rotate between different screen sizes option using shortcuts keymaps which appear during "responsive design mode" is on. I found extensions which resizes whole browser & they helps. but it also causes developer tool to resize along with browser which hinders me to see different css properties. so i am looking for a way to rotate only screens.

"Responsive Design mode" is what turns on when we press ctrl+shift+m.


I Love using firefox more than Chrome. This is my go to browser.

Asked by rajesh kumar chaurasiya 1 year ago

Answered by cor-el 1 year ago

  • Solved

Linux / Plasma 6.4/Wayland (amd gpu) After enabling HDR in firefox - all non HDR (youtube) content just shows green sceen

I have HDR working in Proton games and mpv fine (using Plasma 6.4 / Wayland) I enabled HDR in Firefox (gfx.wayland.hdr), and HDR content works in YouTube fine ( looks am… (read more)

I have HDR working in Proton games and mpv fine (using Plasma 6.4 / Wayland)

I enabled HDR in Firefox (gfx.wayland.hdr), and HDR content works in YouTube fine ( looks amazing!) however.. I have an issue in that all non HDR content doesn’t show any video (I have sound) just a green sceen (see screen shot) including all ads.

Any idea how to work round this ?

I have AMD 7800 GPU .

Cheers

Asked by morgan cox 3 months ago

Answered by morgan cox 3 months ago

  • Solved

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 … (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!

Asked by phobrain 3 months ago

Answered by phobrain 3 months ago

  • Solved
  • Archived

Video playback on Firefox for Linux Fedora

Hi. There is a problem with video playback when skipping through the video using a playback bar. The video (but not audio) freezes at the spot when one skippes to another… (read more)

Hi. There is a problem with video playback when skipping through the video using a playback bar. The video (but not audio) freezes at the spot when one skippes to another part of the video and re-establishes after a while (not so short while) to the part of the video that is currently played. I'm using Linux Fedora.

Asked by Jure 6 months ago

Answered by M B 6 months ago

  • Solved
  • Archived

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!

Asked by Lakshay Rohila 1 year ago

Answered by zeroknight 1 year ago

  • Solved
  • Archived

Taking webpage screenshot from command line

Hi. i have no results while doing this: https://dpaste.com/FTXPQ46ZL# No error, no screenshot. "Screenshot" flags in default state, about:policies - inactive. … (read more)

Hi. i have no results while doing this: https://dpaste.com/FTXPQ46ZL# No error, no screenshot. "Screenshot" flags in default state, about:policies - inactive.

Asked by qwertikator 1 year ago

Answered by cor-el 1 year ago