News for hackers. Stuff that matters.
Re:Don't Fuck with Paste by pimlottc on Thursday March 07, 2024 @08:17PM (#39636671)
It is also not at all clear to me why it "needs to know when you change active tabs".
Re:Don't Fuck with Paste by Vorh on Thursday March 07, 2024 @11:14PM (#39637697)
I just read through the 65LOC source, and it's because it swaps out an active or inactive extension icon based on your active tab.

https://github.com/aaronraimist/DontFuckWithPaste/blob/8cb68...

Re:Don't Fuck with Paste by jessriedel on Thursday March 07, 2024 @11:53PM (#39637904)
Huh. That seems not super important to me. Presumably he could make a option/version where the icon didn't change?
Re:Don't Fuck with Paste by kortilla on Friday March 08, 2024 @01:15AM (#39638291)
Yeah, seems like a lame excuse to permissions grab crazy privilege.
Re:Don't Fuck with Paste by Leszek on Friday March 08, 2024 @01:55AM (#39638518)
You should have read a few more lines of that source - it also sends an "active" message to the tab, which is what adds and removes the copy/cut/paste event handlers.
Re:Don't Fuck with Paste by ipaddr on Thursday March 07, 2024 @08:43PM (#39636876)
You need to detect and stop sound. You swap out active memory.
Re:Don't Fuck with Paste by pimlottc on Thursday March 07, 2024 @09:59PM (#39637347)
What does any of that have to do with making sure input fields are pasteable?