This add-on is not actively monitored for security by Mozilla. Make sure you trust it before installing.
It’s pretty lame that Mozilla’s addons site still doesn’t show source code which is guaranteed to correspond to the binary you’re installing.
Anyway, I went and read the source on github (which probably corresponds to the extension one can install) and while this part seems very straightforward this other part exceeds my understanding 😂 (i’m not suggesting it is malicious, i just don’t understand everything it is doing there or why it is necessary).
What I was really looking at the source for was to see if they were simulating keystrokes (and inserting plausible delays between them) to defeat a more determined anti-pasting adversary, or if they were simply suppressing the hostile website’s onPaste handler so that pastes can happen as normal. And: they are doing the latter.
I wonder if any paste-blocking websites detect and defeat this extension yet?
been using it for years :)
Whats the JS
OMFG what asshole came up with the idea of blocking paste for fields? Whoever you are, get FUCKED
“bUt ItS a SeCuRiTy RiSk.” Yeah maybe when most people were keeping their passwords in a spreadsheet. However now that they are all encrypted in password management programs its a vulnerability. If I can’t generate a 40+ char password for your site then I will not be using your site if I can help it.
Probably the same ones that block “copy” for when you want to select text.
Or even better: the ones that add bullshit like “–Copied from shitheads.xyz” to all copied text
Oh, haven’t seen that one yet. Another irritation to look forward to.
In mst cases it’s a simple css property.
Btw, can webdevs please stop reimplementing scroll via js? Always a slow and buggy mess.
Those same people think that colorblind people don’t exist and there’s no accessibility reason to select text. 😡
Financial Times does that
Don’t fuck with copy too, my schools e-textbook thing won’t let you copy text when quoting it for an essay.
Edit: I appreciate the help but this is on a school laptop, we can’t install anything nor open inspect element. Also I already found a workaround by cntrl+c-ing before I lift the left click and it goes to highlight mode.
Cengage? McGraw?
Both have that problem in my classes so I went hard into the open access stuff for my students.
I always just find a pdf to use even if I had to pay for the service. One time the pictures they provided (tables) were so difficult to read that I tracked down the original source material and sent copies to the professor and the rest of the class.
Now that is an everyday hero in action.
Damn, what a noble gesture!
Install Windows Powertoys, activate the Text Extractor plugin, Windows+Shift+t, profit!
100% required plugin for the modern web. :(
Some banks don’t allow pasting passwords, which is insane
California DMV requires a bank routing and account number instead of a credit card, but doesn’t allow you to copy and paste it from your bank website. You have to type out the 20+ digits and if you get any of them wrong a cop pulls you over and potentially murders you.
Sounds like freedumb
There’s a special place in hell for whoever started that blocking paste shit, right next to the popup ad guy.
Also, does anyone know of an Android Xposed/Magisk Module that does the same thing?
There’s a special place in hell for whoever started that blocking paste shit, right next to the popup ad guy.
…and the guy that came up with the <blink> HTML tag.
https://en.wikipedia.org/wiki/Lou_Montulli
There’s your perpetrator. He claims he didn’t write the code but it was his idea. Go get him!
The addon is available for Firefox on Android
Yea, but that’s not system wide so apps and stuff that route you to say a webpage for login with the internal browser will still fuck with copy and paste
Now give me a “Don’t Fuck With Back” extension.
I’m guessing it’s all from the same ad network but I’ve noticed an uptick in the number of sites hijacking the back button to show more ads. Even the Associated Press site has been doing it and it drives me crazy.
Yessss I nees this even more than don’t fuck with paste!
Does this work with any text on page (vs just inputs)?
Currently dealing with several digital textbooks - that I fucking purchased - from Elsevier that disable copy functions, which makes pulling chunks of text from a page to take notes a pain in the ass. I’ve resorted to just using the snipit tool to capture tiny screenshots of the text I want, but that’s ofc significantly less ideal than just highlighting text and hitting Ctrl+C.
There is a Firefox extension called Absolute Enable Right Click & Copy that works great for a lot sites that block you from being able to copy.
That sounds right up my alley because another pet peeve of mine is when they block me from opening an image in a new tab via the right click menu. My eyes aren’t what they used to be and I need to ZOOM sometimes.
If you’re using Windows, there is a utility included in PowerToys that you might find useful to get the text from those screenshots: https://learn.microsoft.com/en-us/windows/powertoys/text-extractor
Okay that actually sounds pretty amazing… but I can’t get it to work. Win+shift+T seems to just cycle through the icons pinned in my taskbar. I’ll do some googling to see if I can figure out why that is, but if you know a quick fix, then yes please!!
I just thought of a possible bypass. Maybe a phone’s “scan document” function can help with that? Provided that the text is clear, you may be able to scan a webpage and save it as a scanned document. Then open the doc on your phone (or other device), and you should be able to highlight and copy the scanned text.
Okay, maybe not. I tested it with this very page and although the copied text got the gist, I still would’ve had to go back and edit things. But eh, YMMV. It could be a valid work-around for somebody, just with different text or using a different device.
Usually I just leave them as little image blocks of text cuz ain’t nobody got time for dat. When I actually do want to fully convert it (usually only bother if I’m sending something out to the class), then I’ll save the whole doc as a PDF and then run it through an optical character recognition service like this one. There are ways, they just suck when a feature like copy exists.
Screenshot, paste to GPT and ask it to parse to text.
I made a website to test your typing speed and I felt dirty disabling pasting, but that feels like an actual good use-case.
why wouldn’t you let people cheat? What’s the worst case outcome?
If you want to cheat on a typing speed test you may as well just make up a number and say that’s your WPM. Why take a test at all?
a lot of people mistyping their passwords, and then not knowing their password, I assume
Just not allowing the clipboard is a legitimate security measure though. A lot of apps can read that memory space, so it’s kind of a security black hole.l
How do you input your long unique passwords?
An extension in a browser you trust or ummm… Painstakingly.
I can think of two ways: either using a password manager with a browser extension, or using the browser’s built-in one.