From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EG/yKXW8WmeLUAAA62LTzQ:P1 (envelope-from ) for ; Thu, 12 Dec 2024 10:35:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EG/yKXW8WmeLUAAA62LTzQ (envelope-from ) for ; Thu, 12 Dec 2024 11:35:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dXjJ+nwl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733999733; a=rsa-sha256; cv=none; b=sxBhKLCKAktDgFv3fA3T5cce+Heg5JIAMy6078i008ytcmyrwNANZDoMnnKFdk3Z5UHKft AQRXmu52uDfxsztAlZvTPtzV2xdO4l3d01rc+/DBlavvpMEPvGkyMbd9DwoE5Nr4+PmI1u saunLpdrVef+yVoplof/cezmySqBcmfhSmNKwRMiomGSxPXd6s5Z7uysDxvToX3YCXsfXp TTmz2iaq3JA/5xlCZzuIno+3Zhao5VZddrXhb0f3w0QcdyMkQwpDiFxMzlPcwoNhW/4EPm zdXm19+dj7RqIakhwhl59qadXfQS8I6rVKquuKKeJuRJi+Uaic3UTHgRNDQ3xA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dXjJ+nwl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733999733; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=5r94fediog4gB0agc2ntp+AMhdZuZbXBflOfaieJfWc=; b=jSg7hV9RewCVGEM87VLr+Y8XTXrRKVeMCWdCDwZUw010YLQ///cYdDYxzkGj00cdZKLNeh ffPJwQYcNPgSWCLGsjDNufoumxp6VibapcHnoLzGwKdigc+cDkA0nJkXUkXsrpgQHPVR5p Sq+JWWw7KMcLXGps5saaQIAf9Y5F0LX7fpRocDuD35rIg+xdnv9K6thFfj/CqF4xjACQG+ JHqSSAsB0pXYdeNSB8FOLWEjUrdHBpPSjUIh9lNIGQQoplXvLv77ZEeDYqf7T8OQsBFyYV AvUNyb0kLTesT6Po0eMBPPLU10zwXwwQOXNYDHWG+QcFshdYVFpN7M9hWQt/OQ== 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 94CB67A1C8 for ; Thu, 12 Dec 2024 11:35:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLgWr-0002ET-3D; Thu, 12 Dec 2024 05:34:46 -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 1tLgWm-0002CG-KZ for emacs-orgmode@gnu.org; Thu, 12 Dec 2024 05:34:40 -0500 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLgWj-00015K-Qj for emacs-orgmode@gnu.org; Thu, 12 Dec 2024 05:34:39 -0500 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5401d3ea5a1so467305e87.3 for ; Thu, 12 Dec 2024 02:34:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733999676; x=1734604476; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=5r94fediog4gB0agc2ntp+AMhdZuZbXBflOfaieJfWc=; b=dXjJ+nwlRTS924gi1lIVoZjStGOpKjoJhppnUNtVn7kio9a4U2VdxAF++OHm56oLFF mCGv90cNffcFSjbUETrPAh5dxXRWSNYiegO4RBEtbB+I3dDJHpovFrdSEz4xdM36a6qs nUgT+fmvs3lCdYx1+D4EiQxfyAx1rbvOpl5ThFMmNVYEZhi+gesI850/lcZ0YfwdzUXg tWwHHd7WJ5SMR0ybiIbZpvKuU3Sp8ChAslQ20Vi/rIH/X4rZ/tQhMLiKulTkVyJ6rmjg 2DKyQWP0OnHuDyqdxMJYK9S+8v4RK63d1yEYFJqJdfHM+ImjrzikcTCorMmk5el/zfVh NVMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733999676; x=1734604476; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5r94fediog4gB0agc2ntp+AMhdZuZbXBflOfaieJfWc=; b=e9A1PdwqYZ8mb6qlglBgXRyYwgeKN8S4ZmMpnF+hkcWXjIVKzXVYlOptvjT33R6Oal 4q4v3jP4TjXpNM59rneM9S214hNlXLyNMn4uoxjaceF5GQeDCYdHwCwygbeTeW7PvCtd 9p0MzlKS/mNF66bvqooUgjO4lB59ZuIpL4X/MYUMpb+y/WYUFt7K+32LAN4CIrHGQCrB fVp1VvOV9u/sg2tesgMLZl/3AMUamO/ofdMhPb1p5JQ0dcYPFd7wjJdCihTH5sdjZ7L4 FkICCNFze6ZgYQ5MLYpPdCvvHqJncueN7wx8ZAnRTHNBP9wX8WJ47+LLMyd8Rw5AcfEH 2x3w== X-Forwarded-Encrypted: i=1; AJvYcCUTw3uG2TorcKYCDS/YhQ2aiF4Tq0tn7PSRlDWumriNdbxD/zZQYh+68c3GVnlnAGJv+bjVDAt42qAGbUa6@gnu.org X-Gm-Message-State: AOJu0YxRBHLXmW1qhz8eYbOLnCajl0bW3PXJsrpvmWiQr6ePx50TiKnp 3cMKyE51JO3tbFvA8figqQz9/2kkRsFMn7pHrKHB0cyNfEguPZkAixZSbg== X-Gm-Gg: ASbGncuXYzbUPYbL5t32fY4Z3qySyLTojyQF5ZofKsXiITOmXnuhnbTdX9OrjbFecn9 ROhO5ogCDoxhpFu1VJR4cnxktabsAqw7Z+r8Uzv32QlY7+W2rVgPYlr2HEe0JLa0sk/pg3PEGbB iYBU7TA7XlbH8EZg7xf0Tnp/S0MViy1WfFgNxAUhXCaRP8ZKvPWUB8PRSlRKNcfvf2QLBGaFSXY dSJCm/SJ1nJgs8jUrpVHSFq08LJzaXK7BEmhm04iDYrMS3o9gyuVNax/rpXJaqhG/lJs6T6xXTx RsUx X-Google-Smtp-Source: AGHT+IEhtNEgHGUbkoKJNa0mgdjD13jgedT23b1HEIu24rcNAkLOp/MZgftJ9meVVU+hpCYRGa8VxQ== X-Received: by 2002:a05:6512:3a96:b0:540:1d58:da7a with SMTP id 2adb3069b0e04-54032c2ac5cmr302136e87.12.1733999675636; Thu, 12 Dec 2024 02:34:35 -0800 (PST) Received: from [192.168.1.149] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id 2adb3069b0e04-53e3a36ee3fsm1772932e87.107.2024.12.12.02.34.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Dec 2024 02:34:35 -0800 (PST) Message-ID: <9aea6ebe-66a2-47d6-a7cc-a7ad9e8af284@gmail.com> Date: Thu, 12 Dec 2024 17:34:34 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird 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/)] To: Rehan Deen , emacs-orgmode@gnu.org References: <87pllx7219.fsf@gmail.com> Content-Language: en-US, ru-RU From: Max Nikulin Mail-Followup-To: Rehan Deen , emacs-orgmode@gnu.org In-Reply-To: <87pllx7219.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=manikulin@gmail.com; helo=mail-lf1-x133.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 94CB67A1C8 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.87 X-Spam-Score: -4.87 X-TUID: dbXtSqny8Hw5 On 12/12/2024 15:12, Rehan Deen wrote: > javascript:location.href='org-protocol://store-link?'+new > URLSearchParams({url:location.href, title:document.title}); Try to add "(void)" javascript:(void)location.href='org-protocol:... However bookmarklets are unsafe, you have to allow *web page* to launch a handler. In the case of an extension this permission may be given to the extension (but sprig/org-capture-extension still use the unsafe way). > but copying it from > `/usr/share/applications` to `~/.local/share/applications/`, It should not be necessary. It should be enough to remove your own association. In some cases the -display="$DISPLAY" trick is important. > Interestingly, the `org-capture` extension for Firefox from > https://github.com/sprig/org-capture-extension continues to work without > producing this issue It executes its code in another context.