is this possible - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

is this possible

green_bluegreen_blue Posts: 4Member
hi

my problem is
i don't want to show my code to others for that purpose
i want to make the browser's( view/source) option disabled
and to File/saveAs
i this possible to do

Comments

  • ThandiThandi Posts: 2Member
    : hi
    :
    : my problem is
    : i don't want to show my code to others for that purpose
    : i want to make the browser's( view/source) option disabled
    : and to File/saveAs
    : i this possible to do
    :

    Yes,It's possible to hide ur source code,I 've actually come across such pages where u are unable to view the source code.The only problem is I don't how it's done,I wud hav luved to help u.But if u find a solution, Please mail me and tell me about it!!!I 'm still learning myself.
  • WaltPWaltP Posts: 335Member
    : : hi
    : :
    : : my problem is
    : : i don't want to show my code to others for that purpose
    : : i want to make the browser's( view/source) option disabled
    : : and to File/saveAs
    : : i this possible to do
    : :
    :
    : Yes,It's possible to hide ur source code,I 've actually come across such pages where u are unable to view the source code.The only problem is I don't how it's done,I wud hav luved to help u.But if u find a solution, Please mail me and tell me about it!!!I 'm still learning myself.

    You can't really protect your javascript code. There is a way to make the right-click inoperative, but if you disable javascript in the browser, it's back on. I think that if you put your code into a .js file and include the file, that's probably the best you can hope for.


    ----------------
    Walt


Sign In or Register to comment.