homepage Welcome to WebmasterWorld Guest from 54.167.177.180
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Viewing Source Code
source code - viewable/not viewable
claire2005

5+ Year Member



 
Msg#: 3777711 posted 7:40 pm on Oct 31, 2008 (gmt 0)

Is it easy/hard to make it possible that someone doesn't see your 'source code'? I clicked on a website and went to view the source code and it wouldn't show it.
Thanks

 

thecoalman

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3777711 posted 7:48 pm on Oct 31, 2008 (gmt 0)

You can't hide it, they most likely have a bunch of blank lines at the top, try scrolling down a little.

claire2005

5+ Year Member



 
Msg#: 3777711 posted 8:03 pm on Oct 31, 2008 (gmt 0)

no, the source screen doesn't even pop up (nothing happens when you go up to 'view' then 'source'. i went to another site just to make sure i was clicking on the right things and the other sites i could have the source screen pop up.

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 3777711 posted 10:08 pm on Oct 31, 2008 (gmt 0)

they may have used js to disable the context menu button on the mouse but there are other ways to get the source code displayed.

claire2005

5+ Year Member



 
Msg#: 3777711 posted 1:32 am on Nov 1, 2008 (gmt 0)

the only reason why i was curious (at looking at the source code) was that a person had said they just redesigned the site and i was curious if he just redesigned the site...or if he also did some SEO (not that they are a competitor to our business in our area...but they are in the same business).

anybody feel it's really necessary to 'hide' the source code? can i ask what it takes to display the source of this site?

thanks

jdMorgan

WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3777711 posted 2:04 am on Nov 1, 2008 (gmt 0)

That would depend on whether you're looking for client-side code such as JavaScript, or server-side code such as PHP. If it is server-side, you won't be able to view it unless the server is configured improperly.

Jim

jessejump

5+ Year Member



 
Msg#: 3777711 posted 7:23 am on Nov 1, 2008 (gmt 0)

Save the page and all related files: JS, CSS, etc.

tangor

WebmasterWorld Senior Member tangor us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 3777711 posted 9:08 am on Nov 1, 2008 (gmt 0)

About to say the same thing. Once it is YOUR browser you can pretty much do whatever (view it, etc) if you save it.

jbinbpt

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3777711 posted 9:09 am on Nov 1, 2008 (gmt 0)

Open the url in an editor.

piatkow

WebmasterWorld Senior Member piatkow us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 3777711 posted 9:11 am on Nov 1, 2008 (gmt 0)

Could be the whole page was masked by a frame.

claire2005

5+ Year Member



 
Msg#: 3777711 posted 7:14 pm on Nov 1, 2008 (gmt 0)

thanks for the info. i'll try saving it.

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 3777711 posted 3:02 am on Nov 2, 2008 (gmt 0)

you could use something like the Web Developer plugin for firefox which includes several tools to view and validate html and css source.
or use command line tools [webmasterworld.com] such as wget, curl or lwp-request to obtain web files.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved