Code Source

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
omar.php
Forum Newbie
Posts: 3
Joined: Wed Jun 10, 2009 4:38 pm

Code Source

Post by omar.php »

I was wondering ,why the browsers have : View--> Source. Some websites disable this option.any body has an idea?
Thanks
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: Code Source

Post by kaszu »

What? Websites can't disable view source. They can minify code by striping whitespaces, but that's it.
You need it to see the code which has been generated (usually for debugging), but since firebug appeared I have used view source only a few times, but still it's needed sometimes.
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: Code Source

Post by omniuni »

I bet omar.php is referring to the bug in IE where it won't view source if there's too much stuff in its cache. No site can stop you from viewing the source, but you have to clear the cache in IE FIRST if you want it to work. :roll:
User avatar
mikemike
Forum Contributor
Posts: 355
Joined: Sun May 24, 2009 5:37 pm
Location: Chester, UK

Re: Code Source

Post by mikemike »

Some sites claimed they were blocking it by disabling right-click. Again, you can just goto View in the toolbar.
Post Reply