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.
Try [addons.mozilla.org...]
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)
[scintilla.org...]
-----------
>> 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):
* Ada
* ANS.1 MIB definition files*
* APDL
* Assembler (NASM, MASM)
* AutoIt*
* Avenue*
* Batch files (MS-DOS)
* Baan*
* Bash*
* BlitzBasic*
* Bullant*
* C/C++/C#*
* Clarion*
* conf (Apache)*
* CSound*
* CSS*
* diff files*
* E-Script*
* Eiffel*
* Erlang*
* Flagship (Clipper / XBase)*
* Flash (ActionScript)*
* Fortran*
* Forth*
* Haskell
* HTML*
* HTML with embedded JavaScript, VBScript, PHP and ASP*
* Gui4Cli*
* IDL - both MSIDL and XPIDL*
* INI, properties* and similar
* InnoSetup*
* Java*
* JavaScript*
* LISP*
* LOT*
* Lout*
* Lua*
* Make
* Matlab*
* Metapost
* MMIXAL
* MSSQL
* nnCron
* NSIS*
* Objective Caml*
* Opal
* Octave*
* Pascal/Delphi*
* Perl, most of it except for some ambiguous cases*
* PostScript*
* POV-Ray*
* PowerBasic*
* PureBasic*
* Python*
* Rebol*
* Ruby*
* Scheme*
* scriptol*
* Specman E*
* Spice
* Smalltalk
* SQL and PLSQL
* TADS3*
* TeX and LaTeX
* Tcl/Tk*
* VB and VBScript*
* Verilog*
* VHDL*
* XML*
* YAML*
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.
Jim