For the past day I've been trying to paste/read the content of my clipboard using javascript to no avail. I've tried using the clipboard inside the background script but it didn't work as both navigator(for navigator.clipboard) and document(for document.execCommand("paste")) do not exist.
I've also tried implementing the code for manifest_version 2 from another post but it didn't work.
Anyone know a solution?