diff --git a/src/common/components/Token.tsx b/src/common/components/Token.tsx index 5c66e64..658aebc 100644 --- a/src/common/components/Token.tsx +++ b/src/common/components/Token.tsx @@ -162,7 +162,13 @@ const User = () => {
{ + // Fix React 19 blocking `javascript:` URLs + // https://github.com/facebook/react/issues/16382#issuecomment-607252694 + if (node) { + node.setAttribute("href", bookmarkletContent(token)) + } + }} onClick={async (e) => await copyBookmarklet(e, token)} >