Add to system clipboard with only Javascript

Find out more on MDN

Feel free to put whatever text in the input you want and click the button. It will work just fine.