princekhunt / privateping

PrivatePing is a secure messaging application built on Python's Django framework, providing end-to-end encryption for messages exchanged between users.
https://privateping.bytespot.tech
MIT License
124 stars 30 forks source link

Disable Right click on all pages of privateping app. #25

Closed princekhunt closed 1 week ago

princekhunt commented 2 weeks ago

Is your feature request related to a problem? Please describe. We're trying to app more tight and secure, hence it would be beneficial to block the right click while a user is chatting or using any other functionality

Describe the solution you'd like A javascript can be implemented which blocks the right click on the app.

sudarshankakde commented 2 weeks ago

let me do this too... assing me!

princekhunt commented 2 weeks ago

Also have to disable Ctrl, f12, shift and PrtScn.

Go on.

sudarshankakde commented 2 weeks ago

we already have disabled PrtScn. By using a similar approach we can disable above mentions keys as well as we can disable contextmenu(right click)

sudarshankakde commented 1 week ago

PR created!

sudarshankakde commented 1 week ago

Close the issue it has been merged