How can I disable "View Source"

Any problem with javascript can be discussed here.
mohumben
Posts: 82
Joined: Thu Sep 15, 2005 9:45 pm

Post by mohumben »

magicfor: They do exist, but they don't work, it doesn't matters if the browser being used is Firefox or Internet Explorer.

You can make it harder to use the right **** or show the source, but any average user can bypass them. All of them.

The source code cannot be hidden. Period.


johnjg75
Posts: 108
Joined: Thu Nov 03, 2005 2:31 am

Post by johnjg75 »

i've seen some pages where the source is like blank but its a webpage, it was weird
.illicit.
Posts: 19
Joined: Tue Dec 27, 2005 9:56 pm

Post by .illicit. »

There are scripts, but really no script can't stop anyone from viewing your sourcecode. (E.G In Firefox ->View->Page Source)

Latez,

.illicit.
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

i have one idea, how to disable from viewing a source:
Any one knows what is AJAX ? Ajax definition could be Asynchronous JavaScript and XML. U can use javascript function XMLHTTPRequest to take data from xml and place it to browser. if user try to view your source, it just see that javascript function, whitch read xml and render it to browser. Use google to know more about ajax. Maybe after finishing my current projects, i'll try to create a site using ajax, because i'm realy excited with it's advantages.
Image
gmail
Posts: 28
Joined: Thu Jan 12, 2006 6:37 am

Post by gmail »

forbidden that always got viewers crazy..:(
kaos_frack
Posts: 504
Joined: Sat May 07, 2005 8:03 am
Contact:

Post by kaos_frack »

even if you disable right **** the user will be able to see your source code
copy and paste the following to your browsers addressbar and press enter
javascript:alert(****.****.outerHTML);
i have tested it with internet explorer 6 and opera 9, it works perfectly
don't know about other browsers
loserk
Posts: 36
Joined: Sat Mar 11, 2006 9:35 am

Post by loserk »

you cannot disable view source,no way...maybe you can use redirecting sites...such as http://www.dot.tk
uz
Posts: 140
Joined: Sat Dec 24, 2005 5:32 pm

Post by uz »

thanx guys
it really helps
you know when you do something worth you never want it to be stolen without any permission
Post Reply