X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

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

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 :)
Цитата

Дополнительные сведения о системе

Установленные плагины

  • Shockwave Flash 32.0 r0

Приложение

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Дополнительная информация

cor-el
  • Top 10 Contributor
  • Moderator
17345 решений 156782 ответов
Размещено

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.

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 <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *http://kb.mozillazine.org/Profile_folder_-_Firefox
Помогла ли вам это?
Цитата
Размещено

Задавший вопрос

Hi cor-el,

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?

Thanks :)

Hi cor-el, 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? Thanks :)
Помогла ли вам это?
Цитата
cor-el
  • Top 10 Contributor
  • Moderator
17345 решений 156782 ответов
Размещено

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.

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.

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.
Помогла ли вам это?
Цитата
cor-el
  • Top 10 Contributor
  • Moderator
17345 решений 156782 ответов
Размещено

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:

"browserConsole":false,"browserToolbox":false,"scratchpads":[]

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.

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: "browserConsole":false,"browserToolbox":false,"scratchpads":[] 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. *https://www.jeffersonscher.com/res/scrounger.html
Помогла ли вам это?
Цитата
Размещено

Задавший вопрос

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

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 :)
Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.