Why does browser console open when I start Firefox?
Hi all, Recently Firefox started to open the Browser Console window whenever I start Firefox. Why would it do this? FYI I'm running Firefox Beta on Windows 10 1803. I already tried the suggested fix elsewhere to reset the browser homepage to about:home (it was that already) and I am talking about the browser console not the developer tools. Cheers :)
Mehr Details zum System
- Shockwave Flash 32.0 r0
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Try to rename/remove xulstore.json and when present delete localstore.rdf in the Firefox profile folder with Firefox closed.
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder
Thank you for explaining how to stop it happening, I'll try that when I'm back on that computer.
However I'm actually more interested in why it started happening. What could cause this? An add-on? A webpage? A new build of Firefox? Something malicious?
Some windows are persistent across a session and are opened automatically on a next start. This might be happening in your case and xulstore.json stored all window information, so renaming or removing this file might help to correct this.
Hi cor-el, Thanks for explaining. So if I delete that file what else might change? Will I lose all my settings? My tabs? Thanks.
The xulstore.json file only stores information about open windows (dimensions, position, column order) and some other data like the collapse/expanded state of bookmark folders.
I checked xulstore.json and I might have been wrong and that your issue is not with xulstore.json, but is a problem with sessionstore.jsonlz4 I see these key values in the sessionstore file:
When I close Firefox with a console open then these items get a true value and the console is reopened on the next start. So if the Browser Console opens automatically then this means that in your case the open state true is stored.
Is the sessionstore.jsonlz4 updated when you close Firefox if you check its time stamp?
If this file is corrupted then you will have to rename this file and start with a fresh file. The sessionstore.jsonlz4 file, that is only present when Firefox is closed, stores session data like your pinned tabs and open and closed tabs and windows, so you have to make a note or bookmark your tabs to be able to restore them .
See also this tool that you can use to inspect a compressed sessionstore file.
Hi @cor-el, Thanks for the explanation and extra suggestions. Deleting xulstore.json has no effect. Unfortunately, neither did deleting sessionstore.jsonlz4 - and I did also rename my sessionstore-backups folder to ensure it would not recover the session from their either. I tried editing sessioncheckpoints.json for the setting about restoring windows and also checked all my preferences. Nothing prevented the browser console from opening. What else could be causing this? Cheers :)