How to inhibit right-click to see source code on scroll bar

Whilst I have disabled the right click facility from working on the main web page by simply using:
oncontextmenu="return false;
I realise that if the user resizes their web page in their browser so a scroll bar is auto generated, they can then right click on the scroll bar and then “view source”

Any ideas how to inhibit this as well?


Welcome to our community!

"Can you disable inspect element on website?

You can’t disable it completely . Web Console Inspectors are designed for HTML and JavaScript debugging. They do this by displaying the live DOM object on the web page. This means that it exposes the HTML code of everything you see on the web, even if it is created by JavaScript."

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.