Extension to create quotes

  • Hello,

    I do not have experience in writing source codes and need an extension which can do the following:

    When a text selection is made on a page, automatically copy the text into the clipboard (without the need to right-click and select “Copy”) and enclose the text in quotation marks inside the clipboard, so that when the text is pasted from the clipboard, it should be enclosed in quotation marks.

    In the below example, if a selection is made of the the expression Go in through the narrow gate, it should be copied into the clipboard as “Go in through the narrow gate”

    Matthew 7:12-14: “All things, therefore, that you want men to do to you, you also must do to them. This, in fact, is what the Law and the Prophets mean. Go in through the narrow gate, because broad is the gate and spacious is the road leading off into destruction, and many are going in through it; whereas narrow is the gate and cramped the road leading off into life, and few are finding it.”

    I have downloaded an extension attached below which automatically copies selected text into the clipboard, but it does not seem to have an option to make any additions to the copied text. Do you know what changes need to be made in the source code in order to achieve the desired result? Or can you write an extension which can do the things described above?

    The first attachment is the installation file. The second contains the files of the extension after installation which can be opened with a text editor to see the source code.

    https://drive.google.com/open?id=1LkHRtw4xiX1QgI2PIhU35werBvGkhccK

    https://drive.google.com/open?id=1xaJqyMrT3hTMG_l14rcIIBydcgP--8HM

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.