According to the Browser compatibility list, Firefox's implementation of the Clipboard API only supports reading the clipboard in browser extensions (given the clipboardRead extension permission). How can I read text from the clipboard in a web page script? navigator.clipboard.readText is undefined. I would be willing to write an extension, but I don't know how to make something like a synchronous "function call" from page script to extension that would return the text read by the extension.