Giter Club home page Giter Club logo

Comments (2)

3j14 avatar 3j14 commented on May 27, 2024

Sure! I will try to port the newest version of the browser extension soon. Currently working on my Bachelor's thesis so won't have much time to work on this. But I'll do my best 😄

from bitwarden-menubar.

3j14 avatar 3j14 commented on May 27, 2024

I worked on this for a few days now and I am afraid I have to conclude that this will not be possible. Starting from version 1.49.0 with commit bitwarden/browser a2540ab , the Bitwarden browser extension uses the new Safari Web Exentsions API. This is a big leap forward for the extension itself and means that the Bitwarden team does not have to carry around extra code for the Safari extension which previously worked differently as compared to the Chrome/Firefox version. At the same time, this introduces breaking changes in the way the JavaScript code interacts with the application. Previously a user content controller was responsible for messages send by JavaScript to the application/system

https://github.com/jnsdrtlf/bitwarden-menubar/blob/c5116e8a1086bce5638eed0c3bd7320c7d6aab09/Bitwarden/ContentView.swift#L44

Now, this is done with the new SafariWebExtensionHandler introduced by the Bitwarden team. For now, I was unable to attach this extension handler outside of a Safari extension in a normal macOS trap application and thereby unable to intersect messages send by the JavaScript components of the extension.

Maybe someone with more expertise in this area can come along and help me out implementing the message handler. The current state of the application only displays a spinning loader as some JavaScript components fail to initialise correctly.

from bitwarden-menubar.

Related Issues (3)

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.