1) Put this code in place of URL of your bookmark:
javascript:document.execCommand('insertText', false /*no UI*/, "#education #science #popularization");
2) When you typing text into an editable (social networks etc.) array click on the created bookmark
3) Javascript put hashtags
You can change hashtags as you like and create other bookmarks with different hashtags.
Notes
Twitter - you have to start typing text (or an error occures).
Tested on
Google Chrome
Inspired by
https://kubyshkin.name/posts/insert-text-into-textarea-at-cursor-position/
Top comments (0)