5 ms·
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/aaronraim
by Vorh 3y ago
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/8cb68e1a99d098d1dfe99d35ef4657d668e56738/background.js#L5-L19 https://github.com/aaronraimist/DontFuckWithPaste/blob/8cb68...
- jessriedel 3y agoHuh. That seems not super important to me. Presumably he could make a option/version where the icon didn't change?
- deleted 3y ago[deleted]
- kortilla 3y agoYeah, seems like a lame excuse to permissions grab crazy privilege.
- Leszek 3y agoYou 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.