aaronraimist / DontFuckWithPaste

Google Chrome and Firefox extension that prevents the blocking of pasting into input fields
https://addons.mozilla.org/en-US/firefox/addon/don-t-fuck-with-paste/
MIT License
1.06k stars 21 forks source link

How can we get the functionality of Don't_F_With_Paste without installing the add-on? #22

Open hub2git opened 1 year ago

hub2git commented 1 year ago

Dear Aaron, firefox dev of the extension, I'd like to minimize the number of extensions I use. Is there a way to get the functionality of your extension by making changes under Firefox's hood and without using the extension?

My idea (toggling dom.event.clipboardevents.enabled to false in about:config) is a workaround, but it then disables copy-pasting in Google Docs.

Thank you.

aaronraimist commented 1 year ago

I mean yes it would be possible for the functionality to be built in to Firefox but right now it does not exist. All that I am aware of that is built in is dom.event.clipboardevents.enabled which as you found out is a global setting and sometimes you do want clipboard events. That's why the add-on exists. If it was a native feature there wouldn't be an add-on.

If one of the add-ons you are choosing to keep is a userscript manager like Greasemonkey then you could probably use that to implement the functionality.

Just curious, why do you want to minimize the number of extensions you use? Don't Fuck with Paste uses a negligible amount of system resources.

hub2git commented 1 year ago

thank you for your reply, Aaron. To answer your question, I wish to make my firefox as speedy and light as possible.