Zobrazenie otázok označených: Zobraziť všetky otázky

userchrome.js: how to get notified when tabs open and close?

I've recently started using the Tree Style Tab extension, and I'm finding it useful, but I'd like it if the list of tabs could be automatically hidden when only one tab i… (ďalšie informácie)

I've recently started using the Tree Style Tab extension, and I'm finding it useful, but I'd like it if the list of tabs could be automatically hidden when only one tab is open (and automatically shown when more than one tab is open).

I hoped to write an extension to do this, but opening the sidebar from an extension requires a user gesture, so I suspect I'll have to use a userchrome.js script.

From a "userchrome.js"-like environment (i.e. unsandboxed AutoConfig), I can hide and show the sidebar with `SidebarUI.hide()` and `SidebarUI.show("treestyletab_piro_sakura_ne_jp-sidebar-action")`, and I can examine the tabs open in the current window via `gBrowser.tabs`, but I can't see how to get notified when the number of tabs changes (replacing `gBrowser.tabs` with a proxy doesn't work, for example). I suppose I could just check every few seconds? That feels like a bit of a cop-out, though, and gets more and more inefficient the more windows are open.

There's an API for extensions to receive events when tabs open and close, so clearly this is possible. Where should I be looking for this functionality?

(I also don't know how I would go about unregistering an event listener (or cancelling a setInterval call!) when the window closes, assuming that's necessary to avoid leaking resources – is there an event like `chrome-document-global-created` I could listen for, but that fires during teardown of the window rather than when one is created?)

Otázku položil(a) ash Pred 4 hodinami

Videos won't play or show error sign

Everytime i try to watch a video it says it can't play or it just sits there buffering. Youtube works but only lower quality, but every other site i go on doesn't. Twitch… (ďalšie informácie)

Everytime i try to watch a video it says it can't play or it just sits there buffering. Youtube works but only lower quality, but every other site i go on doesn't. Twitch won't load, other sites show Error Code: 102630. This is only a problem on my browser on my windows pc I have. On mobile the browser works great and has no problem showing videos so it a problem for my pc browser.. I've tried all of the steps, i've updated, i checked drm and even went into config to check there. But nothing works, it still can't load videos. I have version 125.0.3 and for me it's the latest one. I even turned off all of my add-ons to check if it works or not but nothing there either. It worked before, just now the latest two months it hasn't. What can I do in order for the videos to load? Thank you for your time.

Otázku položil(a) Banilemim Pred 1 dňom

Firefox is having trouble playing multiple sounds at once.

I've had this issue ever since switching to a new laptop. This issue is specifically within Firefox (I have tested this in other browsers and programs, and the issue isn'… (ďalšie informácie)

I've had this issue ever since switching to a new laptop. This issue is specifically within Firefox (I have tested this in other browsers and programs, and the issue isn't there. Everything else works perfectly fine!)

Essentially, whenever Firefox plays multiple sounds at the same time (for example, I use both youtube and discord in-browser) the second sound will briefly mute the other sound. (Going back to the discord-youtube example, if I am watching a youtube video and recieve a discord notification, the youtube video will pause for about half a second.) Or if a site has background audio but also plays a short audio clip when certain elements are clicked, for example, it will cause this "overlapping" issue. Again, this issue is only within Firefox.

I am using Windows 11 if that helps. I've already tried using a Firefox Refresh and peeking in about:config but I'm totally lost as to what I can try next, since I can't find any other examples of people with this issue online. Sometimes the issue briefly fixes itself but then reappears.

Otázku položil(a) wygolvillage Pred 1 dňom

Combining 2 Firefox accounts

I have accidentally end up with two FireFox accounts. I want to combine them, but I can't change either account to the other one because FireFox tells me that the replac… (ďalšie informácie)

I have accidentally end up with two FireFox accounts. I want to combine them, but I can't change either account to the other one because FireFox tells me that the replacement email/account is already in use. How do I get around this?

Otázku položil(a) RJL_web1 Pred 1 dňom

Firefox Kiosk does not appear when I log in but does when I start it manually from the GNOME x-terminal

I have Ubuntu 22.04 (on a Dell Optiplex 3000) with a minimal installation. I downloaded Firefox 125, removed the SNAP Firefox and installed this Firefox with no issue. I… (ďalšie informácie)

I have Ubuntu 22.04 (on a Dell Optiplex 3000) with a minimal installation. I downloaded Firefox 125, removed the SNAP Firefox and installed this Firefox with no issue. I can run "firefox --kiosk" and Firefox runs in kiosk mode with no issue.

I have made some changes in the "about:config" part of Firefox. I have also made some changes to the Ubuntu keyboard shortcut list. There is only one user created on this system and I have configured Ubuntu to login this user automatically upon reboot.

However, if I setup Firefox --kiosk to start automatically (I use the gnome-session-properties application to achieve this) and then reboot, Firefox does run, but it does not appear on the screen. If I enter the "switch windows" keyboard shortcut (ALT-TAB), the Firefox kiosk appears.

So, is this something I can fix by changing the Firefox configuration, or is it an Ubuntu configuration change. If so, can anyone tell me what I should do, or have an idea how to debug this?

Otázku položil(a) srednausab Pred 1 dňom

New install, wrong email address choice.

New install of Firefox set up with a 'wrong' email account. Tried to use the 'Mozilla account' page to fix this by using secondary email and then making it primary. Bu… (ďalšie informácie)

New install of Firefox set up with a 'wrong' email account. Tried to use the 'Mozilla account' page to fix this by using secondary email and then making it primary. But the secondary email I want to use is not allowed by Firefox giving an 'Account already exists' error. What should I do?

Otázku položil(a) harrigaauburn Pred 1 dňom

Click shortcut for opening link in private mode

Hello, I'm looking for a way to add a shortcut, similar to: CTRL + Click = open link in new tab SHIFT + Click = open link in new window What I want it to do is open a l… (ďalšie informácie)

Hello, I'm looking for a way to add a shortcut, similar to:

CTRL + Click = open link in new tab SHIFT + Click = open link in new window

What I want it to do is open a link in a Private mode window, to avoid having to open the right-click menu.

I came across this person asking for something similar (they specifically want the private window to not appear on top, I do not care if it gets automatically focused or not) https://support.mozilla.org/bm/questions/1317416

The only answer links to a list of "command line options" and points to the private ones. I understand how you can use these to change how the Firefox shortcut behaves, or to open Firefox in a specific way from the "Run" command, but I do not know how, or if it is even possible to apply these settings to a specific shortcut-click combination.

Otázku položil(a) deramos603 Pred 1 dňom

403 and 404 errors on firefox started 4.29.24

Starting yesterday firefox, no recent updates etc, gives a 403 error for several large corporate sites and 404 page not found for most paypal payment pages. These sites/p… (ďalšie informácie)

Starting yesterday firefox, no recent updates etc, gives a 403 error for several large corporate sites and 404 page not found for most paypal payment pages. These sites/pages work fine with Chrome. There were no changes by by myself to my firefox installation, not any antivirus changes.

Within the last hour today everything is working properly. What is going on? jn

Otázku položil(a) buy21 Pred 1 dňom

Cloudflare not working on DNS over HTTPS

I'm new to firefox and would like to set cloudflare for DNS over HTTPS but there seems to be an issue. If I set it to NextDNS the connection stays active. But if I set it… (ďalšie informácie)

I'm new to firefox and would like to set cloudflare for DNS over HTTPS but there seems to be an issue. If I set it to NextDNS the connection stays active. But if I set it to cloudflare it goes inactive with the error (NS_ERROR_NET_TIMEOUT_EXTERNAL). I tried setting a custom DNS to OpenDNS and got the same error.

I'm running Manjaro Linux if that make a difference.

Otázku položil(a) frehseaccount Pred 1 dňom

Salesforce issue with new Firefox version 125.0.2

I am a Salesforce (improveit! 360) user, exclusively browsing with Firefox for over 12 years without any problems. The most recent Firefox update 125.0.2 (64-bit) has ca… (ďalšie informácie)

I am a Salesforce (improveit! 360) user, exclusively browsing with Firefox for over 12 years without any problems. The most recent Firefox update 125.0.2 (64-bit) has caused an issue with my staff calendar. I have reached out to improveit! 360 they are a force.com developer and they will not help, said the error is caused by Firefox interpreting the code. I have figured out a work around to get the calendar to load correctly for a short term solution. Below is a screenshot of the error, any help would be greatly appreciated.

Otázku položil(a) Rodney0909 Pred 6 dňami

Only a few of the articles I've saved to Pocket are showing up on Firefox

I added the Save to Pocket (mini) extension to Firefox 125.0.2 today. When I look at the collection of articles I've saved to Pocket (I've been using Pocket for years) in… (ďalšie informácie)

I added the Save to Pocket (mini) extension to Firefox 125.0.2 today. When I look at the collection of articles I've saved to Pocket (I've been using Pocket for years) in the browser, I only see 8 articles. But when I open Pocket on my iPhone and iPad, the list of articles I've saved is much more longer (an estimate would be between 50 and 75 articles saved to Pocket). I haven't found any articles in Mozilla support to help me solve this. Thanks

Otázku položil(a) schwann240 Pred 3 dňami

Firefox does not detect ShadowsocksX proxy settings

I’m using the official ShadowsocksX app to relay network connections through a Shadowsocks server, and Firefox seems to be having compatibility issues. The browser does n… (ďalšie informácie)

I’m using the official ShadowsocksX app to relay network connections through a Shadowsocks server, and Firefox seems to be having compatibility issues. The browser does not load pages when proxy settings are set to “auto-detect” or “use system:” I’m getting the “Unable to connect” error message. Manually setting the SOCKS host to 127.0.0.1:XXXXX does fix the problem, but that also means I have to switch back to “system” whenever I turn Shadowsocks off.

Neither Safari nor Chrome requires manual action to relay connections on the same computer.

On a different computer, I’m using the Outline client to connect to the same Shadowsocks instance. Firefox does not have issues with that.

Otázku položil(a) BirdKeeper Pred 5 dňami

Firefox crashed or was blocked by MS. Now all of my bookmarks and cookies are gone.

When I went to start firefox today on my MS Windows computer, I got a file error message saying pathway was corrupted (or something like that) and then the firefox app di… (ďalšie informácie)

When I went to start firefox today on my MS Windows computer, I got a file error message saying pathway was corrupted (or something like that) and then the firefox app disappeared from my pinned toolbar. When I went and reinstalled it, all of my saved bookmarks and passwords were gone. How do I get them back?

Otázku položil(a) mfoxaspen Pred 1 dňom

2FA Sometimes Only Accepts Hardware Key for Biometrics Instead of Touch ID

When choosing biometrics for 2-factor authentication, sometimes Firefox will only prompt for a physical hardware key, and Touch ID does not work. Support for built-in bio… (ďalšie informácie)

When choosing biometrics for 2-factor authentication, sometimes Firefox will only prompt for a physical hardware key, and Touch ID does not work. Support for built-in biometrics is inconsistent.

For reference, I am using Mac OS Sonoma 14.4.1 with an ARM processor.

Otázku položil(a) Sarah Pred 5 dňami