I was wondering ,why the browsers have : View--> Source. Some websites disable this option.any body has an idea?
Thanks
Code Source
Moderator: General Moderators
Re: Code Source
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.
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.
Re: Code Source
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. 
Re: Code Source
Some sites claimed they were blocking it by disabling right-click. Again, you can just goto View in the toolbar.