Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
In Firefox, viewing page source opens the code in a program that can not be edited. It does a great job of making the code readable compared to Notepad, but I don't want to read the code, I want to write it. This annoys the crap out of me.
So, how can I view page source in Firefox and get it to open using Notepad (or something similar)?
I've tried messing around in about:config, and while I did get it to view source using Notepad, the code is just a giant block of text. No skipped lines or formatting or anything. I just want it to open in Notepad the same way it does in IE.
So... any ideas?
Thanks in advance for any help.
I think it will do what you're after... if not search for "view source" on the eExtensions site
[edited by: encyclo at 7:21 pm (utc) on June 23, 2007]
[edit reason] fixed link [/edit]
"View source" is for viewing the code of pages you can't normally see the code for. Any file over a network, FTP server, or local hard drive and easily be edited with a click of a mouse button.
[edited by: Xapti at 5:18 pm (utc) on June 23, 2007]
ViewSourceWith is an addon compatible with many mozilla applications.
The main goal allows users to open (and in some cases edit) page source with external applications but you can also...
For FF and Opera, I recommend SCiTE ( A free source code editor for Win32 and X)
>> SciTE is currently available for Intel Win32 and Linux compatible operating systems with GTK+. It has been run on Windows 95, NT 4.0, Windows 2000, and on Red Hat Linux 8 and 9 with GTK+ 1.2 and 2.0
It's like Notepad on steroids :)
For html files: Edit your file (or someone else's that you found on the 'net) , save it, hit F5 (on a windoze machine) and it loads in your default browser :)
>> SciTE currently is able to syntax style these languages (* denotes support for folding):
* ANS.1 MIB definition files*
* Assembler (NASM, MASM)
* Batch files (MS-DOS)
* conf (Apache)*
* diff files*
* Flagship (Clipper / XBase)*
* Flash (ActionScript)*
* IDL - both MSIDL and XPIDL*
* INI, properties* and similar
* Objective Caml*
* Perl, most of it except for some ambiguous cases*
* Specman E*
* SQL and PLSQL
* TeX and LaTeX
* VB and VBScript*
You may wish to type "view_source." into the about:config display filter to make it easier to find these variables.
I can't say if this will work with all external editors, but it's been working fine for me.