From 61323321eaf0821aadb6fabf53ba4d8d8312e62a Mon Sep 17 00:00:00 2001 From: Max Nikulin Date: Sat, 28 Dec 2024 22:45:06 +0700 Subject: [PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue --- etc/ORG-NEWS | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index d26813c98..03e2693e1 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -20,14 +20,11 @@ Please send Org bug reports to mailto:emacs-orgmode@gnu.org. *** You may need to update =org-protocol= bookmarklets for browsers -In Firefox-133, Firefox-128.5 ESR, and later, javascript bookmarklets -may spawn empty page. We have updated the manual with new -bookmarklets that do not have such problem. - -TL;DR: ~void(0);~ needs to be added to the bookmarklets, so that they -do not return anything. - -Example: +In Firefox-133, Firefox-128.5 ESR, provided javascript +bookmarklet examples replace current web page with =org-protocol= URL. +It is necessary to reload the page to restore original content. +We have updated bookmarklets in the manual appending ~;void(0)~ +to explicitly discard expression value, for example #+begin_example javascript:location.href='org-protocol://store-link?url='+ -- 2.39.5