顯示下列標籤的問題:

Firefox browser settings are no longer available.

I have the latest Firefox installed on Linux Mint. But in Firefox privacy settings there is no longer a way to choose browsers. It just says "Firefox is currently your de… (閱讀更多)

I have the latest Firefox installed on Linux Mint. But in Firefox privacy settings there is no longer a way to choose browsers. It just says "Firefox is currently your default browser". But every time I do a search, it automatically search with Google. That never never happened until I installed latest Firefox. If Firefox is forcing me to use Google, that why do I need Firefox?? Please explain?

Thanks much for your time

已解決 封存 10 196

Sync doesn`t sync my tabs

Sync is a nightmare. It is so unintuitive! What exactly would be wrong with having separate Export and Import buttons for each of Settings, Addons, Tabs, History, Bookm… (閱讀更多)

Sync is a nightmare. It is so unintuitive! What exactly would be wrong with having separate Export and Import buttons for each of Settings, Addons, Tabs, History, Bookmarks, etc? I have a desktop box and a newer laptop I wanted to get up to date. I pressed the Sync button on the desktop ... By the way, there`s a link below that reads "Connect another device" ... Connect where? Someone is designing these interfaces who has absolutely zero imagination. Anyways, I signed off, moved the ethernet cable to my laptop, signed in, pressed Sync, and voila!, I got my Bookmarks, at least. But I have no idea how to get my tabs and windows. I tried with a "download link" something or other, but it seemed to assume I was sync-ing to a phone, and didn`t work. Any way to get my tabs?

已解決 封存 10 1971

Firefox tabs don't get saved when closing Firefox - Version 145.0

Firefox version 145.0 in Linux Ubuntu 22.04.5 LTS. When I open Firefox all tabs from previous session are gone. On "Startup" I have checked "Open previous windows and tab… (閱讀更多)

Firefox version 145.0 in Linux Ubuntu 22.04.5 LTS. When I open Firefox all tabs from previous session are gone. On "Startup" I have checked "Open previous windows and tabs". Which worked before but not now. It is very frustrating. How do I fix? The Profile Manager opens the settings and "Open previous windows and tabs" is checked. Checking "ask before closing multiple tabs" doesn't help.

已解決 9 339

Firefox and Firefox-Dev crashes on google maps.

I use Firefox-Dev(129.0b9 (64-bit)) and Firefox (128.0.3 (64-bit)) as default browsers on my Gentoo Linux system with an Intel i7. Both Firefox-Dev and Firefox crash will… (閱讀更多)

I use Firefox-Dev(129.0b9 (64-bit)) and Firefox (128.0.3 (64-bit)) as default browsers on my Gentoo Linux system with an Intel i7. Both Firefox-Dev and Firefox crash will visiting some websites. Especially Google maps. I have a Gentoo Laptop with and i3 where I run both Firefox-Dev and Firefox and things run fine. I have more software installed on the Intel i7. Video cards ar different of course.

Here is my ldd: opt/firefox $ ldd firefox linux-vdso.so.1 (0x00007ffc8e584000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0161fe7000) libc.so.6 => /lib64/libc.so.6 (0x00007f0161e08000) /lib64/ld-linux-x86-64.so.2 (0x00007f0162007000)


Here is the crash report: AdapterDeviceID: 0x6613 AdapterDriverVendor: mesa/radeonsi AdapterDriverVersion: 24.1.3.0 AdapterVendorID: 0x1002 Add-ons: formautofill%40mozilla.org:1.0.1,pictureinpicture%40mozilla.org:1.0.0,webcompat-reporter%40mozilla.org:2.1.0,webcompat%40mozilla.org:129.3.0,default-theme%40mozilla.org:1.3,addons-search-detection%40mozilla.com:2.0.0 AvailablePageFile: 98520420352 AvailablePhysicalMemory: 57304293376 AvailableSwapMemory: 68719472640 AvailableVirtualMemory: 65166487552 BackgroundTaskMode: 0 BuildID: 20240726091552 ContentSandboxCapabilities: 119 ContentSandboxCapable: 1 ContentSandboxLevel: 4 CrashTime: 1722173712 DOMFissionEnabled: 1 DOMIPCEnabled: 1 DesktopEnvironment: xfce EMCheckCompatibility: true GpuSandboxLevel: 0 GraphicsNumActiveRenderers: 1 GraphicsNumRenderers: 1 HeadlessMode: 0 InstallTime: 1722086601 IsWayland: 0 LastStartupWasCrash: 1 LinuxUnderMemoryPressure: 0 Notes: Gentoo LinuxFP(D00-L1000-W0000000-T01) WR? WR+ EGL? EGL- GL Context? GL Context+ WebGL? WebGL+ ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384} ProductName: Firefox RDDProcessStatus: Running ReleaseChannel: aurora SafeMode: 0 SecondsSinceLastCrash: 324 StartupCacheValid: 0 StartupCrash: 0 StartupTime: 1722173401 SubmittedFrom: Client TelemetryClientId: 8d5032ba-a1c3-4acb-b235-847bd4545b87 TelemetryEnvironment: {"build":{"applicationId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","applicationName":"Firefox","architecture":"x86-64","buildId":"20240726091552","version":"129.0","vendor":"Mozilla","displayVersion":"129.0b9","platformVersion":"129.0","xpcomAbi":"x86_64-gcc3","updaterAvailable":true},"partner":{"distributionId":null,"distributionVersion":null,"partnerId":null,"distributor":null,"distributorChannel":null,"partnerNames":[]},"system":{"memoryMB":64259,"virtualMaxMB":null,"cpu":{"count":12,"cores":6,"vendor":"GenuineIntel","name":"Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz","family":6,"model":45,"stepping":7,"l2cacheKB":256,"l3cacheKB":12288,"speedMHz":5700,"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4_1","hasSSE4_2","hasAVX","hasAES"]},"os":{"name":"Linux","version":"6.6.38-gentoo","locale":"en-US","distro":"Gentoo","distroVersion":"2.15"},"hdd":{"profile":{"model":null,"revision":null,"type":null},"binary":{"model":null,"revision":null,"type":null},"system":{"model":null,"revision":null,"type":null}},"gfx":{"D2DEnabled":null,"DWriteEnabled":null,"ContentBackend":"Skia","Headless":false,"EmbeddedInFirefoxReality":null,"TargetFrameRate":60,"adapters":[{"description":"OLAND (radeonsi, , LLVM 18.1.8, DRM 2.50, 6.6.38-gentoo)","vendorID":"0x1002","deviceID":"0x6613","subsysID":null,"RAM":0,"driver":null,"driverVendor":"mesa/radeonsi","driverVersion":"24.1.3.0","driverDate":null,"GPUActive":true}],"monitors":[{"screenWidth":1920,"screenHeight":1080}],"features":{"compositor":"webrender","hwCompositing":{"status":"available"},"gpuProcess":{"status":"unused"},"webrender":{"status":"available"},"wrCompositor":{"status":"blocked:FEATURE_FAILURE_DISABLE_RELEASE_OR_BETA"},"openglCompositing":{"status":"available"},"omtp":{"status":"unused"}}},"appleModelId":null,"hasWinPackageId":null},"settings":{"blocklistEnabled":true,"e10sEnabled":true,"e10sMultiProcesses":8,"fissionEnabled":true,"telemetryEnabled":true,"locale":"en-US","intl":{"requestedLocales":["en-US"],"availableLocales":["en-US"],"appLocales":["en-US"],"systemLocales":["en-US"],"regionalPrefsLocales":["en-US"],"acceptLanguages":["en-US","en"]},"update":{"channel":"aurora","enabled":true,"autoDownload":true,"background":true},"userPrefs":{"browser.search.region":"US","browser.search.widget.inNavBar":false,"browser.urlbar.autoFill":true,"browser.urlbar.autoFill.adaptiveHistory.enabled":false,"browser.urlbar.dnsResolveSingleWordsAfterSearch":0,"browser.urlbar.quicksuggest.dataCollection.enabled":false,"browser.urlbar.suggest.quicksuggest.nonsponsored":true,"browser.urlbar.suggest.quicksuggest.sponsored":true,"media.gmp-gmpopenh264.enabled":false,"media.gmp-gmpopenh264.lastInstallStart":1721840659,"media.gmp-gmpopenh264.lastDownload":1721840660,"media.gmp-gmpopenh264.lastUpdate":1721840660,"media.gmp-manager.lastCheck":1722086677,"media.gmp-manager.lastEmptyCheck":1722086677,"network.trr.strict_native_fallback":false,"widget.content.gtk-high-contrast.enabled":true},"sandbox":{"effectiveContentProcessLevel":4,"contentWin32kLockdownState":3},"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":true,"defaultSearchEngine":"google-b-1-d","defaultSearchEngineData":{"loadPath":"[app]google@search.mozilla.org","name":"Google","origin":"default","submissionURL":"https://www.google.com/search?client=firefox-b-1-d&q="}},"profile":{"creationDate":19928,"firstUseDate":19928},"addons":{"activeAddons":{"formautofill@mozilla.org":{"version":"1.0.1","scope":1,"type":"extension","updateDay":19926,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":null,"name":"Form Autofill","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19926,"quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false},"pictureinpicture@mozilla.org":{"version":"1.0.0","scope":1,"type":"extension","updateDay":19926,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Fixes for web compatibility with Picture-in-Picture","name":"Picture-In-Picture","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19926,"quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false},"webcompat-reporter@mozilla.org":{"version":"2.1.0","scope":1,"type":"extension","updateDay":19926,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Report site compatibility issues on webcompat.com","name":"WebCompat Reporter","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19926,"quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false},"webcompat@mozilla.org":{"version":"129.3.0","scope":1,"type":"extension","updateDay":19926,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Urgent post-release fixes for web compatibility.","name":"Web Compatibility Interventions","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19926,"quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false}},"theme":{"id":"default-theme@mozilla.org","blocklisted":false,"description":"Follow the operating system setting for buttons, menus, and windows.","name":"System theme — auto","userDisabled":false,"appDisabled":false,"version":"1.3","scope":4,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19928,"updateDay":19928},"activeGMPlugins":{}},"experiments":{"upgrade-spotlight-rollout":{"branch":"treatment","type":"nimbus-rollout"}}} TelemetryServerURL: https://incoming.telemetry.mozilla.org TelemetrySessionId: aba8ef58-e31e-4fc6-b7a6-a5473f7d83d7 Throttleable: 1 TotalPageFile: 136099627008 TotalPhysicalMemory: 67380154368 URL: https://www.google.com/maps?authuser=0 UptimeTS: 311.090528 UtilityProcessStatus: Running Vendor: Mozilla Version: 129.0 useragent_locale: en-US This report also contains technical information about the state of the application when it crashed.

已解決 封存 9 228

How to easily disable annoying PKCS#11 pop-up when Yubikey is plugged in

Hi, I am using Firefox for Linux, and whenever my yubikey is plugged in, firefox will start bothering me for a pkcs#11 password. It always happens on start-up but it gets… (閱讀更多)

Hi,

I am using Firefox for Linux, and whenever my yubikey is plugged in, firefox will start bothering me for a pkcs#11 password. It always happens on start-up but it gets relentlessly annoying if I happen to be on a site which potentially utilizes certificate auth, which I do not use this yubikey for.

I do however use it for 2fa, which does work perfectly fine.

How do I permanently stop whatever Firefox process keeps bothering me about this PKCS#11 password for functionality that I never use?

已解決 封存 9 974

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… (閱讀更多)

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.

已解決 封存 9 472

Your browser is not currently supported - twitch.tv

I updated firefox through apt, and since then, have not been able to log into twitch I am on ubuntu 24 apt list --installed | grep firefox firefox/mozilla,now 144.0.2~bui… (閱讀更多)

I updated firefox through apt, and since then, have not been able to log into twitch I am on ubuntu 24

apt list --installed | grep firefox firefox/mozilla,now 144.0.2~build1 amd64 [installed]

Attempting to log in returns the generic "Your browser is not currently supported"

已解決 8 1058

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: //img.… (閱讀更多)

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.

已解決 封存 8 295

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… (閱讀更多)

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
已解決 封存 8 401

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… (閱讀更多)

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.

被鎖定 封存 8 298

Unable to Launch Firefox 3.5.19 On Linux Ubuntu 24.04.2 LTS

Can’t launch Firefox 3.5.19 on Linux Ubuntu When trying to run with: ./firefox Terminal gives the following: ./firefox-bin: error while loading shared libraries: libdbus-… (閱讀更多)

Can’t launch Firefox 3.5.19 on Linux Ubuntu When trying to run with:

./firefox

Terminal gives the following:

./firefox-bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory

已解決 封存 8 526

I can't seem to allow the camera when using sites like meet.google.com

I recently tried to connect to two different meeting sites. Both times I got a pop-up noting (correctly) that camera and microphone are blocked. I'm able to click to enab… (閱讀更多)

I recently tried to connect to two different meeting sites. Both times I got a pop-up noting (correctly) that camera and microphone are blocked. I'm able to click to enable the microphone but I never get the option to enable the camera.

I tried going to Settings>Security&Privacy>Camera but that only allows me to remove previously-enabled websites.

Clicking on the settings button in the address bar shows audio and recording settings but no camera.

What am I doing wrong?

Fedora 42 Firefox 145.0

已解決 8 326

Hi - Snap Version for Ubuntu frequently locks system on closing.

Ubuntu - I use the SNAP version of Firefox - I generally have lots of tabs open but only use 5 or so of them and it's generally fine.... but when I am closing Firefox, it… (閱讀更多)

Ubuntu - I use the SNAP version of Firefox - I generally have lots of tabs open but only use 5 or so of them and it's generally fine.... but when I am closing Firefox, it USES like 100% of the CPU and ALL of the RAM and ALL of the SWAP memory when closing.

This locks up the computer.

Sometimes it doesn't quite go all the way but I can watch it all happen in real time, using Task Manager - and that shows a solidwall of all resources occouring, when the close Firefox is run.

I am told by research via ChatGPT that this is a very real problem with the SNAP version and it's best to change to the Debian version, copy all the bookmarks etc., across and then uninstall the SNAP version.

It's rather disconcerting to have Linux crash because of this one app locking it up and frequently.

Chat GPT:

Is there a problem with Firefox Snap Version closing and using all the resources while doing so, which results in locking up the computer?

You're definitely not imagining it—there have been reports of Firefox's Snap version consuming excessive system resources (CPU, memory) and even causing lockups or hangs, particularly during closure. Here's what’s going on and how to mitigate it:

What’s Happening with Firefox Snap?

2. Browser Hangs or Locks the System on Close

On Linux (especially Ubuntu), users have reported that closing Firefox can lead to it hanging in memory, sometimes unresponsive and still consuming resources.
Super User
Ask Ubuntu
A stark example from Reddit illustrates the severity:
“About 50% of the time I open Firefox, it'll reach 100% CPU usage in about 30 seconds… PC completely unusable unless I shutdown.”
Reddit

3. Known Wayland Sway Bug

On Wayland/Sway setups, reloading Sway while Firefox is open can trigger intense logging, causing high CPU use and an enormous syslog.
Fix: Set MOZ_DISABLE_WAYLAND_PROXY=1, or upgrade to FF 125 where the issue is addressed.
Reddit+1

Alternative Approach

Many users, particularly on Ubuntu, opt out of Snap completely in favor of the .deb package or PPA builds. These alternatives often avoid these specific issues. Ask Ubuntu Reddit

Thoughts? Solutions?

Thanks in advance.

已解決 封存 8 153

firefox won't show .pdfs properly

Firefox screws up showing .pdfs. The first view is fine but scrolling seems to overprint the first view without erasing it, if that makes sense, sorta like a double expo… (閱讀更多)

Firefox screws up showing .pdfs. The first view is fine but scrolling seems to overprint the first view without erasing it, if that makes sense, sorta like a double exposure. I can't get a screen cap either, which might just mean it's not a firefox issue at all, but I can view and screen cap .pdfs from any other application. I'm running Debian 12 up to date. When I need to view a .pdf I use Chromium, but I do prefer Firefox.

已解決 封存 8 130

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… (閱讀更多)

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.

已解決 封存 7 331

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 alternative opt… (閱讀更多)

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.

已解決 封存 7 213

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 Ord… (閱讀更多)

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

已解決 封存 7 184

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… (閱讀更多)

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!

已解決 封存 7 509