Skip to content

Instantly share code, notes, and snippets.

@messutied
Last active February 19, 2022 22:54
Show Gist options
  • Save messutied/c498c944d245d0ad035ced6bb490860a to your computer and use it in GitHub Desktop.
Save messutied/c498c944d245d0ad035ced6bb490860a to your computer and use it in GitHub Desktop.
Share to whatsapp bookmarklet
// Following this guide: https://faq.whatsapp.com/en/general/26000030
javascript:(
function(){
const YOUR_PHONE='';
window.open(`https://api.whatsapp.com/send?phone=${YOUR_PHONE}&text=${encodeURIComponent(location.href)}`);
}
)();
@bhoconnor
Copy link

For some reason I get a funky screen when I use this, where it eventually works but i have to scroll down past a request to "Select your language" followed by a long list of languages, then it has a "Continue to chat" option (image should be attached). Thanks for it either way though, figured i'd check to see if there might be any fixes...

Screen Shot 2022-02-19 at 5 52 08 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment