How do you edit source in Firefox?

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

How do you edit source in Firefox?
If I open an HTML file in IE I can View Source and edit it in Notepad.
How is this done in Firefox?
 
Chris said:
Thanks. Got that. But it's still not clear to me how to edit the HTML.
It must be something obvious I'm missing!
What might it be?

If you mean the ability to edit the code and see a realtime change, I've
not yet found anyway of doing that. That would involve reloading the
html - which is, after all, static - and that could only undo whatever
you had tried to achieve.
Could you really do this in IE ?

P.
 
If you mean the ability to edit the code and see a realtime change,
I've not yet found anyway of doing that. That would involve reloading
the html - which is, after all, static - and that could only undo
whatever you had tried to achieve.
Could you really do this in IE ?

Certainly! Use Notepad to make an HTML page on your desktop.
Rename it from index.txt to index.html.
Open it in IE.
Right-click and View Source.
Edit the source.
Refresh IE window to show the change.
 
Chris said:
How do you edit source in Firefox?
If I open an HTML file in IE I can View Source and edit it in Notepad.
How is this done in Firefox?

view--> page source

Or are you asking for something else?



Aaron (my email is not munged!)
 
Chris said:
How do you edit source in Firefox?
If I open an HTML file in IE I can View Source and edit it in Notepad.
How is this done in Firefox?

That could only be possible if you are working with local pages on your own
HD. You cannot change the source HTML on a web page. When you reload the
page, the browser will read the source from the website and any changes you
make will be discarded.
 
view--> page source

Or are you asking for something else?

I think possibly...

I've never looked at source in F/F yet - what a nice display.

But I went to Edit, Select all, copied and pasted it into Crimson Editor
(wot I use instead of Notepad) and it was all there ready to be er,
borrowed, so I guess this would do it

mike
 
scroob said:
That could only be possible if you are working with local pages on
your own HD. You cannot change the source HTML on a web page. When you
reload the page, the browser will read the source from the website and
any changes you make will be discarded.

Depending on what you're trying to do, you can use Proxomitron to modify
the source code on the fly.
 
Podz said:
Get this extension ?
http://tinyurl.com/6ebfz

Web Developer
Best extension there is IMO

Hmm, that lets me see lots of stuff about my local web page, but there
isn't an option to actually edit the HTML... kinda useless. Makes it
more of a way to view all aspects of a page but not change anything.
 
Certainly! Use Notepad to make an HTML page on your desktop.
Rename it from index.txt to index.html.
Open it in IE.
Right-click and View Source.
Edit the source.
Refresh IE window to show the change.

I suggest that all the posters in this thread need to do some study of CSS.
All will become clear and the fallacy of the last post will be revealed.
The Web Developer extension allows the dynamic alteration of the CSS within
FF and the immediate display of the consequences.

Brian Tozer
 
KiwiBrian said:
I suggest that all the posters in this thread need to do some study of CSS.
All will become clear and the fallacy of the last post will be revealed.
The Web Developer extension allows the dynamic alteration of the CSS within
FF and the immediate display of the consequences.

And that is precisely what I use that bar for.
That and a few other functions, but the ability to troubleshoot CSS for
someone else is invaluable.

P.
 
That could only be possible if you are working with local pages on your own
HD. You cannot change the source HTML on a web page. When you reload the
page, the browser will read the source from the website and any changes you
make will be discarded.

Yes - I AM working with local pages!
So - how do I edit?
 
Chris <nospam@[127.0.0.1]> said:
How do you edit source in Firefox?
If I open an HTML file in IE I can View Source and edit it in Notepad.
How is this done in Firefox?

Following up my own post, first let me apologise for not expressing
myself more clearly. I will have another attempt - and hope that
someone with great empathy might guess what I am struggling to say.
Please be patient!

With IE this is what I can do:
Use Notepad to make an HTML page on my desktop.
Open it in IE.
Right-click the page and View Source.
Edit the source.
Refresh IE window to show the change.

With Firefox, when I am viewing the HTML file (that is on my local
computer) I can right-click the page and View Source - but I can't
*change* the source, as I can when using IE.

Is there a way of doing that?
 
Chris said:
How do you edit source in Firefox?
If I open an HTML file in IE I can View Source and edit it in Notepad.
How is this done in Firefox?

You can't do it this way in Firefox. You have edit the HTML file manually,
then refresh it in Firefox to see the changes. That's how I do it. To be
specific:

(1) Double-click the HTML file to open it in Firefox (assuming it's your
default browser).

(2) Right-click the HTML file and "Open with..." Notepad.

(3) Edit the HTML in Notepad.

(4) ALT+TAB to the file in Firefox and hit F5 to see the changes.

(5) Repeat steps 3-4 as required.

:)
 
How do you edit source in Firefox?
If I open an HTML file in IE I can View Source and edit it in Notepad.
How is this done in Firefox?

I also use Chris's method

Use Notepad to make an HTML page on your desktop.
Rename it from index.txt to index.html.
Open it in IE.
Right-click and View Source.
Edit the source.
Refresh IE window to show the change.

and then upload it in IE by:

ftp:// User Name : Password @ Host Address (No spaces)

example:

ftp://USERNAME:PASSWORD@HOSTADDRESS

Until I can do both in Firefox, IE stays on my machine.
 
Chris said:
Chris <nospam@[127.0.0.1]> said:
How do you edit source in Firefox?
If I open an HTML file in IE I can View Source and edit it in Notepad.
How is this done in Firefox?

Following up my own post, first let me apologise for not expressing
myself more clearly. I will have another attempt - and hope that
someone with great empathy might guess what I am struggling to say.
Please be patient!

With IE this is what I can do:
Use Notepad to make an HTML page on my desktop.
Open it in IE.
Right-click the page and View Source.
Edit the source.
Refresh IE window to show the change.

With Firefox, when I am viewing the HTML file (that is on my local
computer) I can right-click the page and View Source - but I can't
*change* the source, as I can when using IE.

Is there a way of doing that?

That's a really old way to edit web pages. Yes, that's the way I used to do
it. But now that there are wonderful HTML editing programs that allow you
to edit on the fly, see the changes, and post to the website, I wouldn't
use that method and I wonder why you still are?
 
Chris said:
Following up my own post, first let me apologise for not expressing
myself more clearly. I will have another attempt - and hope that
someone with great empathy might guess what I am struggling to say.
Please be patient!

With IE this is what I can do:
Use Notepad to make an HTML page on my desktop.
Open it in IE.
Right-click the page and View Source.
Edit the source.
Refresh IE window to show the change.

Before I got Mozilla (which has Composer built in), I'd add options to my
right context menu for HTML files. My favorite HTML editor is Araneae, so
I created the menu item "Edit with Araneae". I also created menu items for
the other HTML editors I use. This makes editing a breeze. When I want to
edit a saved local document, I just right-click on the file and select
which editor I want to use.
 
Back
Top