| 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: |
| view-source:http:// code; can you disable view-source: command? | |
|---|---|
| Tweet Topic Started: Jan 13 2005, 02:37 PM (694 Views) | |
| Pink_EvO | Jan 13 2005, 02:37 PM Post #1 |
|
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. |
![]() |
|
| FearKiller | Jan 13 2005, 02:52 PM Post #2 |
|
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? |
![]() |
|
| Gornakle | Jan 13 2005, 03:10 PM Post #3 |
|
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. |
![]() |
|
| RagingFuryBlack-ZNS | Jan 13 2005, 04:02 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
you cant disable the view source, however, you could encrypt it, but thats unsensable for what you wish to do |
![]() |
|
| James | Jan 13 2005, 04:58 PM Post #5 |
|
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. |
![]() |
|
| Deleted User | Jan 13 2005, 06:25 PM Post #6 |
|
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. |
|
|
| korn_mosher_4life-ZNS | Jan 13 2005, 06:36 PM Post #7 |
|
the korn mosher 4life
![]() ![]() ![]() ![]() ![]() ![]()
|
more source code crap....... |
![]() |
|
| Jory | Jan 14 2005, 11:18 AM Post #8 |
|
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
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) |
![]() |
|
| Kai // | Jan 22 2005, 02:40 PM Post #9 |
![]()
Kai //UnStOpAbL3
![]() ![]() ![]()
|
not much but a way to stop the right-click method, use the right-click disable code in code snippets. -Kai // |
![]() |
|
| Rory | Jan 22 2005, 03:17 PM Post #10 |
|
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
|
![]() |
|
| chiên | Jan 22 2005, 03:43 PM Post #11 |
![]()
Vi3t Assassin
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You could always use a scrambler but you have to have a domain to do it. |
![]() |
|
| Jory | Jan 22 2005, 06:04 PM Post #12 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
or make a site that sucks so that nobody wants your code |
![]() |
|
| FearKiller | Jan 22 2005, 06:45 PM Post #13 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
or don't even put it online. That'll stop people from viewing your source for sure.
|
![]() |
|
| Jory | Jan 22 2005, 06:54 PM Post #14 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
yea, lets take all sites offline to make sure nobody steals codes (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. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
6:41 PM Jul 11
|



![]](../../../../0/1/0/p601690/pipright.png)





6:41 PM Jul 11