Need a pointer on how to make a small customisation

1 post / 0 new

I'd like to compile a version of Emporium which automatically copies any selected text to the clipboard. That is, I don't want to have to right-click and choose copy; I want selected text to be copied to the clipboard as soon as it is selected, without any further user intervention. I have a programming background, and I can probably work out what needs to be done in the javascript, but I've never written a browser extension.

I'd appreciate it if anyone could point me in the right direction. In which of the files in the Git Hub repository will I find the code that controls this part of the Emporium functionality?

Thanks a lot,

(As background info: the reason I want this is that I'm reading books in a foreign language, and I have an autohotkey script which monitors the clipboard and, as soon as anything appears there, looks it up in a bilingual dictionary. As I'm looking up a lot of words, it's much easier to just select a word by double-clicking it, than to have to right-click and copy every time.)

Secondary menu