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… (read more)

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?)

Asked by ash 4 days ago

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… (read more)

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

Asked by buy21 5 days ago

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'… (read more)

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.

Asked by wygolvillage 5 days ago

Firefox Update Popup Notifications on Mac?

Recently a popup notification came up when I opened firefox on my mac. Its been awhile since I opened it and without thinking I clicked : o ~ Now I worry if it'ss le… (read more)

Recently a popup notification came up when I opened firefox on my mac. Its been awhile since I opened it and without thinking I clicked : o ~ Now I worry if it'ss ledgit? Does Firefox give a popup box in top right corner when it needs an update? I wasn't on any strange website or anything but I'm always concerned and dont remember seeing that before.

My firefox now says its up to date after it restarted ~ it's running 125.0.3

Any advise is appreciated.

Asked by jason144 4 days ago

Why is Firefox 115.10 tabs on Venture OS imac unreadable?

I just migrated to iMac 2019 27" with Venture OS from imac with Yosamanite. Firefox looked weird with TINY tabs and search window, Too much space. I've tried updating and… (read more)

I just migrated to iMac 2019 27" with Venture OS from imac with Yosamanite. Firefox looked weird with TINY tabs and search window, Too much space. I've tried updating and restarting Mac but no change. Same with themes. You can see the screen with open Firefox.

Asked by RavenFox 4 days ago

Firewall reports unusal path of updater.exe

Windows 11 Pro, Version 10.0.22631 Build 22631 Firefox, 126.0b8 (64-Bit) Hey, I use a personal firewall. Every unknown program that attempts to access the network trigg… (read more)

Windows 11 Pro, Version 10.0.22631 Build 22631 Firefox, 126.0b8 (64-Bit)

Hey,

I use a personal firewall. Every unknown program that attempts to access the network triggers a popup message requesting permission.

Right after the installation, Firefox.exe initiated a message, stating the following path: "C:\Program Files\Mozilla Firefox\firefox.exe". I granted access.

However, weeks after the installation, the updater.exe asked for permission, stating a very unusual path of itself. The path is "\device\harddiskvolume3\Program Files (x86)\Mozilla Maintenance Service\update\updater.exe".

This seems unusual to me, since apps normally use 'C:\' to refer to harddiskdrive0. It is also suspect, since there are only two drives connected and the Disk Management tool (as an admin) indicates, that there are harddiskdrive0 and harddiskdrive1. There are no hard disk drives 2 or 3.

I also wondering about the fact, that the about firefox screen states, that firefox is up to date - even I did not granted access for the updater.exe in the past. There has never been a firwall rule to grant access for the updater.exe - how did it update in the past?

Does anybody have an idea what is happening?

Best regards, André

Asked by André 4 days ago

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… (read more)

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.

Asked by Banilemim 5 days ago

Why is Firefox autofilling the address bar with URLS I've never visited?

Why is Firefox autofilling the address bar with URLS I've never visited? There is a question on this from 5 years ago, with lots of suggestions. My problem is that Firefo… (read more)

Why is Firefox autofilling the address bar with URLS I've never visited? There is a question on this from 5 years ago, with lots of suggestions. My problem is that Firefox is autofilling with sites that contain confidential login information.

Asked by troppont 4 days ago

Can I change the date format from „month, day, year“ to „day, month, year“?

In Firefox the date format is set at „month, day, year“, but I need „day, month, year“. I tried all the solutions, I even installed Firefox - English (British) version, … (read more)

In Firefox the date format is set at „month, day, year“, but I need „day, month, year“.

I tried all the solutions, I even installed Firefox - English (British) version, but nothing changes.

Can you also implement an alternative, to be able to choose between the 2 options?

Thank you very much.

Asked by Cristi Nefiru 4 days ago

My saved passwords don't show up in my laptop browser.

I am using Firefox version 125.0.3(64-bit). I am not able to access my saved passwords. It is asking me to log in when I am already logged in to my Firefox account. When … (read more)

I am using Firefox version 125.0.3(64-bit). I am not able to access my saved passwords. It is asking me to log in when I am already logged in to my Firefox account. When using Firefox in Troubleshoot Mode I can access my saved passwords. How do I solve this problem? Moreover I am unable to add a Primary Password to protect my saved passwords. I have never tried to add a primary password before this problem.

Asked by Prakash 6 days ago

Audio interface input no longer shows in Google Meet.

My primary/default browser is Firefox on Sonoma 14.4.1, and recently I'm unable to use the inputs of my audio interface for google hangouts. The relevant output is correc… (read more)

My primary/default browser is Firefox on Sonoma 14.4.1, and recently I'm unable to use the inputs of my audio interface for google hangouts. The relevant output is correct, and my system audio would be the same.

Asked by Scott Simon 3 days ago

Incorrect business listing on Firefox

Dear All We have recently found out that Firefox doesn't sync with Google My Business listings as when you search for “Saffery Geneva” on Firefox it brings up “Saffery C… (read more)

Dear All

We have recently found out that Firefox doesn't sync with Google My Business listings as when you search for “Saffery Geneva” on Firefox it brings up “Saffery Champness SA”, while on Google it correctly appears as Saffery (Suisse) SA as per attached print screen.

Any idea why Firefox is not syncing with Google with respect to this listing?

Many thanks.

Anna

Asked by anna.kleinman 3 days ago

Firefox updates delete my exceptions for saved cookies

On every new release of an update for Firefox, the update process deletes all of my saved cookies that I have established an exception for. I do this so that I don't have… (read more)

On every new release of an update for Firefox, the update process deletes all of my saved cookies that I have established an exception for. I do this so that I don't have to continually enter my user name and password for sites that I visit regularly. The developers must change the updates so that the exceptions carryover to the new version of Firefox.

Asked by seasidesquirrel 3 days ago

Issues With Websites Loading/Re-Directing - Firefox Browser Only PC and Mac OS

When attempting to load a number of different web pages such as Quickbooks Online Apps, the page displays "Loading Apps..." with a spinning wheel, but never redirects to … (read more)

When attempting to load a number of different web pages such as Quickbooks Online Apps, the page displays "Loading Apps..." with a spinning wheel, but never redirects to the Apps page; the site hangs forever. On other browsers there are no issues; it eventually switches to the correct page. In Firefox Browser I have tried adding exceptions in Settings --> Privacy & Security --> Manage Exceptions. No change. Thoughts?

Asked by jransom18 3 days ago

The startup page requires me to log in. I use my Gmail but the password is incorrect. The password is not incorrect

I tried to log in to my Firefox getting started page which used to just load. It now appears to need a log in which I try to do using my Gmail credentials. The password c… (read more)

I tried to log in to my Firefox getting started page which used to just load. It now appears to need a log in which I try to do using my Gmail credentials. The password comes up as being incorrect which I know is not the case. If I try to change it I get as far as a Gmail code being sent to my account but when I enter that it says that is incorrect. I have not been able to load the getting started page since.

Asked by Stephen Hobbs 3 days ago

Repeated freezing/crashes with Firefox browser despite refreshes/new installs

I've been using Firefox for about six months. I'm a MacBook user with the most recent version of Sonoma installed. After a month or so of using Firefox it starts crashing… (read more)

I've been using Firefox for about six months. I'm a MacBook user with the most recent version of Sonoma installed. After a month or so of using Firefox it starts crashing and freezing. Sometimes I can't restart it for several minutes. Whenever this happens, I refresh it. I've refreshed it about twice. I've re-installed it twice too, but it keeps happening. Most settings are default, but I wanted to include the settings in case this could be the problem: - I've turned off Firefox home content - I've turned off all passwords and autofill features - Never Remember History - Do Not Track and Tell Websites not to share/sell my data are turned on - I left the standard-level security settings as is

I have one extension installed.

The only other browser I have installed is Safari and I am not having these issues. I should add that I don't receive any error messages when this happens, it just freezes. The most recent issue is that I was clicking on buttons on a website and it wasn't working, but when I started using the Safari browser (which also set to private mode) it worked fine.

When it works I love Firefox and would like to keep using it. I am wondering if there is anything I can do to fix this.

Asked by mozillauser1234 3 days ago

Help search results don't show list by date

Your help utility needs help. -results don't show date, must open each item. Results seem to not be listed in date order. What a mess to sort through. I can't select a de… (read more)

Your help utility needs help. -results don't show date, must open each item. Results seem to not be listed in date order. What a mess to sort through. I can't select a desired date range, or select by release version number. -your search tool isn't very effective, I keep getting unrelated results. I do better by searching google to find the help I want regarding Firefox.

Asked by Davyboy 3 days ago