Disable save as option and view source from menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • visweswaran28
    New Member
    • Apr 2009
    • 11

    #1

    Disable save as option and view source from menu

    i want to disable save as option and view source option from menu could any one help.....
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    that cannot be done with JavaScript ... it is a basic browser feature that shouldn't and so can't be disabled from a webpage ...

    kind regards

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      even if it were, you could just disable Javascript…

      Comment

      • gits
        Recognized Expert Moderator Expert
        • May 2007
        • 5390

        #4
        very true :) ... so in summary ... it is not possible to hide such code from the users ... all JavaScript and HTML code needs to be downloaded to the client since the browser needs to parse and process it ... once downloaded (to the clients filesystem) it is just some clicks away to be viewed, copied, anaylized, locally changed or whatever ... those things are 'open source' per se, even when it might be licensed or soemthing like that ... it is not avoidable to have it viewed or stored somewhere. in case you need to hide things ... then you need to do that things at the server.

        kind regards

        Comment

        Working...