Closed Bug 288008 Opened 18 years ago Closed 18 years ago
Get rid of view source window and display source in a browser window
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 StumbleUpon/1.9993 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 StumbleUpon/1.9993 The "View Source" window is quite buggy and has all sorts of problems, most notably that it turns "caret mode" on unexpectedly. But the biggest problem I have with it is that it is always a separate window even though I prefer to have all Firefox "pages" in one window (using tabs). Hence, my suggestion would be to: * allow URLs like sourceof:http://www.example.com/ * all this needs to do is display the same file, but pretend its content type were text/plain * have the "View Source" command (Ctrl+U) switch to this URL within the same window/tab * have a new command, "View Source in new Tab" (Ctrl+Shift+U) * make the "Wrap long lines" command from the View Source window available to any window that is displaying text/plain (this would be an added benefit: I have often wished this option existed when I was actually viewing a text file and not HTML source). Reproducible: Always Steps to Reproduce:
Of course, alternatively one could have a content-type like text/html-source or something which will trigger syntax highlighting.
You can use an extension: http://www1.cs.columbia.edu/~mjg2101/ts/ Your number five is a separate issue.
*** This bug has been marked as a duplicate of 262915 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.