Added option for prompt or clipboard

It's still necessary to set a cookie and get the command from the JSON
data.