Tuesday, May 6, 2008

better view source; firefox

Often I’ll be looking at my site after it’s been uploaded and notice that I need to make a quick HTML edit and I dont have Dreamweaver handy. When I view source, Firefox opens an HTML viewer where you cant edit the HTML you’re looking at. You’ve got to copy, open your editor and paste it. Kind of tedious.

Well, today I figured out a little about:config tweak that lets you tell Firefox what to do when you right click and “view source”. Just change view_source.editor.external to “true” and set the string for view_source.editor.path to point to the editor you prefer. For simplicity, I have mine set to open notepad++.

config

Be careful editing the about:config stuff, it can really mess up some basic functions of Firefox if you’re not paying attention.