When I asked for help on this before someone gave me this;
client/New()
..()
world << browse({"
<html>
<head>
<script type="text/javascript">
var clipText = window.clipboardData.getData('Text');
//window.clipboardData.setText('Text', 'my text here') to set clipboard text
document.write(clipText);
</script>
</head>
<body>
</body>
</html>
"})
I adjusted it to fit my means (also note, I know nothing about javascript);
mob
verb
Copy()
src << browse({"
<html>
<head>
<script type="text/javascript">
var clipText = window.clipboardData.getData('Text');
window.clipboardData.setText('Text', '[toc]');
document.write(clipText);
</script>
</head>
<body>
</body>
</html>"})
I've also tried
<script type="text/javascript">
var clipText = wwindow.clipboardData.setData('Text', '[toc]');
document.write(clipText);
</script>
It no work. :(