open-in icon indicating copy to clipboard operation
open-in copied to clipboard

Open in Chrome for Firefox stopped working

Open mikemajara opened this issue 3 years ago • 6 comments

Comma-separated list of URLs to open with the external browser when the link is opened with left-click¹: https://console.aws.amazon.com/, https://company.slack.com/, https://github.com/org/

With the above settings. Unchanged since I set up the plugin options, the plugin just stopped sending things to Chrome.

mikemajara avatar Dec 02 '20 15:12 mikemajara

I am not able to reproduce this. Have you tried refreshing the source page?

andy-portmen avatar Dec 03 '20 05:12 andy-portmen

Yeah, I tried a bunch of things, I have yet to try downgrading explorer and other stuff. I'll find some time to put together some decent information. Sorry for the brevity.

mikemajara avatar Dec 03 '20 18:12 mikemajara

I am using:

  • Firefox 84.0.1
  • MacOS 10.15.7
  • Chrome Version 87.0.4280.88 (Official Build)
  • open-in Chrome addon (Firefox -> Chrome)

When debugging the extension I can see the following message in console:

Unchecked lastError value: Error: Missing host permission for the tab

Apparently failing at this spot of background.js

  chrome.tabs.executeScript(tabId, {
    file: "public/js/content-scripts/".concat(contentScriptName),
    matchAboutBlank: true,
    frameId: frameId,
    runAt: 'document_start'
  });
}

From the date I realized this was happening (the OP was on Dec 2, 2020), I see that Chrome released the very same version I am using.

From the looks Chrome is preventing the add0n to manipulate/create the tab at some point.

Related links:

  • https://stackoverflow.com/questions/47503841/error-missing-host-permission-for-the-tab-on-view-source-urls

Let me know If I can do a PR, I am unfamiliar with this projects so it would take me a while still

Thoughts?

P.D.: I also ./install.shed again

mikemajara avatar Jan 06 '21 10:01 mikemajara

@MikeMajara are you trying to export an internal tab?

andy-portmen avatar Jan 06 '21 11:01 andy-portmen

@andy-portmen could you elaborate? I am using the same configuration that I was using before (when it was working[1])... With default settings appart from the URLs marked in "Comma-separated list of URLs to open with the external browser when the link is opened with left-click1" (with string e.g.: https://console.aws.amazon.com/console/home)

[1] With before I mean that the same configuration was working one day and stopped working the next day. After looking a bit closer, I assume that because of an update, but still just an assumption.

mikemajara avatar Jan 06 '21 14:01 mikemajara

I should add to the above that clicking on the web extension button does export the tabs successfully. It is just the automatic opening that is not working as expected.

mikemajara avatar Jan 07 '21 09:01 mikemajara