[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after rece
From: |
Rehan Deen |
Subject: |
Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)] |
Date: |
Fri, 13 Dec 2024 00:17:57 +0530 |
User-agent: |
mu4e 1.12.7; emacs 29.4 |
> Please, reply to the list.
Apologies.
> I hope, you used the full expression instead of ellipsis.
Yes, I doubt it would have "worked" otherwise (in the sense that the
link would not have been captured).
> I forgot about
> "+new", so it should be with another variant of parenthesis:
> javascript:void(location.href='org-protocol:...)
>
> The idea is to discard a string returned by the assignment operator.
>
> Try to open web developer tools [F12] and switch to console. You might
> notice some error messages.
Thanks, that works and is consistent with what I thought was happening
-- I was unsure of the syntax here. Yes, the "fix" I had before did
produce errors in the console, which presumably also displaced the
'org-protocol:...' string. Not sure what upgrade to the browser has
caused this string to be rendered now ...
> You may try
> https://github.com/vifon/org-protocol-for-firefox/
> that uses another method to launch external protocol handler.
>
> Personally I am interested in extracting as much page metadata as
> possible, so bookmarklets and simple extensions is not an option.
>
> In future, I hope, it is better to avoid org-protocol.el hack with an
> advice and rely on the new `server-eval-args-left' feature.
That extension looks useful -- though I am currently interested in
extracting only a certain amount of information from pages. But I take
your point about the security risk.
- [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)], Rehan Deen, 2024/12/12
- Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)], Max Nikulin, 2024/12/12
- Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)], Max Nikulin, 2024/12/12
- Re: [PATCH] org-protocol: Add void() to bookmarklets, Ihor Radchenko, 2024/12/22
- Re: [PATCH] org-protocol: Add void() to bookmarklets, Max Nikulin, 2024/12/24
- Re: [PATCH] org-protocol: Add void() to bookmarklets, Ihor Radchenko, 2024/12/24
- Re: [PATCH v2] org-protocol: Add void() to bookmarklets, Max Nikulin, 2024/12/27
- Re: [PATCH v2] org-protocol: Add void() to bookmarklets, Ihor Radchenko, 2024/12/27
- [PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue, Max Nikulin, 2024/12/28