Skip to content

A bookmarklet to start a direct chat with any number on Whatsapp Web without adding as contact.

License

Notifications You must be signed in to change notification settings

jiatern/whatsappstartchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

WhatsappStartChat Bookmarklet

This bookmarklet allows you to start chatting with any number in Whatsapp without adding it as a contact. A pop up will appear when you click it with Whatsapp Web open.

Simple enter the full phone number with country code e.g. 60123456789.

You can drag and drop the bookmarklet below to your Bookmark bar to save it.

[WA New Chat](javascript: { var val= prompt("Enter phone number","");} { var openChat = phone => { const link = document.createElement("a"); link.setAttribute("href", whatsapp://send?phone=${phone}); document.body.append(link); link.click(); document.body.removeChild(link); }; } if (val) openChat(val))

or you can manually add the following code as a bookmark:

javascript: { var val= prompt("Enter phone number","");} { var openChat = phone => {   const link = document.createElement("a");   link.setAttribute("href", `whatsapp://send?phone=${phone}`); document.body.append(link); link.click();   document.body.removeChild(link); }; } if (val) openChat(val))

About

A bookmarklet to start a direct chat with any number on Whatsapp Web without adding as contact.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published