This is a time-saving recipe that I use dozens of times every day. It's useful to have some context in case the URL doesn't work so that you can search for the content in other ways.
Tutorial
time | section |
---|---|
00:00 | Intro |
00:17 | Demo |
02:16 | Start from scratch |
02:47 | Create our text |
05:07 | Copy to the clipboard |
06:27 | Access other recipes |
08:01 | Call the built-in function |
Recipe
- Name
- Share page title and URL
- Callback
return this.api.LCHCopyToClipboard(`${ document.title }: ${ window.location.href }`);
Part of Cooking with Launchlet.