搜索 | 用户支持

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

详细了解

Is editing a locally available html file possible from within Firefox ?

more options

I use FF 45.0 to open a locally available and rather simple static html file. Everything displays well. I can view the document's html source within firefox, but can I edit it ? If so how exactly ?

I use FF 45.0 to open a locally available and rather simple static html file. Everything displays well. I can view the document's html source within firefox, but can I edit it ? If so how exactly ?

被采纳的解决方案

Once upon a time, the Mozilla Suite included an HTML editor, along with an email program. But when Firefox was split out from the suite into a stand-alone browser, that feature was not included with Firefox.

Regarding the debugger, it sure would be convenient if I could edit during debugging. I don't know whether anyone is planning to add that. Is it included in the Firebug extension? http://getfirebug.com/

定位到答案原位置 👍 1

所有回复 (8)

more options

Note: I am NOT asking about html, rather about the FF functionality to edit that file.

more options

Hey!

If you right click with your mouse and go to inspect element, you will be able to view the code. Within the style editor you can edit the stylesheet. There is also a debugger where you can edit html files.

The edits you make within this function on Firefox will not change the local file and will also not be saved. This function is available on any website you visit.

Regarding a function within Firefox that changes local files, I am not sure it exists. I personally haven't found it yet.

Hope this helps!

由Laura92于修改

more options

Thanks Laura. I was familiar with the "Inspect Element" capability. I really wonder why the debugger mode does not directly allow at least minor edits (and immediate rendering on screen) of a locally opened html file. After all it can be done with JS relying on the scratchpad.

.. or I'm missing something completely...

Let's see if somebody can wisen me up on that. Cheers. -ced.

more options

Hi Cbhihe,

Even though a browse has the debugging functionality (and many plugins to support this), (use F12 BTW, it's the shortcut to those tools), the application is called a "Browser" because it does just that - a Read Only tool to access the web, even if the file is local to your computer.

If you want to make changes while actively viewing the HTML file, you can use Adobe Dreamweaver, or similar tools, as it was designed for such an occasion.

Hopefully this helps!

more options

选择的解决方案

Once upon a time, the Mozilla Suite included an HTML editor, along with an email program. But when Firefox was split out from the suite into a stand-alone browser, that feature was not included with Firefox.

Regarding the debugger, it sure would be convenient if I could edit during debugging. I don't know whether anyone is planning to add that. Is it included in the Firebug extension? http://getfirebug.com/

more options

professordns said

"... the application is called a "Browser" because it does just that - a Read Only tool to access the web, even if the file is local to your computer." "If you want to make changes while actively viewing the HTML file, you can use Adobe Dreamweaver, or similar tools, as it was designed for such an occasion."

Thanks, I really didn't know. Very helpful and completely wrong in the case of FF of course. Sorry, I don't do pay-ware, much less Adobe-ware. I do FOSS exclusively.

由Cbhihe于修改

more options

jscher2000 said

Once upon a time, the Mozilla Suite included an HTML editor, along with an email program. But when Firefox was split out from the suite into a stand-alone browser, that feature was not included with Firefox. ...

@jscher: That is exactly what I remembered. I had used that html editor and found it very handy for small editing adjustement.

As for Firebug, I plan on not having it anywhere close to my boxes. I am in the process of torifying my setup. In that area add-ons are generally an iffy proposition and FF's config. gives enough of a headache already.

Thanks.

more options

Cbhihe said

Sorry, I don't do pay-ware, much less Adobe-ware. I do FOSS exclusively.

Maybe: http://www.bluegriffon.org/