Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Javascript

Javascript

Scheduled Pinned Locked Moved C#
questionjavascript
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    simworld
    wrote on last edited by
    #1

    How can I Disable users not to view the Source Code of Javascript using Internet Explorer ->View->Source at runtime?

    R R A 3 Replies Last reply
    0
    • S simworld

      How can I Disable users not to view the Source Code of Javascript using Internet Explorer ->View->Source at runtime?

      R Offline
      R Offline
      r aa j
      wrote on last edited by
      #2

      I think We cant disable..

      Rajendran.AL

      1 Reply Last reply
      0
      • S simworld

        How can I Disable users not to view the Source Code of Javascript using Internet Explorer ->View->Source at runtime?

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #3

        Disabling the user from viewing your source? I don't know if that is possible by a remotest way. But, you can surely obfuscate your javascript. Look at the following URL: http://www.javascriptobfuscator.com/[^]

        Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

        1 Reply Last reply
        0
        • S simworld

          How can I Disable users not to view the Source Code of Javascript using Internet Explorer ->View->Source at runtime?

          A Offline
          A Offline
          Anoop Unnikrishnan
          wrote on last edited by
          #4

          oncontextmenu="return false"> The above statement can block the right clicks on the page. Then also the browser has options to view the source. So better try encrypt HTML.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups