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:
After enabling the component, open the Disable Developer Tool option in the Config menu and set the options as you wish.
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.
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 :-)
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.
Go to Red Crested License to read the last version of our terms.
Dominik and Michael
Could you test the new version?
Tested with latest Chrome and Firefox on Linux:
Result: continuous page reloads until memory gets exhausted
(you'd better close the tab in time before that happens) 😅
Works now - F12 (devtools) and right click is disabled
But you have to clear the Cache manually, is that correct?
And I found a bug, when you activate "Disable the right-click menu" and then open the devtools from google chrome menu, it opens and the site reloads endlessly
Dominik
Install the latest version and let me know if works
no, I installed it a few days ago
Was the component installed today?
I'll review on this code in a few days.
It produces some error
[01-Jun-2023 10:34:23 UTC] PHP WARNING: 2023-06-01 10:34:23 (UTC): "Attempt to read property "tkname" on bool" in file /home/queermeet/publichtml/components/DisableDevTool/plugins/default/forms/DisableDevTool/admin/settings.php (line 25)
[01-Jun-2023 10:34:23 UTC] PHP WARNING: 2023-06-01 10:34:23 (UTC): "Attempt to read property "key" on bool" in file /home/queermeet/publichtml/components/DisableDevTool/plugins/default/forms/DisableDevTool/admin/settings.php (line 32)
[01-Jun-2023 10:34:23 UTC] PHP WARNING: 2023-06-01 10:34:23 (UTC): "Attempt to read property "disableMenu" on bool" in file /home/queermeet/publichtml/components/DisableDevTool/plugins/default/forms/DisableDevTool/admin/settings.php (line 38)
[01-Jun-2023 10:34:23 UTC] PHP WARNING: 2023-06-01 10:34:23 (UTC): "Attempt to read property "clearLog" on bool" in file /home/queermeet/publichtml/components/DisableDevTool/plugins/default/forms/DisableDevTool/admin/settings.php (line 43)
[01-Jun-2023 10:34:23 UTC] PHP WARNING: 2023-06-01 10:34:23 (UTC): "Attempt to read property "disabelSelect" on bool" in file /home/queermeet/publichtml/components/DisableDevTool/plugins/default/forms/DisableDevTool/admin/settings.php (line 48)
[01-Jun-2023 10:34:23 UTC] PHP WARNING: 2023-06-01 10:34:23 (UTC): "Attempt to read property "disableCopy" on bool" in file /home/queermeet/publichtml/components/DisableDevTool/plugins/default/forms/DisableDevTool/admin/settings.php (line 53)
[01-Jun-2023 10:34:23 UTC] PHP WARNING: 2023-06-01 10:34:23 (UTC): "Attempt to read property "disableCut" on bool" in file /home/queermeet/publichtml/components/DisableDevTool/plugins/default/forms/DisableDevTool/admin/settings.php (line 58)
[01-Jun-2023 10:34:23 UTC] PHP WARNING: 2023-06-01 10:34:23 (UTC): "Attempt to read property "disablePaste" on bool" in file /home/queermeet/publichtml/components/DisableDevTool/plugins/default/forms/DisableDevTool/admin/settings.php (line 63)
[01-Jun-2023 11:48:01 UTC] PHP WARNING: 2023-06-01 11:48:01 (UTC): "Attempt to read property "name" on bool" in file /home/queermeet/public_html/libraries/ossn.lib.admin.php (line 245)
Have you key and secret fields filled? This is required to the component works.
Component is working at redcrested.net/ossn
stopped working :(
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 ;))