is there a code for this? |
![]() ![]() |
is there a code for this? |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 108 Joined: Jun 2009 Member No: 732,503 ![]() |
so you know how when someone looks at the "view source" thing, you get all their coding? is there a code that hides that? :) because i saw it somewhere, but that one didnt work. i was wondering if anyone has that code? (:
|
|
|
![]()
Post
#2
|
|
![]() AIDS at RAVES. ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 2,386 Joined: Dec 2007 Member No: 598,878 ![]() |
no, there isnt a code, because even if you were able to hide the right click function with something else, there is always a hotkey (shortkey?) to get around it
|
|
|
![]()
Post
#3
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 108 Joined: Jun 2009 Member No: 732,503 ![]() |
i meant like the code INSIDE the view source thing. & you can also have a little message in it when someone opens the view source like "don't try to steal my code ;D"
|
|
|
![]()
Post
#4
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
Are you talking about HTML comments?
You can just put this anywhere in your HTML (below the doctype, if you have one): <!-- comment, comment, comment. --> |
|
|
![]()
Post
#5
|
|
![]() /人◕‿‿◕人\ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,283 Joined: Dec 2007 Member No: 602,927 ![]() |
I've done it before, If you give me a few minutes, I'll try to remember how to do it.
Edit: Assuming this is for your own website. Most websites don't allow anything like this.\ Edit: encrypting the code works too I'm still trying to remember how I did this. |
|
|
![]()
Post
#6
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 108 Joined: Jun 2009 Member No: 732,503 ![]() |
^ yeah, this is for my own site.
|
|
|
![]() ![]() |