How to hide the code to certain element.

  • Profile Image
    kozijnstijl
    Asked on March 03, 2014 at 07:31 AM

    Is it possible if someone looks through the code to make invisible inspect element

    Page URL:
    www.kozijnstijl.nl

    Screenshot
  • Profile Image
    jedcadorna
    Answered on March 03, 2014 at 08:45 AM

    Hello,

    Thank you for contacting us. 

    I don't think that is possible without using server side scripting language like PHP. If you use HTML, CSS and Javascript i'm not sure if there is a script to hide certain element. I will give you update about my findings. Thanks,

  • Profile Image
    jedcadorna
    Answered on March 03, 2014 at 08:50 AM

    Actually this is not possible but there are some tricks that others use like disabling right click in your site to prevent them from viewing source. Please read through this article http://www.htmlgoodies.com/beyond/article.php/3875651/Web-Developer-Class-How-to-Hide-your-Source-Code.htm

  • Profile Image
    kozijnstijl
    Answered on March 04, 2014 at 05:03 AM

    Thanks for your reply

  • Profile Image
    ashwin_d
    Answered on March 04, 2014 at 05:54 AM

    Hello kozijnstijl,

    On behalf of my colleague, you are welcome.

    DO get back to us if you have any questions.

    Thank you!