Closed
Bug 63198
Opened 25 years ago
Closed 25 years ago
[RFE] about:<h1>test</h1> should work like data:text/html,<h1>test</h1>
Categories
(Core :: Networking, enhancement)
Core
Networking
Tracking
()
VERIFIED
WONTFIX
People
(Reporter: roaminglt, Assigned: neeti)
References
(
URL
)
Details
When IE comes across an 'about' that it doesn't have data for, it handles the
request as source for a webpage. That is it renders it on screen.
Doing: about:<h1>This is a test</h1>
Makes a webpage with that text - try it out in IE if you haven't done this
before.
WOuld be nice if Mozilla could do this, essentially the 'about' request checked
for existing entries, and then instead of just failing when none are found, it
could return:
javascript:document.write('<whatever was typed in>')
I could see this as being very very simple indeed to add, and adding (as far as
I see it) a little bit more depth to the 'about' function.
Anything has got to be better than Mozilla just sitting there doing nothing,
not even spitting out an error message or changing to a page saying 'about not
found'. taking up my suggestion would allow the user to know something had
happened, as well as add in a funky, simple, non complicated feature.
We already have a datasource: protocol, I don't think we need to support
someone else's interpretation of about:, about: is not for general use.
Assignee: asa → neeti
URL: n/a → about:<h1>test</h1>
Component: Browser-General → Networking
QA Contact: doronr → tever
Summary: Feature Request: URL bar 'about' to have more general function, as IE does. → [RFE] about:<h1>test</h1> should work like datasource:text/html,<h1>test</h1>
| Reporter | ||
Comment 2•25 years ago
|
||
Well one learns something new every day!!
Didn't know about the datasource.
Still.. is it not easy to implement the 'about' or you objecting on
moral grounds couse it'd be like 'the other browser'? :)
| Reporter | ||
Comment 3•25 years ago
|
||
I just tried datasource:text/html,<h1>test</h1> and it didn't work.
is it not yet implemented, did you make a typo on how it's used, or am I using
it wrong?
yes i made a big typo. s/datasource/data/g
Summary: [RFE] about:<h1>test</h1> should work like datasource:text/html,<h1>test</h1> → [RFE] about:<h1>test</h1> should work like data:text/html,<h1>test</h1>
Comment 5•25 years ago
|
||
Given that we already implement this with data:, which is a standards-compliant
way of doing it, why should we do this for about:?
I recommend wontfix. If we do this we'll be opening ourselves to possible
problems should people rely on this feature, and if they don't rely on it then
I don't understand why we should bother...
Another way of getting this behaviour is javascript:"Hello World", btw.
Whiteboard: WONTFIX?
| Reporter | ||
Comment 6•25 years ago
|
||
Actually that would be:
javascript:document.write('hello world')
Perhaps you're right, that implementing it would cause problems.
My only suggestion is, if it won't cause problems, and it's easy to do, is
there any reason not to do it?
You seem to think there are good enough reasons, and I take your point.
Seeing as it's two against one.. I'll gracefully bow out? :)
Gagan: please mark this as wontfix.
I just filed bug 63395 for about:http://www.mozilla.org/ netscape4 gives page
info for that url IE on the other hand gives the url.
Comment 8•25 years ago
|
||
Azrael: no, I meant javascript:"Hello World", although your way works too.
Marking WONTFIX per previous comments.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Comment 10•25 years ago
|
||
Actually, its not just IE that renders the HTML, Netscape 2, 3, and 4 (Windows)
do this too. If about:foo isn't rendered, can we at least have something like
Netscape 1? "Whachew talkin' bout Willis?"
The same should go for javascript:foo.
Comment 11•24 years ago
|
||
nc4.78 does _not_ do this. specifically about:<h1>test</h1> results in '?'
ng3.04 does do this (what is requested here)
n2.02 does this (what is requested here)
n1.1n does _not_ do this. about:<h1>test</h1> results in 'Yeah, whatever...'
Again, this is Verified WontFix.
Whiteboard: WONTFIX?
You need to log in
before you can comment on or make changes to this bug.
Description
•