Skip to content

Instantly share code, notes, and snippets.

@rjz
Created June 25, 2017 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjz/d404a8b0a7f5abb9e338b1c8dc1888f9 to your computer and use it in GitHub Desktop.
Save rjz/d404a8b0a7f5abb9e338b1c8dc1888f9 to your computer and use it in GitHub Desktop.
LinkedIn message reply bookmarklet
javascript:(function (ta) {
const message = `Thanks for reaching out!
\n\n
I’m unfortunately not open to new opportunities at this time, but I’m certainly wishing you all the best in your search!
\n\n
RJ`;
if (!(ta && ta.length === 1)) {
alert('UI has changed...');
} else {
ta[0].value = message;
}
})(document.querySelectorAll('.msg-compose-form__form textarea'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment