discoveryjs/browser-extension-json-discovery

Can't copy to clipboard by button

Semigradsky opened this issue · 2 comments

JsonDiscovery extension from Google store: v1.11.0
Google Chrome: Version 90.0.4430.93 (Official Build) (64-bit)

http://country.io/names.json

Error in console when click to 'Copy to clipboard' button:

init.js:186 TypeError: Cannot read property 'writeText' of undefined
    at p (init.js:186)
    at onClick (init.js:186)
    at HTMLButtonElement.<anonymous> (init.js:89)

As I see navigator.clipboard is undefined.

This can help: https://stackoverflow.com/a/51823007

exdis commented

Thank you for the report! Fix will be available in the coming days.

exdis commented

Thank you for your patience! Fix has been released and soon will be available in Google Web Store (already available in Mozilla Addons). Or you can grab new version from releases section.