火狐网页源代码视频地址_在收藏夹文本编辑器– Firefox中查看网页源代码

火狐网页源代码视频地址

Thinking of how nice it would be if you could view a webpage’s source code in your favorite text editor while browsing with Firefox? Now you can with two simple about:config tweaks.

想一想如果使用Firefox浏览时可以在自己喜欢的文本编辑器中查看网页的源代码有多好? 现在,您可以通过两个简单的about:config调整。

Open Up about:config in Your Browser Window

在浏览器窗口中打开about:config

Type “about:config” (without the quote marks) into the address bar and hit “Enter”. Once you have the about:config page open in your browser window, it is time to fix those two about:config entries.

在地址栏中输入“ about:config”(不带引号),然后单击“ Enter”。 在浏览器窗口中打开about:config页面后,就该修复这两个about:config条目了。

火狐网页源代码视频地址_在收藏夹文本编辑器– Firefox中查看网页源代码

1. Type or copy & paste “view_source.editor.external” (without the quote marks) into the Filter Address Bar. Once the about:config entry is displayed, right click on the entry and select “Toggle” to change the value to “true”.

1.键入或复制“ view_source.editor.external”(不带引号)并将其粘贴到“过滤器地址栏”中。 显示about:config条目后,右键单击该条目,然后选择“ Toggle”将值更改为“ true”。

Note: You can also double click on the entry to do the same thing.

注意:您也可以双击该条目以执行相同的操作。

火狐网页源代码视频地址_在收藏夹文本编辑器– Firefox中查看网页源代码

2. Type or copy & paste “view_source.editor.path” (without the quote marks) into the Filter Address Bar. Once the about:config entry is displayed, right click on the entry and select “Modify”.

2.键入或复制“ view_source.editor.path”(不带引号)并将其粘贴到“过滤器地址栏”中。 显示about:config条目后,右键单击该条目,然后选择“修改”。

火狐网页源代码视频地址_在收藏夹文本编辑器– Firefox中查看网页源代码

Once you have clicked on “Modify”, you will see the following window appear asking you to “Enter string value”.

单击“修改”后,您将看到以下窗口出现,要求您“输入字符串值”。

火狐网页源代码视频地址_在收藏夹文本编辑器– Firefox中查看网页源代码

Enter the target path of your favorite code/text editor (without the quote marks). For our example, we have chosen “C:\Program Files\Editra\Editra.exe”. Click “OK” and restart your browser to complete the changes.

输入您喜欢的代码/文本编辑器的目标路径(不带引号)。 对于我们的示例,我们选择了“ C:\ Program Files \ Editra \ Editra.exe”。 单击“确定”,然后重新启动浏览器以完成更改。

火狐网页源代码视频地址_在收藏夹文本编辑器– Firefox中查看网页源代码

Note:  For those who would like to use Notepad, enter the target path “C:\Windows\System32\notepad.exe”.

注意:对于那些想使用记事本的用户,请输入目标路径“ C:\ Windows \ System32 \ notepad.exe”。

Accessing Your Favorite Code/Text Editor 

访问您喜欢的代码/文本编辑器

Once you have a webpage that you want to see the source code for, go to the View Menu and select “Page Source”.

拥有要查看其源代码的网页后,转到“查看”菜单并选择“页面源”。

火狐网页源代码视频地址_在收藏夹文本编辑器– Firefox中查看网页源代码

Once you have clicked “Page Source”, your favorite code/text editor will open up displaying all that wonderful webpage code goodness!

单击“页面源”后,您喜欢的代码/文本编辑器将打开,显示所有精彩的网页代码优点!

火狐网页源代码视频地址_在收藏夹文本编辑器– Firefox中查看网页源代码

That is all there is to it. Have fun using your favorite code/text editor with Firefox!

这就是全部。 借助Firefox使用您喜欢的代码/文本编辑器,玩得开心!

翻译自: https://www.howtogeek.com/howto/2246/view-webpage-source-code-in-your-favorite-text-editor-firefox/

火狐网页源代码视频地址

相关文章:

  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-06-26
  • 2022-01-15
  • 2022-12-23
猜你喜欢
  • 2021-09-20
  • 2021-10-30
  • 2021-12-02
  • 2022-12-23
  • 2021-07-28
  • 2021-05-27
  • 2021-07-06
相关资源
相似解决方案