Welcome to WebmasterWorld Guest from 54.225.28.32

Forum Moderators: incrediBILL

Message Too Old, No Replies

Viewing Source Code

source code - viewable/not viewable

     
7:40 pm on Oct 31, 2008 (gmt 0)

New User

10+ Year Member

joined:Feb 8, 2006
posts: 24
votes: 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
7:48 pm on Oct 31, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 4, 2004
posts:877
votes: 0


You can't hide it, they most likely have a bunch of blank lines at the top, try scrolling down a little.
8:03 pm on Oct 31, 2008 (gmt 0)

New User

10+ Year Member

joined:Feb 8, 2006
posts:24
votes: 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.
10:08 pm on Oct 31, 2008 (gmt 0)

Administrator

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

joined:Aug 10, 2004
posts:10859
votes: 67


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.
1:32 am on Nov 1, 2008 (gmt 0)

New User

10+ Year Member

joined:Feb 8, 2006
posts:24
votes: 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

2:04 am on Nov 1, 2008 (gmt 0)

Senior Member

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

joined:Mar 31, 2002
posts:25430
votes: 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

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

Preferred Member

10+ Year Member

joined:July 8, 2005
posts:460
votes: 0


Save the page and all related files: JS, CSS, etc.
9:08 am on Nov 1, 2008 (gmt 0)

Senior Member from US 

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

joined:Nov 29, 2005
posts:7579
votes: 512


About to say the same thing. Once it is YOUR browser you can pretty much do whatever (view it, etc) if you save it.
9:09 am on Nov 1, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 27, 2002
posts:1187
votes: 0


Open the url in an editor.
9:11 am on Nov 1, 2008 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member piatkow is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 5, 2006
posts:3383
votes: 36


Could be the whole page was masked by a frame.
7:14 pm on Nov 1, 2008 (gmt 0)

New User

10+ Year Member

joined:Feb 8, 2006
posts:24
votes: 0


thanks for the info. i'll try saving it.
3:02 am on Nov 2, 2008 (gmt 0)

Administrator

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

joined:Aug 10, 2004
posts:10859
votes: 67


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.