Skip to content

Instantly share code, notes, and snippets.

@cogdog
Created March 28, 2024 23:11
Show Gist options
  • Save cogdog/d55b3fb59082f9bf14686c1d6feeb365 to your computer and use it in GitHub Desktop.
Save cogdog/d55b3fb59082f9bf14686c1d6feeb365 to your computer and use it in GitHub Desktop.
Share openly Bookmarklet
This is a quick and sloppy bookmarklet to make use of Ben Werd's Share Openly https://werd.io/2024/share-openly
From any page you can select a but of text to include in your shared prompt, click the bookmarklet or enter in a dialog box, all passed to
ShareOpenly.org to enable a share post to your preferred service.
Create a new bookmark on your browser bar (for now I will have to assume you can dio a new one from scratch), name it
whatever you like, and for the url enter
javascript:q=location.href;t=getSelection()+'';if(!t)%7Bvoid(t=prompt('Share Openly with text...',''))%7D;if(t) location.href='https://shareopenly.org/share/?url='+encodeURIComponent(q)+'&text='+encodeURIComponent(t);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment