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").