4 ms·
It is also not at all clear to me why it "needs to know when you change active tabs".
by pimlottc 3y ago
It is also not at all clear to me why it "needs to know when you change active tabs".
- ipaddr 3y agoYou need to detect and stop sound. You swap out active memory.
- pimlottc 3y agoWhat does any of that have to do with making sure input fields are pasteable?
- Vorh 3y agoI 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.