JSFiddle - React, Tailwind, and code Playground
by lchau
HTML
<b>Source</b>:
<pre>
javascript: (function() {
var s = window.location.pathname.indexOf('/files') > 0,
e = document.querySelector(s ? 'textarea[id^=\'new_inline_comment\']' : '#new_comment_field'),
m = '@ecalderon @eruizdechavez @jtoms @kwilliams @lchau';
e && e.value.indexOf(m) < 0 && (e.value += (e.value ? ' ' : '') + m)
})();
</pre>
<b>Bookmarklet</b>: <br/>
<a href="javascript:(function() {var s = window.location.pathname.indexOf('/files') > 0, e = document.querySelector(s ? 'textarea[id^=\'new_inline_comment\']' : '#new_comment_field'), m = '@ecalderon @eruizdechavez @jtoms @kwilliams @lchau '; e && e.value.indexOf(m) < 0 && (e.value += (e.value ? ' ' : '') + m)})();">review-pr</a>
CSS
body { font: 12px sans-serif; }