locked
Is there a solution to avoid seeing the F12 window in all browser? RRS feed

  • Question

  • User-1350042179 posted

    Hi

    I would like to avoid seeing the console window in all browser.

    I would like to avoid the user can see the source code of a HTML page.

    I disable F12 keyword in the browser but I doesn't disable F12 keyword in the address bar

    Saturday, June 29, 2019 4:21 AM

Answers

  • User-821857111 posted

    No. The browser belongs to the user's computer. You have no access to it via code. In any event, you are wasting your time. If the user is savvy enough to use the developer tools, they will know that disabling Javascript in your page will allow them to right click and use F12 again.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, June 29, 2019 6:56 AM

All replies

  • User-821857111 posted

    No. The browser belongs to the user's computer. You have no access to it via code. In any event, you are wasting your time. If the user is savvy enough to use the developer tools, they will know that disabling Javascript in your page will allow them to right click and use F12 again.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, June 29, 2019 6:56 AM
  • User753101303 posted

    Hi,

    The problem being ? If you have sensitive data on the client side you should likely change your design.

    Saturday, June 29, 2019 11:07 AM