471,886 Members | 1,144 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,886 software developers and data experts.

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 1191


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
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.