Coder Social home page Coder Social logo

Add-on not working on Firefox about obsidian-clipper HOT 3 OPEN

kmf avatar kmf commented on September 22, 2024
Add-on not working on Firefox

from obsidian-clipper.

Comments (3)

ondrahlavac avatar ondrahlavac commented on September 22, 2024 1

Not sure about @jplattel's plans, but to me it feels like chrome/firefox compatibility is not comming back anytime soon.

EDIT: I am an amateur .... that's all. 😄

I'm trying to hack my version locally at the monent.
Will report on my results. 😆

from obsidian-clipper.

ondrahlavac avatar ondrahlavac commented on September 22, 2024

Ok, so I'm back with the news.

There has been an issue with new version of manifest. Google pushed for the quick adoption of Manifest V3 and Firefox has not finalized their implementation.

Nevertheless, two things need to change for this to work with Firefox.

  1. manifest.json for the firefox build needs to keep the following definiton, as it was in Manifest V2:
    "background": { "scripts": ["background.js"], "type": "module" },
  2. Since the new chrome.storage.sync is being used, firefox needs Add-on ID to be added to manifest.json.
    "browser_specific_settings": { "gecko": { "id": "[email protected]" } }

References:

Next steps

Normally, I would send a pull request, but this is something for Joost (@jplattel) to decide.
Basically you need to build with two different manifests for firefox and chrome.

I got my version running as unsigned addon - https://github.com/ondrahlavac/obsidian-clipper/tree/personal-version
But it's just a hack, not a fix.

So... @jplattel, can I somehow be of service so we can get this fixed? :-)

from obsidian-clipper.

ondrahlavac avatar ondrahlavac commented on September 22, 2024

@kmf @mcheck
You can use my hacked version - obsidian_clipper_for_firefox-0.5.x.zip
https://github.com/ondrahlavac/obsidian-clipper/tree/personal-version/

Just to carry us over before we find a way to get it all sorted and get a fresh new version to addons.mozilla.org

from obsidian-clipper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.