disable-devtool icon indicating copy to clipboard operation
disable-devtool copied to clipboard

Can still be accessed via "view-source:"

Open TechGeekUnited opened this issue 1 year ago • 4 comments

Is there a way to make it block "view-source:" to? because like on "https://theajack.github.io/disable-devtool/" you can still view page source on "view-source:https://theajack.github.io/disable-devtool/"

TechGeekUnited avatar Apr 01 '23 05:04 TechGeekUnited

@TechGeekUnited Just like using curl to grab the url, there is no way to avoid this

theajack avatar Apr 07 '23 02:04 theajack

Couldn't you have it heavily encode the page in several layers of base64 or something that doesn't execute and run as normal html if it isn't opened as an actual website?

Example: https://try-to-find-comment.joshua-thayer.repl.co

TechGeekUnited avatar Jun 12 '23 01:06 TechGeekUnited

Found the comment on https://try-to-find-comment.joshua-thayer.repl.co/

Super easy to find that on Microsoft Edge 😁. Just view it in the Browser Developer Tools. lol

shaunroselt avatar Jul 06 '23 08:07 shaunroselt

Found the comment on https://try-to-find-comment.joshua-thayer.repl.co/

Super easy to find that on Microsoft Edge 😁. Just view it in the Browser Developer Tools. lol

Actually, this is a bug in this library: https://github.com/theajack/disable-devtool/issues/66

lol

And that's why I could view the comment simply by opening the DevTools.

shaunroselt avatar Jul 06 '23 11:07 shaunroselt