The browser literally highlights the selection so that seems like a solved problem.
I'm in favor of two-tier system where rich applications require permission for enhanced clipboard events but the average site will just copy what is selected without modification.