Giter VIP home page Giter VIP logo

Comments (12)

ish- avatar ish- commented on July 20, 2024 2

@kawazoe it will be cool to see your PR in this repo!
i do not rush it right now, cause there is still time before fully deprecation in Jan-Jun 2023 =)
and ofcause I will not put spokes in the wheels of further development))

from auro.

kawazoe avatar kawazoe commented on July 20, 2024 1

Oh wow! I didn't really pay attention to the changes...

After a bit of reading, my understanding is that instead of using a content script in your manifest, you would have to switch to the new chrome.scripting api, like this: https://developer.chrome.com/docs/extensions/reference/scripting/#files The allFrames feature still exists through the target property, so not many changes there.

As long as you load your content.js like this as one of the first thing you would do in your background.js file, I think you'd be ok.

What kind of restrictions have you encountered?

EDIT: I have just seen the whole background page depreciation... Yeah that's a big one. At least, they provide a migration guide to help with that: https://developer.chrome.com/docs/extensions/mv3/migrating_to_service_workers/

from auro.

ish- avatar ish- commented on July 20, 2024 1

@kawazoe i think its possible to rebase last main changes into v3. test all staff there and then merge v3 into main when it will be ready

from auro.

kawazoe avatar kawazoe commented on July 20, 2024 1

I'll see if that's possible, but I'll leave that to you if the merge gets too complicated. There is less risk of errors since you know the code better.

from auro.

ish- avatar ish- commented on July 20, 2024 1

@kawazoe i will test it within a few days and then i would discuss some cases about initialization on demand (to not inject every page, but be convenient) and appearance

from auro.

ish- avatar ish- commented on July 20, 2024

@kawazoe yeah yeah
unfortunately v3 has certain restrictions towards to content script injecting, that makes extension unable to work :(
or maybe i missed something, anyway it required severe remake.. if you wish i can push branch for your research with my tryings about it =)

from auro.

ish- avatar ish- commented on July 20, 2024

@kawazoe here it is https://github.com/ish-/AuRo/tree/manifest-v3

from auro.

kawazoe avatar kawazoe commented on July 20, 2024

@kawazoe here it is https://github.com/ish-/AuRo/tree/manifest-v3

I will check that out as soon as I get a chance! Like I said earlier, this extension is what makes my entire setup work, so I definitely want to keep using it. 😃

I see that you do not have a CONTRIBUTE.md file in your project. I agree with you that it looks like many things will have to change to better support the service worker design. Do you have any restrictions or preferences on how you want me to contribute? For instance, are you ok if I PR a large refactor? I just want to make sure that you don't feel like I'm taking over your project, or putting any pressure on you.

from auro.

kawazoe avatar kawazoe commented on July 20, 2024

@ish- How do you want to handle the last few changes on main? Do you want me to start the migration over from the main branch or to backport the changes to your existing v3 branch?

from auro.

ish- avatar ish- commented on July 20, 2024

@kawazoe can i merge v3 from your fork? or you want to pull request?

from auro.

kawazoe avatar kawazoe commented on July 20, 2024

I can create a PR, but #7 found a small issue that appears to only happen during the initial install. I'll try to take a look at it today. Once that's fixed, it should be good to go.

from auro.

ish- avatar ish- commented on July 20, 2024

@kawazoe great!

from auro.

Related Issues (11)

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.