火狐网页源代码视频地址
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条目了。
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.
注意:您也可以双击该条目以执行相同的操作。
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条目后,右键单击该条目,然后选择“修改”。
Once you have clicked on “Modify”, you will see the following window appear asking you to “Enter string value”.
单击“修改”后,您将看到以下窗口出现,要求您“输入字符串值”。
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”。 单击“确定”,然后重新启动浏览器以完成更改。
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”.
拥有要查看其源代码的网页后,转到“查看”菜单并选择“页面源”。
Once you have clicked “Page Source”, your favorite code/text editor will open up displaying all that wonderful webpage code goodness!
单击“页面源”后,您喜欢的代码/文本编辑器将打开,显示所有精彩的网页代码优点!
That is all there is to it. Have fun using your favorite code/text editor with Firefox!
这就是全部。 借助Firefox使用您喜欢的代码/文本编辑器,玩得开心!
-
› How to Quickly Scroll Through Home Screen Pages on iPhone and iPad
-
› How to Move a Window to Another Virtual Desktop on Windows 10
-
› What’s the Deal with Google Home and Nest? Is There a Difference?
翻译自: https://www.howtogeek.com/howto/2246/view-webpage-source-code-in-your-favorite-text-editor-firefox/
火狐网页源代码视频地址