webinstall/webi-installers

[Bug:Docs] Copy button broken in Firefox

danawoodman opened this issue · 3 comments

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

trying to copy the install code for a library

What exactly did you do?

hit the copy button on the zig install on this page: https://webinstall.dev/zig/

What went wrong?

nothing happened, copy failed, console produced this error:
Screenshot 2024-02-28 at 11 17 20 AM

Which OS did you try on?

macOS 14.3.1, Firefox 123.0

  • Mac
  • Windows
  • Linux

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

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

Can confirm happens on Firefox in PopOS (Ubuntu Derivative) as well.

Also noticed (although should probably be a separate issue) that OS detection isn't functioning in Firefox on PopOS. Seems this isn't the case. My useragent is being incorrectly displayed.

I'll test Firefox on MacOS tonight. Can confirm I receive the same error with Firefox on MacOS(Honestly this was expected. It's an error in the handling of javascript)

I confirm that error on Firefox at Mac (123.01), Windows 11, Linux :c