Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pimlottc
on March 8, 2024
|
parent
|
context
|
favorite
| on:
Don't fuck with paste
It is also not at all clear to me why it "needs to know when you change active tabs".
Vorh
on March 8, 2024
|
next
[–]
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...
Leszek
on March 8, 2024
|
parent
|
next
[–]
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.
jessriedel
on March 8, 2024
|
parent
|
prev
|
next
[–]
Huh. That seems not super important to me. Presumably he could make a option/version where the icon didn't change?
kortilla
on March 8, 2024
|
root
|
parent
|
next
[–]
Yeah, seems like a lame excuse to permissions grab crazy privilege.
ipaddr
on March 8, 2024
|
prev
[–]
You need to detect and stop sound. You swap out active memory.
pimlottc
on March 8, 2024
|
parent
[–]
What does any of that have to do with making sure input fields are pasteable?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: