Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Vorh
7 months ago
|
parent
|
context
|
favorite
| on:
Don't fuck with paste
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
7 months ago
|
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
7 months ago
|
prev
[–]
Huh. That seems not super important to me. Presumably he could make a option/version where the icon didn't change?
kortilla
7 months ago
|
parent
[–]
Yeah, seems like a lame excuse to permissions grab crazy privilege.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://github.com/aaronraimist/DontFuckWithPaste/blob/8cb68...