-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Suggestion] Dont F With Right-Clicks #129
Comments
@alkaris2, this is not an unreasonable request. I'm still debating with myself whether it seems like an appropriate fit or not... |
In the meantime, it's worth noting that in Firefox you can hold down shift while right-clicking to always get the context menu. (Not sure what's available in other browsers.) |
@jswanner Easy UI/UX solution would be, for each regex item, add a checkbox for what you want blocked/unblocked, then the user can decide if they want just paste restored, or context menu, or whatever else you may add in the future. UI would look like (In shitty ASCII-art):
Haven't checked your code yet, but data structure may need to be changed slightly to accommodate additional types, but this sort of UI/UX would be clean and easy for users. |
It's certainly possible to do this with a bookmarket: javascript:document.addEventListener("contextmenu",(e)=>{e.stopImmediatePropagation();return true;},true); https://github.com/jswanner/DontF-WithPaste?tab=readme-ov-file#bookmarklet |
I know this extension deals with not being able to paste on web forms and such, but there are also the few odd sites where they will unnecessarily block you from right-clicking on pages. Despite how minor this is, I believe having access blocked to context menus is completely useless and adds nothing in terms of securing content served on the page despite being able to open the Inspector Console and view the contents.
This is what some bad actors will typically use to block context menu access;
The text was updated successfully, but these errors were encountered: