homepage Welcome to WebmasterWorld Guest from 54.242.231.109
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Viewing Source Code
source code - viewable/not viewable
claire2005




msg:3777713
 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




msg:3777724
 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




msg:3777736
 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




msg:3777829
 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




msg:3777958
 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




msg:3777964
 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




msg:3778076
 7:23 am on Nov 1, 2008 (gmt 0)

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

tangor




msg:3778117
 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




msg:3778118
 9:09 am on Nov 1, 2008 (gmt 0)

Open the url in an editor.

piatkow




msg:3778120
 9:11 am on Nov 1, 2008 (gmt 0)

Could be the whole page was masked by a frame.

claire2005




msg:3778334
 7:14 pm on Nov 1, 2008 (gmt 0)

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

phranque




msg:3778472
 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