Discussions » Development

Need to change this script's behavior

§
Posted: 27-11-2023

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.

Post reply

Sign in to post a reply.