Disable Developer Tool Download 1.2

3.3
Breton Rafael [redcrested.net] 1 year ago

Disable Developer Tool Window and Right Click

Implementation of disble-devtool library into OSSN. The
disable-devtool disables all access to the devtools, preventing 'code porting' via the devtools

This library has the following features:

  • Support configurable whether to disable the right-click menu
  • Disable shortcut keys such as f12 and ctrl+shift+i
  • Support recognition to open developer tools from browser menu bar and close the current page
  • Developers can bypass the disable (url parameters are encrypted with tk and md5)
  • Multiple monitoring modes, support almost all browsers (IE, 360, qq browser, FireFox, Chrome, Edge...)
  • Highly configurable, minimalist to use, compact
  • Support npm reference and script tag reference (property configuration)
  • Identify the real mobile terminal and the browser developer tool to set the plug-in forged mobile terminal to save performance for the mobile terminal
  • Support for identifying developer tools close events
  • Support configurable whether to disable selection, copy, cut, paste function
  • Support to identify eruda and vconsole debugging tools

How to setup the options

After enabling the component, open the Disable Developer Tool option in the Config menu and set the options as you wish.

Limitations

The component was tested in OSSN 6.1 and 6.4, free and premium versions. Maybe some adjustments are required in older versions. In this case, use at your own risk.

How to support

If you want to help me to make more components, click on the button down bellow and buy me a coffee. It's up to you how much coffee I'll drink :-)

Version

  • 1.2

    • Fixed loop when devtools is open before page load - #2
  • 1.1

    • Improved the verification for default values after component activation - #1
    • Changed the license type in XML file
    • Package disable-devtool upgraded from 0.3.1 version to 0.3.4
    • Admin configuration moved to Red Crested Components main menu
  • 1.0

    • Initial version

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Go to Red Crested License to read the last version of our terms.

Comments
German Dominik L Replied 8 months ago

stopped working :(

Dutch Anton Paradise Replied 11 months ago

This is a great idea for front-end users as a protection tool. You could add timers to it so it also deletes past videos after 30 days like Facebook and posts instead of making it for Devs ;))

Breton Rafael [redcrested.net] Replied 1 year ago

I believe that discussion is endless. A user determined to see the source code will do it anyway.

German Michael Z├╝lsdorff Replied 1 year ago

To me it seems a bit odd to add a component like this to a software called Open Source Social Network.
It's annoying enough trying to help anyone who isn't willing to give out their website url.

Indonesian Arsalan Shah Replied 1 year ago

This is good if you wanted to hide stuff from newbies but you can still able to access source code by downloading the page. But everyone doesn't know..... 😀😀😀

Component

Developer: Rafael
License select license
Type: Site admin
Requires Ossn Version : 6.1
Latest Version: 1.2
Last Updated 6 months ago
Repository Url View Repository

Versions