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

搜索 | 用户支持

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

详细了解

View source in external brouser stopped working

  • 3 个回答
  • 1 人有此问题
  • 18 次查看
  • 最后回复者为 Alex

more options

Firefox 102 beta stopped opening source of web pages in external editor

I have view_source.editor.external set to "true" and view_source.editor.path set to "C:\Program Files\Notepad++\notepad++.exe"

Before version 102, CTRL-U on any web page would open the page's source in the external editor.

In 102, the source is opened in the internal source viewer (in a browser tab).

The console shows:

   this._caUtils.getDefaultExtension is not a function viewSourceUtils.js:413
       getTemporaryFile chrome://global/content/viewSourceUtils.js:413
       openInExternalEditor chrome://global/content/viewSourceUtils.js:265
       openInExternalEditor chrome://global/content/viewSourceUtils.js:216
       BrowserViewSourceOfDocument chrome://browser/content/browser.js:3131
       BrowserViewSource chrome://browser/content/browser.js:3207
       oncommand chrome://browser/content/browser.xhtml:1
Firefox 102 beta stopped opening source of web pages in external editor I have view_source.editor.external set to "true" and view_source.editor.path set to "C:\Program Files\Notepad++\notepad++.exe" Before version 102, CTRL-U on any web page would open the page's source in the external editor. In 102, the source is opened in the internal source viewer (in a browser tab). The console shows: this._caUtils.getDefaultExtension is not a function viewSourceUtils.js:413 getTemporaryFile chrome://global/content/viewSourceUtils.js:413 openInExternalEditor chrome://global/content/viewSourceUtils.js:265 openInExternalEditor chrome://global/content/viewSourceUtils.js:216 BrowserViewSourceOfDocument chrome://browser/content/browser.js:3131 BrowserViewSource chrome://browser/content/browser.js:3207 oncommand chrome://browser/content/browser.xhtml:1

由Alex于修改

所有回复 (3)

more options

Hi Alex, I notice getTemporaryFile and am reminded of a change in Firefox 102 related to downloaded files: they either can be saved in the "Save files to:" location per the updated flow in Firefox 98, or reverted to the system temp folder using a new preference. By any chance, did you change browser.download.start_downloads_in_tmp_dir from false to true?

more options

Actually, I get the same error either way. You seem to be learning more in Bugzilla:

https://bugzilla.mozilla.org/show_bug.cgi?id=1772906

more options

jscher2000 - Support Volunteer said

You seem to be learning more in Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1772906

A pleasant surprise to be sure. I am cautiously optimistic.