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… (funda kabanzi)

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 10 amahora adlule

  • Ikhiyiwe

using firefox to store WhatsApp passkey

I am migrating to a new phone. WhatsApp offered firefox as an option for storing its passkey. That took me to the connection and synchronisation process which the new pho… (funda kabanzi)

I am migrating to a new phone. WhatsApp offered firefox as an option for storing its passkey. That took me to the connection and synchronisation process which the new phone said had failed. However all my tabs and other passwords appear to be syncing. Now selecting firefox to store the WhatsApp passkey takes me back to the failure page every time. Any idea how to restart the passkey addition to firefox process? WhatsApp won't work whilst I'm hung up in limbo between the two apps.

Asked by Chris 15 amahora adlule

Last reply by Paul 10 amahora adlule

Spell Checker still does not work even with multiple dictionaries and language packs installed and enabled, plus "Check your spelling as you type" ticked

Title, The option to switch languages is also not present in the right click menu (see attached image) I'm really unsure how to figure this out so any advice would be g… (funda kabanzi)

Title,

The option to switch languages is also not present in the right click menu (see attached image)

I'm really unsure how to figure this out so any advice would be greatly appreciated.

Thank you for your time.

Asked by eftdlcoy 14 amahora adlule

Last reply by cor-el 10 amahora adlule

Version 125.0.3, Mac, tab crashing

Since upgrading to the last version, 125.0.3 I'm getting tab crashes. Is there any way to go to a previous version? I have not had any issues with the websites I'm vi… (funda kabanzi)

Since upgrading to the last version, 125.0.3 I'm getting tab crashes. Is there any way to go to a previous version? I have not had any issues with the websites I'm visiting until this new version of Firefox.

Asked by robertglenanderson 11 amahora adlule

Last reply by Paul 10 amahora adlule

Crashes without reason (Linux)

System OS: Debian (codename: bookworm) Problem description: I had installed a fresh version of Firefox and it's keeping to crash the pages (Error: The page has crashed) … (funda kabanzi)

System OS: Debian (codename: bookworm) Problem description:

I had installed a fresh version of Firefox and it's keeping to crash the pages (Error: The page has crashed) without any reason. Any troubleshoot methods (including clearing the cache, cookies, history and even restarted the network and pc.... only to fail and keep having same issue.

I had checked if there is no problem with the opened website in another web browser and in it the page was working correctly.


The issue persist from several versions of Firefox

Asked by Mcgiwer 11 amahora adlule

Last reply by Paul 10 amahora adlule

Is BCC working?

I sent an email with multiple BCCs and no CCs or TOs, I put myself as one of the BCCs. I did not receive it and I do not think anybody else did as well since I asked a f… (funda kabanzi)

I sent an email with multiple BCCs and no CCs or TOs, I put myself as one of the BCCs.

I did not receive it and I do not think anybody else did as well since I asked a few people.

The email is in the sent folder. I tried forwarding the email from my sent folder to myself as CC, and that worked. I also tried fowarding as BCC, and that worked.

So what is going on? Is BCC working? How can I know for certain? Do I need to foward the email as BCCs to all my BCCs to get this to work?

Thanks for your help.

Asked by rcboire 10 amahora adlule

T Bird search, attachments, endless issues 115.x

Searching, nowhere to enter data; I cannot see attachments, looses mail, I have neuromuscular disease, hard to drag; context text EXTREMELY small. I think you all should … (funda kabanzi)

Searching, nowhere to enter data; I cannot see attachments, looses mail, I have neuromuscular disease, hard to drag; context text EXTREMELY small. I think you all should create a TEXT BOOK [phone book size] on how to use. thanx!

Asked by Tanya T. 11 amahora adlule

Get UAC popup requiring permission to update

Hi, I have been using firefox for many years and never showed me an UAC popup requiring permissions to update firefox as soon as i clicked the firefox icon in the taskbar… (funda kabanzi)

Hi, I have been using firefox for many years and never showed me an UAC popup requiring permissions to update firefox as soon as i clicked the firefox icon in the taskbar. Today suddenly required it. I am administrator in windows 10, and have automatic updates enabled as always. I am using 125.0.3 (64-bit) version. This could be a bug or a virus? i am worried that could have given permission to a virus to install something else when i pressed the firefox icon.

Asked by YoPispo 15 amahora adlule

Last reply by zeroknight 13 amahora adlule

unwanted background connection while starting mozilla firefox browser

Hello, I like using Firefox browser every day. After installing and running Avast antivirus protection (program version : 24.3.6108 (build 24.3.8975.832)), Avast no… (funda kabanzi)

Hello,

I like using Firefox browser every day. After installing and running Avast antivirus protection (program version : 24.3.6108 (build 24.3.8975.832)), Avast notification always show this message every time I start up Firefox : please check the uploaded images : FPA Scam.jpg.

I already checked the extenstion, the Settings, and the Advance Settings of Firefox browser. I'd like to know if there is any parameter related to engine.forexpeacearmy.com and it is enabled. Unfortunately, I can't found any related parameters.

So, I decide to contact Firefox support to find out what happen to my Firefox browser, why it always call the forexpeacearmy site at the start up, and finally I want to remove it. Because I'm affraid it could be some kind of trojans / malwares and put my laptop into risks.

Kindly need your advise. Thank you.

Kind regards, Gideon

Asked by gidhsk 1 isonto elidlule

Last reply by cor-el 11 amahora adlule

missing inputs to email processsor.

when I select "get messages" from thunderbird, the system opens the email and reads and notes many messages then sends a message to me saying what it had done, one line p… (funda kabanzi)

when I select "get messages" from thunderbird, the system opens the email and reads and notes many messages then sends a message to me saying what it had done, one line per message. Then it does nothing. There is no listing lof messages sent. There is nothing.

If you have an idea about what to do, send it it cwskbenz@verizon.net. I will receive it on my cell phone which gets a copy of each message sent to my PC. regards, Bill Benz

Asked by WilliamCarl 11 amahora adlule

firefox won't go to any sites!!

Concurrent with the most recent automatic windows update (may or may not be the problem), Firefox with duck-duck-go will not go to almost any site. All I get is a spinni… (funda kabanzi)

Concurrent with the most recent automatic windows update (may or may not be the problem), Firefox with duck-duck-go will not go to almost any site. All I get is a spinning icon or a blank page, not even any error messages. This was even true trying to go to this page until I restarted in trouble shooting mode. Until I can get Firefox working again I have been using Chrome with duck-duck-go. Note any search, i.e. 'hotels in Italy' or even 'MSN' do the same: spinning icon or blank page!! Any help would be appreciated. Also I noticed that my bookmarks were missing and there was no bookmarks drop-down on my tools line. I have run malware bytes and it showed clean, same with CCleaner. I have re-installed Firefox; no difference. Please help. and also, any way to find and replace my extensive bookmarks list? I have reduced my privacy to near zero and turned off firewalls and all limits I could find while testing for that. That did not change anything.

Asked by onefoozer 1 isonto elidlule

Last reply by onefoozer 13 amahora adlule

No longer have ability to open Hints on Ancestry while using Firefox

I prefer using Firefox as my browser (have done so for years), but recently I have noticed inability to open some hints provided on my family trees on Ancestry.com When … (funda kabanzi)

I prefer using Firefox as my browser (have done so for years), but recently I have noticed inability to open some hints provided on my family trees on Ancestry.com

When I called Ancestry, they suggested I use a different browser (: - but when I did, I was able to open the hints Firefox won't open. What is the problem? I was also told that another Ancestry user had called in previously with the same problem. PLEASE fix this!

If it helps, I use Windows on an HP Envy laptop (have for some time - wasn't a problem before a month or so ago). Will I hear back from anyone as to when this might be addressed/fixed?

Asked by Happyhermit 13 amahora adlule

Last reply by zeroknight 13 amahora adlule

Filtering search results.

DuckDuckGo is default browser on iOS ad iMac. I want to block any and all Amazon.com results from my searches. How do I do that? If an overall block is not possible, h… (funda kabanzi)

DuckDuckGo is default browser on iOS ad iMac. I want to block any and all Amazon.com results from my searches. How do I do that? If an overall block is not possible, how to I customize a search or the results list to filter out Amazon.com?

Asked by tynbai 13 amahora adlule

Browser automatically transfering to outlook when trying to access gmail.

Hey, So the issue i have is when i'm trying to access my gmail accounts from Mozilla. Whenever i try to access my mailbox or gmail site in itself it transfers me to out… (funda kabanzi)

Hey,

So the issue i have is when i'm trying to access my gmail accounts from Mozilla. Whenever i try to access my mailbox or gmail site in itself it transfers me to outlooks login. I assume there's some setting or similar that i'm missing that's causing the issue but i haven't been able to find it.

I've narrowed it down to not being any add-on since i only got few but none of them should affect anything email related in anyway shape or form. Also it works fine in Chrome which has been my go-to go around for the issue but honestly it's getting a bit annoying.

Any help would be greatly appreciated. Thanks in advance

Asked by Jukki 13 amahora adlule

Last reply by zeroknight 13 amahora adlule

Thunderbird E-Mail Address

Hello. I have an iCloud e-mail address registered in my Thunderbird mail manager and it was working fine since I initiated it with Thunderbird about 3 months ago. In sett… (funda kabanzi)

Hello. I have an iCloud e-mail address registered in my Thunderbird mail manager and it was working fine since I initiated it with Thunderbird about 3 months ago. In setting it up, I had to log-in to my AppleID and ask for an "App-specific-password", which I did back when I set it up. Strangely, 2 days ago when I opened Thunderbird, I immediately received a small pop-up window asking that I sign-in to the imap server with the password. After trying to close this out several times, I decided to enter the app-specific-password that was provided back when I set it up. This did nothing and I continued to get the pop-up messages which inhibited me from accessing whatever iCloud e-mails I had received up to that point. I am able to cancel out the window message and if I immediately open one of my 4 other e-mail addresses also within Thunderbird, I can use them and with no issues receiving or sending. So last night, I signed into my AppleID again and asked for another app-specific-password and entered the new one into the pop-up message window related to the iCloud e-mail address on Thunderbird. This then held and I was able to receive whatever was scheduled to come in. But this morning, it is back asking for a password again and the one I received last night doesn't seem to work. Am I now going to need to obtain an app-specific-password for only the iCloud e-mail account everytime I want to access that address? And I have tried using the check-off box in the pop-up message window that provides for saving the password. It makes no difference. This is very frustrating, and I am now thinking that using this open-source manager requires advanced operational skills and time-consuming adjustments and baby-sitting of the software, which I do not have the patience for. Any guidance would be helpful and most appreciated. I moved over to this to get away from Outlook and the ever-changing updates which always seem to be driving at getting by your privacy to access web preferences and communication resources. It seems everytime Windows updates, I need to visit every privacy control and insure they are set where I want them. Thanks for any help!

Asked by outhouseengineering 13 amahora adlule

hero ware games not load now and work on chrome browser

when open games not loading until close " enhanced tracking protection" switch and next time even it is close not open until make " enhanced tracking protection" switc… (funda kabanzi)

when open games not loading until close " enhanced tracking protection" switch

and next time even it is close not open until make " enhanced tracking protection" switch open and reload page and then closed and reload page again to open and every time like that

Asked by mohammed 15 amahora adlule

Last reply by zeroknight 14 amahora adlule

View/Folders menu will not allow any selection but Recent

When TB starts up, the only folders I can see are Recent. I can go to View/Folders and click ALL, and as soon as I move the mouse away from that menu item, it switches b… (funda kabanzi)

When TB starts up, the only folders I can see are Recent. I can go to View/Folders and click ALL, and as soon as I move the mouse away from that menu item, it switches back to Recent. This started on version 115.09, but persists after I've "upgraded" to 115.10.1.

I've had so much trouble with 115 that I'm about ready to toss the whole thing in the garbage can. Is there an option to 'downgrade' back to 109 or earlier?

Please advise. My emails are an integral part of my business.

Thanks, engrollie

Asked by rehawkpe 14 amahora adlule

Hanging problem

My laptop lost power mid-session and since then Firefox hangs after opening and becomes unresponsive. Can’t do anything on it. Troubleshoot mode does the same. Booted up … (funda kabanzi)

My laptop lost power mid-session and since then Firefox hangs after opening and becomes unresponsive. Can’t do anything on it. Troubleshoot mode does the same. Booted up my computer in safe mode, no change.

I’m guessing a reinstall would fix it but I had a bunch of tabs open that I’m really trying not to lose. And I didn’t have an account to save them, I’ll rectify that after this.

Asked by jasonthe123 14 amahora adlule