Need to change this script's behavior
Navigator.Clipboard: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API
Navigator.Clipboard.Write: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/write
Navigator.Clipboard: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API
Navigator.Clipboard.Write: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/write
Script: https://gist.github.com/WirlyWirly/e599ca9e293558ec014d0e806914b936
It currently pops up a download window (at line 54 I think) which I want to stop.
Instead, I want to get the URL stored in "DirectDownload" copied to the clipboard.
I believe commenting line 54 out solves the new window problem, but how do I get the info copied to the clipboard? I don't care about handling the error condition (the else condition) as I turned the option at the top off.