When JSL Script is embedded into JMP Community Post add a button which will allow easy copying.
Below is my great mock-up:
jthi_0-1664620285495.png
Toolbar could most likely include other buttons than copy to clipboard, but I think that is the most important one.