nsfw-filter icon indicating copy to clipboard operation
nsfw-filter copied to clipboard

Migration to manifest v3

Open 0xturboblitz opened this issue 4 years ago • 13 comments

Hi, Thanks a lot for your work.

With manifest v3, chrome replaced background scripts with service workers, which cannot access the DOM. Is there any plan to migrate the extension to manifest v3 ?

I am building a similar extension and I was unable to use nsfwjs in the service worker because of it's inability to manipulate DOM objects. I would be very interested if anyone had an idea to solve this.

0xturboblitz avatar Mar 24 '22 17:03 0xturboblitz

@0xturboblitz Hi, thank you so much for this information, I will figure it out in the near future, I will keep you informed

yzevm avatar Mar 24 '22 19:03 yzevm

You may be interested in this WECG issue I'd created: https://github.com/w3c/webextensions/issues/73 ServiceWorkers are challenging for a variety of use cases, and I think it may be difficult to go to MV3 without some workarounds or compromises.

wingman-jr-addon avatar Apr 20 '22 02:04 wingman-jr-addon

@wingman-jr-addon Thanks you, your messages are always helpful :heart:

yzevm avatar Apr 20 '22 03:04 yzevm

If a way to do this in manifest V3 is found will Firefox support be reconsidered? To my knowledge it might fix some of the issues due to it being so different

nonetrix avatar Jul 30 '22 19:07 nonetrix

Firefox is taking a different approach: Limited Event Pages. There are some differences here that may work better. See https://blog.mozilla.org/addons/2022/05/18/manifest-v3-in-firefox-recap-next-steps/

wingman-jr-addon avatar Aug 04 '22 04:08 wingman-jr-addon

Any news on the migration to the manifest v3???

igorriti avatar Jan 28 '23 22:01 igorriti