为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can't open Add-ons or Options

  • 8 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 indynpr

more options

I can install and run Firefox 56 and 57, but versions 58 and up don't work. They won't open web pages and nothing happens when I click Menu -> Add-ons or Menu -> Options. I have tried starting in Safe Mode and with no profile.

I can install and run Firefox 56 and 57, but versions 58 and up don't work. They won't open web pages and nothing happens when I click Menu -> Add-ons or Menu -> Options. I have tried starting in Safe Mode and with no profile.

所有回复 (8)

more options

You can create a new profile to test if your current profile is causing the problem.

See "Creating a profile":

If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.


Boot the computer in Windows Safe mode with network support to see if that has effect in case security software is causing problems.

more options

I've tried with a new profile. No joy. Even the developer console won't open. Security software wouldn't block that or the Options page, would it?

more options

What changed between 57 and 58 that would cause this problem? I would have expected 57 to be broken because of Quantum, but why does 57 work but not 58?

more options

Do you see any error messages in the Browser Console?

more options

Clicking Web Console does nothing, but launching with -jsconsole show errors:

NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextCodebasePrincipal] browser-custom-element.js:1038
    construct chrome://global/content/elements/browser-custom-element.js:1038
    connectedCallback chrome://global/content/elements/browser-custom-element.js:311
    _setupInitialBrowserAndTab chrome://browser/content/tabbrowser.js:343
    init chrome://browser/content/tabbrowser.js:35
    onDOMContentLoaded chrome://browser/content/browser.js:1283
    onDOMContentLoaded self-hosted:974
TypeError: browser.webProgress is null[Learn More] tabbrowser.js:384:5
    _setupInitialBrowserAndTab chrome://browser/content/tabbrowser.js:384
    init chrome://browser/content/tabbrowser.js:35
    onDOMContentLoaded chrome://browser/content/browser.js:1283
    onDOMContentLoaded self-hosted:974
[Exception... "Component not initialized"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js :: _sendMessage :: line 152"  data: no]
    _sendMessage jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js:152
    loadURI jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js:94
    _loadURI chrome://browser/content/browser.js:1077
    _loadURI self-hosted:1020
    loadTabs chrome://browser/content/tabbrowser.js:1539
    loadOneOrMoreURIs chrome://browser/content/browser.js:2213
    _handleURIToLoad chrome://browser/content/browser.js:1697
    _callWithURIToLoad chrome://browser/content/browser.js:1850
    _handleURIToLoad chrome://browser/content/browser.js:1641
    _delayedStartup chrome://browser/content/browser.js:1439
    _delayedStartup self-hosted:974
NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextCodebasePrincipal]
browser-custom-element.js:1038
    construct chrome://global/content/elements/browser-custom-element.js:1038
    connectedCallback chrome://global/content/elements/browser-custom-element.js:311
    createBrowserElement resource://gre/modules/ExtensionParent.jsm:1166
    InterpretGeneratorResume self-hosted:1255
    next self-hosted:1210
[Exception... "Component not initialized"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: resource://gre/modules/ExtensionParent.jsm :: _onExtensionBrowser :: line 559"  data: no]
    _onExtensionBrowser resource://gre/modules/ExtensionParent.jsm:559
    emit resource://gre/modules/ExtensionCommon.jsm:310
    build chrome://extensions/content/parent/ext-backgroundPage.js:39
    InterpretGeneratorResume self-hosted:1255
    next self-hosted:1210
[Exception... "Component not initialized"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js :: _sendMessage :: line 152"  data: no]
    _sendMessage jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js:152
    loadURI jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js:94
    loadURI chrome://global/content/elements/browser-custom-element.js:815
    _wrapURIChangeCall chrome://global/content/elements/browser-custom-element.js:758
    loadURI chrome://global/content/elements/browser-custom-element.js:814
    build chrome://extensions/content/parent/ext-backgroundPage.js:41
    InterpretGeneratorResume self-hosted:1255
    next self-hosted:1210
[Exception... "Component not initialized"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: resource://gre/modules/ExtensionParent.jsm :: _onExtensionBrowser :: line 559"  data: no]
    _onExtensionBrowser resource://gre/modules/ExtensionParent.jsm:559
    emit resource://gre/modules/ExtensionCommon.jsm:310
    build chrome://extensions/content/parent/ext-backgroundPage.js:39
    InterpretGeneratorResume self-hosted:1255
    next self-hosted:1210
[Exception... "Component not initialized"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js :: _sendMessage :: line 152"  data: no]
    _sendMessage jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js:152
    loadURI jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js:94
    loadURI chrome://global/content/elements/browser-custom-element.js:815
    _wrapURIChangeCall chrome://global/content/elements/browser-custom-element.js:758
    loadURI chrome://global/content/elements/browser-custom-element.js:814
    build chrome://extensions/content/parent/ext-backgroundPage.js:41
    InterpretGeneratorResume self-hosted:1255
    next self-hosted:1210
[Exception... "Component not initialized"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: resource://gre/modules/ExtensionParent.jsm :: _onExtensionBrowser :: line 559"  data: no]
    _onExtensionBrowser resource://gre/modules/ExtensionParent.jsm:559
    emit resource://gre/modules/ExtensionCommon.jsm:310
    build chrome://extensions/content/parent/ext-backgroundPage.js:39
    InterpretGeneratorResume self-hosted:1255
    next self-hosted:1210
[Exception... "Component not initialized"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js :: _sendMessage :: line 152"  data: no]
    _sendMessage jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js:152
    loadURI jar:file:///C:/PortableApps/FirefoxPortable/App/Firefox/omni.ja!/components/RemoteWebNavigation.js:94
    loadURI chrome://global/content/elements/browser-custom-element.js:815
    _wrapURIChangeCall chrome://global/content/elements/browser-custom-element.js:758
    loadURI chrome://global/content/elements/browser-custom-element.js:814
    build chrome://extensions/content/parent/ext-backgroundPage.js:41
    InterpretGeneratorResume self-hosted:1255
    next self-hosted:1210

由cor-el于修改

more options

Does anything in the console indicate what the problem might be?

more options

There are a bunch of references to a PortableApps folder, which is not normal for a standard Firefox installation. Did you migrate a profile from a PortableApps folder to a normal Firefox folder?

If this is a PortableApps installation, maybe try to reinstall it or check permissions/privileges. They also offer support.

If this is supposed to be a Firefox installation, and it's not a migrated profile, then:

Clean Reinstall

This takes about 5 minutes. It's not about your settings, it's about making sure the program files are clean (no inconsistent or alien code files). As described below, this process does not disturb your existing settings. It's not essential to uninstall Firefox, but you can if you like, saying No to any request about removing personal data.

(A) Download a fresh installer for Firefox to a convenient location, either:

(B) Exit out of Firefox (if applicable).

If you use Microsoft Office, please change your default browser to Internet Explorer temporarily before the next step.

(C) Using Windows Explorer/My Computer (hold down the Windows key and press E to launch it), right-click > rename the program folder as follows (you might have one or both):

C:\Program Files (x86)\Mozilla Firefox =to=> C:\Program Files (x86)\OldFirefox

C:\Program Files\Mozilla Firefox =to=> C:\Program Files\OldFirefox

(D) Run the installer you downloaded in step (A). It should automatically connect to your existing settings.

Any improvement at your next startup?

more options

I tried installing a fresh copy of Firefox 66, starting in Safe Mode, clicking Refresh Firefox, and deleting the old profile, but Firefox still won't open Add-Ons , Options, about:config or other web pages. Also if I select Customize Firefox nothing happens when I click Done.


NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextCodebasePrincipal] browser-custom-element.js:1038 [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: resource://gre/modules/ExtensionParent.jsm :: _onExtensionBrowser :: line 559" data: no] [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: jar:file:///C:/Program%20Files/Mozilla%20Firefox/omni.ja!/components/RemoteWebNavigation.js :: _sendMessage :: line 152" data: no] [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: resource://gre/modules/ExtensionParent.jsm :: _onExtensionBrowser :: line 559" data: no] [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: jar:file:///C:/Program%20Files/Mozilla%20Firefox/omni.ja!/components/RemoteWebNavigation.js :: _sendMessage :: line 152" data: no] [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: resource://gre/modules/ExtensionParent.jsm :: _onExtensionBrowser :: line 559" data: no] [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: jar:file:///C:/Program%20Files/Mozilla%20Firefox/omni.ja!/components/RemoteWebNavigation.js :: _sendMessage :: line 152" data: no] NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextCodebasePrincipal] browser-custom-element.js:1038 TypeError: browser.webProgress is null[Learn More] tabbrowser.js:384:5 [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: jar:file:///C:/Program%20Files/Mozilla%20Firefox/omni.ja!/components/RemoteWebNavigation.js :: _sendMessage :: line 152" data: no] NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned failure code: nsUrlClassifierListManager.js:65 NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned failure code: SafeBrowsing.jsm:135 TypeError: this.frameLoader.tabParent is null[Learn More] browser-custom-element.js:679:7

   get hasContentOpener chrome://global/content/elements/browser-custom-element.js:679
   checkEmptyPageOrigin chrome://browser/content/browser.js:7305
   get_isEmpty chrome://browser/content/tabbrowser.xml:2084
   switchToTabHavingURI chrome://browser/content/browser.js:7654
   openPreferences chrome://browser/content/utilityOverlay.js:854
   oncommand chrome://browser/content/browser.xul:1