Which workarous? They just want JS access to the clipboard and it is rightfully blocked by Firefox.
The correct workaround is to not use JS to access the clipboard and suddenly everything work as intetended as if the browser already does the right thing.
Do nothing and it works, some call that magic π