1. grab the minified js from the CDM, i.e. https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.2/dist/conf...
2. remove the comments at the start and end
3. paste it into the template below
javascript: (async () => { /* paste minified JS here */ ; confetti();})();
5. copy the result and paste it into bookmark
This works on most pages (tested on some tabs I have open), but it does not seem to work on hackernews itself. Here it gives me ContentSecurityPolicy-Error when creating the worker. (at least it does in edge)
1. grab the minified js from the CDM, i.e. https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.2/dist/conf...
2. remove the comments at the start and end
3. paste it into the template below
4. (optional) customize the confetti()-call5. copy the result and paste it into bookmark
This works on most pages (tested on some tabs I have open), but it does not seem to work on hackernews itself. Here it gives me ContentSecurityPolicy-Error when creating the worker. (at least it does in edge)