Max Nikulin <maniku...@gmail.com> writes: > A patch updating org-protocol.el comments, docstrings, and the manual is > attached.
Thanks! > -javascript:location.href='org-protocol://store-link?' + > - new URLSearchParams({url:location.href, title:document.title}); > +javascript:void(location.href='org-protocol://store-link?' + > + new URLSearchParams({url:location.href, title:document.title})); > #+end_example Another variant from reddit is javascript:location.href='org-protocol://store-link?'+new URLSearchParams({url:location.href, title:document.title}); void(0); https://old.reddit.com/r/emacs/comments/1h7ws1i/the_orgprotocol_bookmarklet_opens_a_blank_page/ Do you still prefer yours? I know close to nothing about JS. Also, will the change work in older browsers? In non-Firefox? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>