Log In · Register

 
 
Closed TopicStart new topic
is there a code for this?
princessx143
post Jul 5 2009, 10:30 PM
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? (:
 
synatribe
post Jul 5 2009, 10:33 PM
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
 
princessx143
post Jul 5 2009, 10:39 PM
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"
 
fixtatik
post Jul 5 2009, 11:21 PM
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. -->
 
heyo-captain-jac...
post Jul 5 2009, 11:51 PM
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.
 
princessx143
post Jul 6 2009, 07:44 PM
Post #6


Senior Member
****

Group: Member
Posts: 108
Joined: Jun 2009
Member No: 732,503



^ yeah, this is for my own site.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: