We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
view-source:http:// code; can you disable view-source: command?
Topic Started: Jan 13 2005, 02:37 PM (694 Views)
Pink_EvO
Member
[ * ]
im just wondering if someone out there knows how to disable the view-soure:http:// command...its the easiest way around an anit right click code...but im thinking that there should be a way to disallow that all together. if anyone has any info please write back.
Offline Profile Quote Post Goto Top
 
FearKiller
Member Avatar
www.drewscripts.com
[ *  *  *  *  * ]
The easiest way around the anti-right click is to go to "View" and then "Source" or "Page Source." They can also save the page "File -> Save as..." or they can use the method you explained above. I suppose javascript might be able to block most or all of these features, but javascript isn't my field so I don't know and even javascript won't prevent your source from being viewed by everyone because people can just turn it off.

Why would you want to prevent people from viewing the source anyway?
Offline Profile Quote Post Goto Top
 
Gornakle
Member
[ *  *  *  *  * ]
There is no way to disable your source code. Even if you disable right-click, use all the JS scripts available, there would still be very easy ways to get passed it all.
Offline Profile Quote Post Goto Top
 
RagingFuryBlack-ZNS
Member
[ *  *  * ]
you cant disable the view source, however, you could encrypt it, but thats unsensable for what you wish to do
Offline Profile Quote Post Goto Top
 
James
Live to Dream
[ *  *  *  *  *  *  * ]
Someone wrote a thesis on the internet a while back on how it -might- be possible to even hide the browser from the view source. It was quite complex, if i remember - relying on quite a bit of javascript and tricking IE into thinking it was somewhere else.

Encrypting the page is a bit rubbish now, since decrypters can be found anywhere on the net and take a couple of seconds to return-to-source.
Offline Profile Quote Post Goto Top
 
Deleted User
Deleted User

How about a splash screen/entrance page prior to entering your site, with a EULA form or whatever, stating you must agree to not view the source by any means in order to use the site, and make it sound threatening? :w00t:
It still wouldn't do what you want, but think of all the money you could make if you wanted to spend the next decade involved in lawsuits.
Quote Post Goto Top
 
korn_mosher_4life-ZNS
the korn mosher 4life
[ *  *  *  * ]
more source code crap.......
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
using frames makes it a bit harder.
php is serverside, so then, people will not see that code (only outcome)

putting your code full of crap will also make ik harder to read.
(just comment it all, so the browser ignores it)


or make it all in a JavaScript file (your whole site)
*Qj_ thinks
*Qj_ cant really explame
so *Qj_ will give example
example:

you make index.htm.
then, you change everything between <body> </body>
so that you can put it in a js file.
then, put it in a js file (index.js)
then, in your index.htm, you del. everything exept the basics.
then let it import index.js
Code:
 

document.write(index.js)


just came up with this, didn't try it jet.
going to do that in couple of days (think sunday)
then i can tell you if it works.
(if anybody else trys it you, please tell us if it works)
Offline Profile Quote Post Goto Top
 
Kai //
Member Avatar
Kai //UnStOpAbL3
[ * ]
not much but a way to stop the right-click method, use the right-click disable code in code snippets.

-Kai //
Offline Profile Quote Post Goto Top
 
Rory
i;m a mess
[ *  *  *  *  *  *  * ]
Why try and prevent people from learning from your code? Sure, people could always directly rip things, but if you put in a nice enough comment explaining that you are not allowed to just copy your code, but instead learn from it, then it should be fine :)
Offline Profile Quote Post Goto Top
 
chiên
Member Avatar
Vi3t Assassin
[ *  *  *  *  * ]
You could always use a scrambler but you have to have a domain to do it.
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
Rory
January 22, 2005 02:17 PM
Why try and prevent people from learning from your code? Sure, people could always directly rip things, but if you put in a nice enough comment explaining that you are not allowed to just copy your code, but instead learn from it, then it should be fine :)

or make a site that sucks so that nobody wants your code
Offline Profile Quote Post Goto Top
 
FearKiller
Member Avatar
www.drewscripts.com
[ *  *  *  *  * ]
Qj
January 22, 2005 05:04 PM
Rory
January 22, 2005 02:17 PM
Why try and prevent people from learning from your code? Sure, people could always directly rip things, but if you put in a nice enough comment explaining that you are not allowed to just copy your code, but instead learn from it, then it should be fine :)

or make a site that sucks so that nobody wants your code

or don't even put it online. That'll stop people from viewing your source for sure. :P
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
yea, lets take all sites offline to make sure nobody steals codes :P
(then: kill everybody so that there are no more murderers :rolleyes: )

nah, think Rory's idee would work.
maybe ad an © or something to make it look official.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply