From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qOnjB1Xb12NE0QAAbAwnHQ (envelope-from ) for ; Mon, 30 Jan 2023 15:59:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mIOvB1Xb12PICAAAauVa8A (envelope-from ) for ; Mon, 30 Jan 2023 15:59:33 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BF6142B09F for ; Mon, 30 Jan 2023 15:59:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMVcf-0002Vo-EY; Mon, 30 Jan 2023 09:59:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMVce-0002Rq-7U for emacs-orgmode@gnu.org; Mon, 30 Jan 2023 09:59:04 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMVcc-0001f3-0g for emacs-orgmode@gnu.org; Mon, 30 Jan 2023 09:59:03 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2B0F3240155 for ; Mon, 30 Jan 2023 15:59:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1675090740; bh=u2yGhdOiBXsPLw6NRlEuiKqZZXnHPUDI4zL2/r/QYUQ=; h=From:To:Cc:Subject:Date:From; b=VQvys+JkEtyfgrJRap7VBopVQk3OUIfk6kt2Ogntvrglqpeo2+46JTyT9SEyGuKZd HopfnWUbGsA/aE+FW6S0U0gSJmEImfa0rrUl3s0f34IZ7wt7pFoVejA7mWMfat+wag Agd3iPdv4kkILSq8HDLsJrdhGCESA49BBG+/8rYDd06h2rJW+2JcNBzxTKbNdtIf5W g2NAvj2VZ+GVmA3Eacec9JYm8S5xspMVmka66aPWDzZyHaYFVbD8A714lX4LdbqsET fypM5L6zjxKTYU0nM7ZmWkNEeMAn2MK4gQyDeI2q6fJTOYpjy1IZkT66/gL+8ZutL4 frGvHZMvNfdMQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P5BCR4hmnz6tmH; Mon, 30 Jan 2023 15:58:59 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: [BUG] org-manual: Using bookmarklet for org-capture is no longer reliable (was: Firefox permission dialog and org-protocol) In-Reply-To: References: <3218434.44csPzL39Z@linux.fritz.box> <860cca44-faa3-ce41-3606-f92b50ee00a9@gmail.com> <87a62bnf4t.fsf@localhost> <21750362.EfDdHjke4D@linux.fritz.box> <939b62c1-34ee-051e-405a-328b841d3d16@gmail.com> <875yculcim.fsf@localhost> <87pmaxe9fk.fsf@localhost> Date: Mon, 30 Jan 2023 14:59:36 +0000 Message-ID: <87edrc3w6f.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675090772; a=rsa-sha256; cv=none; b=IBNWeTKAQjIof/RH6cE2bQ6Ce4+KDQyloc5pOh4JycgoLVQ1FIzsZ4fXQxYecb9V5wc5Dx eJp8Bvx80dz4WIVdepigaaF5RaNfUxfKHuImeNM6C7U04pbjeCXWv52jVyDqn9ChuQO/gK 7/BRVTsvVWbrQB3m7MLjOszF6Wv4IE1CtdFP17U2HSSdjU2FxRdgB9Ey5tEV5sGJcP/6wv 0t09ZnFrGGcqNLlHFxC9uLFWKo+lONSoDBsIL0aSBZ2ChBfDQkQXm5Y8VIKGHQYcpJxJIK zLMrNb3bt3qbuXePCO9hlDB3LBZhJ1folUV9EavAtvxvT8oVyhMkdXeyKms2Gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VQvys+Jk; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675090772; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=y6cJuAP4QSE9Wr1Iqui/8CxXghPsZ5s92tXGcwPyyiA=; b=Pbz4H4RGvvTBOyJmHfDKWR4SnffuECp9TLG6MhqymcbP6TafzAOCNfj9Rth6tMahz2JN18 nxeXX9a/H0jiLCTWXJ2bMKDM6dDHfgcvrmmQmJYo8jyqgzSGcI7Zkbu7YwOkfZP79esFSG QVti+ZGBwKMVTbADLenvdX6EZm4UqXxYStwyPao4t7UI7ClsIAmPDqMgEJxS2ByFRZYb2r bt75Frpb8dTW0ZT2vlGW4hesz73P7J2hQHcVGNh4deS1peXd07ZrMqR2csh5UC3YTJCT7r kADKFTRBS6KD/S48GCkA0+q37blS3Hc4Miz0Xjh1UmyMs/TwnJePH0XZa+ZE2w== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VQvys+Jk; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.54 X-Spam-Score: -4.54 X-Migadu-Queue-Id: BF6142B09F X-TUID: hwdzoYlcJtVN Max Nikulin writes: To summarize, I believe that a browser extension is a safer way to use=20 > org-protocol. With a native messaging helper application it is even=20 > possible to avoid desktop-wide org-protocol configuration and to call=20 > emacsclient directly by the add-on but not through links on non-trusted=20 > web sites. This is bad news. 17.16.2 The =E2=80=98capture=E2=80=99 protocol section of Org manual recomm= ends To use this feature, add a bookmark with an arbitrary name, e.g., =E2=80=98Org: capture=E2=80=99, and enter this as =E2=80=98Location=E2= =80=99: =20=20=20=20 javascript:location.href=3D'org-protocol://capture?' + new URLSearchParams({ template: 'x', url: window.location.href, title: document.title, body: window.getSelection()}); With the annoying Firefox dialogue, things get very annoying. Even though I do understand the motivation of devs. But they broke bookmarklets :'( --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at