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
17350 個解決方法 156825 個答案

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
17350 個解決方法 156825 個答案

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
17350 個解決方法 156825 個答案

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 :)
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題