emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Rehan Deen <rehan.deen@gmail.com>
Subject: Re: Org-protocol browser extensions avoiding use of bookmarklets
Date: Wed, 8 Jan 2025 23:42:22 +0700	[thread overview]
Message-ID: <9a215224-2952-4540-a8fa-9d922a7ae397@gmail.com> (raw)
In-Reply-To: <8734huij8u.fsf@gmail.com>

On 08/01/2025 01:14, Rehan Deen wrote:
> I just came across this extension:
> 
> https://www.reddit.com/r/emacs/comments/1hvtlsa/the_new_and_only_orgprotocol_chrome_extension_you/
> 
> https://addons.mozilla.org/en-US/firefox/addon/emacs-paw/
> 
> Do you think this meets some of your needs and avoids the security
> issues you've raised?

The code has not been published yet and I have no motivation to extract 
it from the .xpi file. I have not tried it in action since I am not 
inspired by the description. I do not like popups over page text. My 
extension is not ideal, but it covers my use case (quite different from 
"paw").

In Firefox, the add-on likely request permission for an org-protocol 
handler on behalf of itself and it is OK. In Chrome it depends on API 
used by the extension. I am against granting the permission to web 
sites, in addition it is annoying to confirm intention for every site.

Ideally, extension should escape characters in page titles and selected 
text that may be considered as Org markup. Otherwise there is a chance 
to unintentionally execute some code. It requires some user interaction, 
but e.g. TAB is used too often.

As to a bug for changed bookmarklet behavior in Firefox, there is almost 
no chance that I will file it since I do not use this feature.


      reply	other threads:[~2025-01-08 16:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-12  8:12 [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 10:34 ` Max Nikulin
2024-12-12 14:14   ` Max Nikulin
2024-12-12 18:47     ` Rehan Deen
2024-12-13 11:09       ` Max Nikulin
2024-12-16 16:01       ` [PATCH] org-protocol: Add void() to bookmarklets Max Nikulin
2024-12-16 16:40         ` Max Nikulin
2024-12-22 12:43           ` Ihor Radchenko
2024-12-22 12:42         ` Ihor Radchenko
2024-12-24 14:14           ` Max Nikulin
2024-12-24 14:23             ` Ihor Radchenko
2024-12-27 16:48               ` [PATCH v2] " Max Nikulin
2024-12-27 18:13                 ` Ihor Radchenko
2024-12-28 15:50                   ` [PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue Max Nikulin
2024-12-28 16:58                     ` Ihor Radchenko
2024-12-29 11:45                       ` Max Nikulin
2024-12-30 16:56                         ` Ihor Radchenko
     [not found]   ` <875xnp6qin.fsf@gmail.com>
2024-12-12 17:15     ` [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-26 16:49 ` Max Nikulin
2024-12-28 13:55   ` Rehan Deen
2024-12-28 16:05     ` Max Nikulin
2025-01-07 18:14       ` Org-protocol browser extensions avoiding use of bookmarklets Rehan Deen
2025-01-08 16:42         ` Max Nikulin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a215224-2952-4540-a8fa-9d922a7ae397@gmail.com \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rehan.deen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).