Welcome to WebmasterWorld Guest from 54.145.136.73

Forum Moderators: incrediBILL

Viewing Source Code

source code - viewable/not viewable

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

5+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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)

5+ Year Member



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)

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



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)

5+ Year Member



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)

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



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)

5+ Year Member



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

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



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)

WebmasterWorld Senior Member 10+ Year Member



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

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



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

5+ Year Member



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

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



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.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month