From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sOSZNRo7o2KBUQAAbAwnHQ (envelope-from ) for ; Fri, 10 Jun 2022 14:37:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qHLONBo7o2KYtwAAG6o9tA (envelope-from ) for ; Fri, 10 Jun 2022 14:37:46 +0200 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 636353E080 for ; Fri, 10 Jun 2022 14:37:46 +0200 (CEST) Received: from localhost ([::1]:46780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzdtY-0008Hr-Dp for larch@yhetil.org; Fri, 10 Jun 2022 08:37:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzdq5-0008HG-4Z for emacs-orgmode@gnu.org; Fri, 10 Jun 2022 08:34:10 -0400 Received: from ciao.gmane.io ([116.202.254.214]:59138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzdq2-0006fd-C4 for emacs-orgmode@gnu.org; Fri, 10 Jun 2022 08:34:07 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nzdq0-0003n8-Hs for emacs-orgmode@gnu.org; Fri, 10 Jun 2022 14:34:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: org-capture firefox extension broken [silently] Date: Fri, 10 Jun 2022 19:33:57 +0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654864666; 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; bh=b/2dBLfqdEptNRFChA53vCP+VVdSiCyyaONF4BRWM8k=; b=KWr4fbNm1eRZrIv6/+g7Lmtl8pTQBFk1zCe8wQ/DPc9KwusymFGis7If3BD52ECwvqrv0g iWKj7KTC1eYo5d5H1iht2A3xIuKsMVJ3dsheWFkFE4oxZUZ5QTlM5jd406dyh04iQg+vhY ipz3umIvabneHdO0yIiHqaSPZCwkENkTxYsnGseVlLRCBsvlliJ346zNNuVVt+L6XRBsIn I9nKt8l1c1AH+tAPVJQYfV9C2zpoWkC7huaUCela2uA+X6pBCjXdTZPlugnj7zfQdew8/M nfGOOTFc6NHOn9cQVuRlKnS/apzT+vWQ5kCgzJ2X6Q3iEp+ffnuj3j+rL23cQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654864666; a=rsa-sha256; cv=none; b=GXgnkXDxtcvvUHBn89/1zfPlo/YR35Zds4x6cQ+xIywsj4/j/wJMbLRuXk6BqRpOxbW4eA b/KH06CQzhIcTDDTtpQx+0nmi626DgiISfVSXy/O/JNP+3lWwgK4NaacKdhpjRQ3FqnnBR yxrr2SnGdKHa34yakcrCJ4tKKwWxswLg9dLj/wuPV25D32di+LKIROs0NuSKvIWEIS4vrB I4o2W/Ml4lkYwwSnO3Q33o0Qhc0Yc9NnMLCn/F2TFzVdvHoThfJTEeTvr1AIApRvb++5z1 iZ667AFcaR0nd05QXwAwNH8wcIlU79g7Hpbru56dyttfqyOtb42zc1Z3M7FibQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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" X-Migadu-Spam-Score: 4.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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" X-Migadu-Queue-Id: 636353E080 X-Spam-Score: 4.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: oy9W3Fw1YhHA On 09/06/2022 04:13, Samuel Wales wrote: > i really like and rely on the org-capture extension for firefox. [...] > however, upon an upgrade and a reboot in a security-supported debian, > text no longer appears in org. Samuel, do not panic. I just have tried that my LinkRemark extension is still able to launch org-protocol handler from Firefox-91.10 (Debian bullseye). My extension is not a replacement, it just mean that org-capture may be fixed. However I do not see bug reports for the issue: https://github.com/sprig/org-capture-extension/issues - Have you tried to check that org-protocol still works on your system? xdg-open 'org-protocol:/org-capture?url=something' - Have you checked what action is set for org-protocol in Firefox settings page about:preferences "Applications" section? - Have you tried to create a html page with an org-protocol link and to click on it? > the extension does flash its large "captured" notification, suggesting > to the user [me] that something did work. i used to rely on that to > know it was captured, but now i do not know what it is a reliable > indicator of. External scheme handler is a shoot and forget method, there is no reliable indicator to confirm success. The stance of mozilla developer is that native messaging application should be used if some feedback about launched application is required. Actually enough commercial applications use external scheme handlers. It is tricky, but some methods to detect failures exist. On the other hand likely you are using no interruption setup when captures are silently added to your inbox without rising any application window. It makes detection of errors in browser harder. > there is a debug option but idk where hte console is in firefox. Which console would you like to get? There are a lot of them in firefox. - [Ctrl+Shift+J] ("More tools" section of the hamburger menu): Browser console. Unlikely your problem may be reported here - [Ctrl+Shift+K] or from [F12]: web developer tools for the current page. Most probable place to notice the error taking into account the method used by org-capture-extension code - about:debugging#/runtime/this-firefox and "Inspect" button for the extension: mostly to check other errors related to the extension. On 10/06/2022 06:55, Samuel Wales wrote: > thank you for the link and suggestion. it says it works for a version > of ff one more than my current one. Notice that copy-as-org-mode does not support org-protocol, it uses clipboard. > anybody know how to: > > 1] get a slightly older version from the firefox addons site that > might work with my version of firefox? There is "See all versions" link on addons.mozilla.org pages. I do not think it help you in the case of copy-as-org-mode, likely the developer uses either something newer from WebExtensions API or some JavaScript feature that is not available in Firefox-91. > 2] download it as a file, /inspect it/, and then install it from the > file [the addon site says "This add-on is not actively monitored for > security by Mozilla. Make sure you trust it before installing."? This warning is shown for most of add-ons on the site. Only a few of most popular extensions are carefully reviewed by developers. Try right click (context menu) for the "Add to Firefox" button and choose "Save Link As...". .xpi files are just ZIP archives.