You will need to install a user script manager extension to install this script.
click to copy torrent name in torrent page
event is from first parentheses in the name, may not correct
auto close window after copy
if you don't want it close, set this value to false
let autoclose = true;