Closed
Bug 194109
Opened 22 years ago
Closed 22 years ago
Command line invocation of Mozilla's HTML source viewer
Categories
(Core Graveyard :: View Source, enhancement)
Core Graveyard
View Source
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mcow, Assigned: doronr)
Details
User-Agent: Opera/6.05 (Windows 2000; U) [en]
Build Identifier:
I would like to be able to launch Mozilla's HTML source viewer from an external
program, e.g. using \path\Mozilla -viewsource (file | URL)
Reproducible: Always
Steps to Reproduce:
well, today you can do
mozilla view-source:url
it'll give you a navigator window instead of a view-source window, but...
Updated•22 years ago
|
Summary: (rfe) Command line invocation of Mozilla's HTML source viewer → Command line invocation of Mozilla's HTML source viewer
Comment 2•22 years ago
|
||
Why not? Sounds like a nice idea.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Assignee | ||
Comment 3•22 years ago
|
||
use view-source: urls, that is what they are meant for.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 4•22 years ago
|
||
Well, OK. There's certainly not a whiff of documentation to be found for
"view-source URLs" anywhere. I have been able to determine is that prepending
"view-source:" to a browser-displayable URL will open the window, so:
view-source:http://mozilla.org/
view-source:file:///C:/Web/localindex.html
So to integrate this into a program that wants to call a viewer, that program
needs to be able to concatenate strings to the command line, such as for a
Windows machine:
mozilla.exe view-source:file:///%1
Generally, this should be OK for geeky sorts. I wouldn't be surprised to find
programs out there which don't handle the concatentation required for that, but
the one example program I have will neither handle a regular command-line
argument. Still, the form I was looking for is cleaner and easier to remember:
mozilla.exe -view-source %1
Reporter | ||
Comment 5•22 years ago
|
||
Oh, one additional point: I wanted the window to open as a View Source window.
Invoking a view-source: "URL" opens a browser window.
Given that, Doron, how about reopening this?
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•