tantek.com

↳ In reply to

a comment on issue 1 of GitHub project “fragmentioner”


https://github.com/kartikprabhu according to the linked examples on:

https://indieweb.org/citation#append_to_text_selection_copy

It looks like you can intercept document.oncopy and change the selection (using selection.selectAllChildren) to then cause the copy command itself to copy whatever text you want, rather than having to use execCommand("copy").

on (ttk.me t4v91) using BBEdit