mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

Here’s a niche gotcha with the clipboard API’s `navigator.clipboard.writeText()` method that’s unique to Safari:

If you access a function from a module within your gesture handler (e.g., click handler), you will get a permission error.

The (sadly hacky and not as robust) workaround is to set a global variable from your module instead.

Full gist:

codeberg.org/aral/gists/src/br

Codeberg.orggists/clipboard-writetext-permission-error-when-using-modules-in-safari.md at maingists - A place for me to post and share small, self-contained code snippets.

@aral we need a whole web conf that is only weird shit like this ;)

Aral Balkan

@raymondcamden Oh, goodness no. We need to fix stuff so we don’t need that conference :)

@tomayac
Agree, especially as #WebKit is also used in some Linux browsers.
@aral @raymondcamden