Y
Hacker News
new
|
ask
|
show
|
jobs
by
Leszek
838 days ago
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.