Changing only the name of a variable appears to break JavaScript code to copy a link to the clipboard
I have written a short JavaScript function to write a link to the clipboard so that it will still appear as a clickable link when pasted into programs that support rich text such as Microsoft Word, based on the answer here. content.js function copyLink() { /** * Write a link to the clipboard */ var… Read More Changing only the name of a variable appears to break JavaScript code to copy a link to the clipboard