webi-installers icon indicating copy to clipboard operation
webi-installers copied to clipboard

[Bug] Website: Firefox 89 "copy to clipboard" button under command doesn't work

Open creedasaurus opened this issue 4 years ago • 6 comments

What were you trying to install (or what else went wrong)?

Anything. Although this is really simple and I dont often use the button. I just noticed it didn't work on Firefox, so it may confuse some people.

What exactly did you do?

Clicked the "Copy" button on https://webinstall.dev/jq/

What went wrong?

No page indication of anything, other than when you go to paste, it is just the previous item on your clipboard.

Browser console output:

Uncaught (in promise) TypeError: 'clipboard-write' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName.
    copy https://webinstall.dev/dist/app.js:2
    setTimeout handler*copy https://webinstall.dev/dist/app.js:2
    click https://webinstall.dev/dist/app.js line 2 > Function:3
    Be https://webinstall.dev/dist/app.js:2
    n https://webinstall.dev/dist/app.js:2
    _wrapper https://webinstall.dev/dist/app.js:2
    Kr https://webinstall.dev/dist/app.js:2
    it https://webinstall.dev/dist/app.js:2
    Jr https://webinstall.dev/dist/app.js:2
    y https://webinstall.dev/dist/app.js:2
    f https://webinstall.dev/dist/app.js:2
    h https://webinstall.dev/dist/app.js:2
    f https://webinstall.dev/dist/app.js:2
    h https://webinstall.dev/dist/app.js:2
    f https://webinstall.dev/dist/app.js:2
    h https://webinstall.dev/dist/app.js:2
    f https://webinstall.dev/dist/app.js:2
    h https://webinstall.dev/dist/app.js:2
    f https://webinstall.dev/dist/app.js:2
    Ii https://webinstall.dev/dist/app.js:2
    _update https://webinstall.dev/dist/app.js:2
    r https://webinstall.dev/dist/app.js:2
    get https://webinstall.dev/dist/app.js:2
    ln https://webinstall.dev/dist/app.js:2
    mount https://webinstall.dev/dist/app.js:2
    $mount https://webinstall.dev/dist/app.js:2
    $mount https://webinstall.dev/dist/app.js:2
    init https://webinstall.dev/dist/app.js:2
    f https://webinstall.dev/dist/app.js:2
    f https://webinstall.dev/dist/app.js:2
    h https://webinstall.dev/dist/app.js:2
    f https://webinstall.dev/dist/app.js:2
    Ii https://webinstall.dev/dist/app.js:2
    _update https://webinstall.dev/dist/app.js:2
    r https://webinstall.dev/dist/app.js:2
    get https://webinstall.dev/dist/app.js:2
    ln https://webinstall.dev/dist/app.js:2
    mount https://webinstall.dev/dist/app.js:2
    $mount https://webinstall.dev/dist/app.js:2
    $mount https://webinstall.dev/dist/app.js:2
    <anonymous> https://webinstall.dev/dist/app.js:2
    <anonymous> https://webinstall.dev/dist/app.js:2
    <anonymous> https://webinstall.dev/dist/app.js:2
app.js:2:94249

Which OS did you try on?

  • [x] Mac
  • [ ] Windows
  • [ ] Linux

What type of computer (i.e. laptop, desktop, Raspberry Pi)?

  • [x] Laptop or Desktop (amd64 / x86-64)
  • [ ] Raspberry Pi (ARM-64)
  • [ ] Other (please specify, if you know)

creedasaurus avatar Jun 26 '21 00:06 creedasaurus

I'm on it.

ryanburnette avatar Jun 26 '21 00:06 ryanburnette

Oh, not sure if it's also a bug, or expected, but on Safari, the button doesn't even show. I guess it's better that it not show if it can't work, but if it's not a hard fix, could be useful, haha!

creedasaurus avatar Jun 26 '21 01:06 creedasaurus

It has been on my to-do list to improve the copy to clipboard feature. I need to update it and do some more browser testing. Thank you for opening the issue.

ryanburnette avatar Jun 26 '21 14:06 ryanburnette

Same problem:

Firefox version: 98.0b7 UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0 OS: macOS Big Sur (version 11.6.4)

zvakanaka avatar Feb 22 '22 21:02 zvakanaka

Is this fixed or still open @creedasaurus ? I would love to have a look at this issue...

starvader13 avatar Oct 17 '23 05:10 starvader13

@starvader13 Please take a look and let me know what you figure out.

coolaj86 avatar Oct 28 '23 06:10 coolaj86