469,352 Members | 1,661 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

what is URL command that displays source instead of page?

There's some command I forgot that you can type into the
address field of a web browser that will cause it to
display the source code for that page instead of
the page itself. Can anyone tell me what it is?
It's something like:

viewsource:http://mysite.com
or
view:http://mysite.com
or
source:http://mysite.com

except I don't quite have it correct.

Jul 23 '05 #1
1 1160


David W. Deley wrote:
There's some command I forgot that you can type into the
address field of a web browser that will cause it to
display the source code for that page instead of
the page itself. Can anyone tell me what it is?
It's something like:

viewsource:http://mysite.com


Try
view-source:http://www.example.com/
but there is no standard as far as I know that browsers need to support
view-source as a pseudo protocol.
And of course most browsers have a menu item to view the source
--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Peter Jenkins | last post: by
121 posts views Thread by typingcat | last post: by
reply views Thread by Steve Bishop | last post: by
12 posts views Thread by comp.lang.php | last post: by
7 posts views Thread by =?Utf-8?B?UGF1bA==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.