[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: |
Sat, 28 Dec 2024 19:25:04 +0530 |
User-agent: |
mu4e 1.12.7; emacs 29.4 |
Max Nikulin <manikulin@gmail.com> writes:
> Have you considered reporting a bug to Firefox?
>
> I have tried year old versions of Chromium and Firefox and have
> realized that e.g. javascript:a="test" consistently replaces document
> content. Chromium still discards expression value in the case of
> assignment to "location". So the change is specific to Firefox
> (including ESR channel) and perhaps an unintentional side effect of
> another fix, likely a security one.
I am not sure what I could add as my knowledge of what constitues
correct browser behavior is limited. Feel free to do so on my behalf.
>> Interestingly, the `org-capture` extension for Firefox from
>> https://github.com/sprig/org-capture-extension continues to work without
>> producing this issue (i.e. the link is captured and the webpage
>> continues to be displayed properly).
>
> So Firefox and Chromium behavior content scripts has diverged.
> Chromium asks permission on behalf of the current web page while
> Firefox treats as the add-on permission. Likely it is a result of
> <https://bugzilla.mozilla.org/1792138>
> "(CVE-2023-25729) Extensions are not prompted before opening external
> schemes, leading to security issues"
>
> Treatment of external protocol handlers is rather inconsistent in
> browsers and it is unstable.
Not sure what to say or do about this, but thanks for letting me know. I
suppose it means that we should expect some further disruptive behavior
to extensions (not just the insecure bookmarklets) using Org-protocol,
but as you indicate it sounds like it is a wider problem.
- Re: [PATCH] org-protocol: Add void() to bookmarklets, (continued)
- 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
- Re: [PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue, Ihor Radchenko, 2024/12/28
- Re: [PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue, Max Nikulin, 2024/12/29
- Re: [PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue, Ihor Radchenko, 2024/12/30
- Message not available
- 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/)], 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/26
- 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/)],
Rehan Deen <=