Skip to content

Prevent amators from copying and saving your website (does not protect against professionals haha!)

License

Notifications You must be signed in to change notification settings

the-muda-organization/disable-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disable Keys

Prevent amators from copying and saving your website (does not protect against professionals haha!)


Status

GitHub Version License

Github Star Github Fork

JS gzip size



Table of contents


Bugs and feature requests

Have a bug or a feature request? Before opening a new issue search for existing and closed issues. If your problem or idea is not addressed yet, open a new issue.


Installation

  1. Download and copy files to your project
  2. Add JS to your project (inline is recommended):
    <script>Paste script here</script>
  1. Place <script> right after opening <body> tag.
  2. Ready to use!

Features

Script disables the following key combinations:

  • Mouse Right-Click
  • CTRL + A - Select all
  • CTRL + C - Copy
  • CTRL + P - Print
  • CTRL + S - Save
  • CTRL + U - Open Source Code
  • CTRL + X - Cut
  • CTRL + Shift + I - Developer Tools
  • CTRL + Shift + J - Developer Tools
  • F12 - Developer Tools
  • CSS user-select:none

Versioning

Disable-keys will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format: <major>.<minor>.<patch>


Changelog

For last releases see detailed CHANGELOG.


Team


Code of conduct

We will behave ourselves if you behave yourselves. For more details see our CODE OF CONDUCT.


Copyright and license

Code released under the Unlicense.


About

Prevent amators from copying and saving your website (does not protect against professionals haha!)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages