Notifications for YouTube #106
seomikewaltman
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I refactored the Notifications for YouTube extension into Manifest 3 using the https://github.com/antfu/vitesse-webext/tree/refactor/mv3 branch.
Works great!
https://chrome.google.com/webstore/detail/notifications-for-youtube/hckfdngdbkdhnbhehfefkcelfeofdjdo?hl=en
Made a few mods to add _locales
I needed multiple content scripts so I just created a separate vite.config.page2.ts for each extra script. and added a command to package.json
I also created an extension page that could be accessed for onboarding and showing a version update screen. This was outside of the normal popup and options html windows.
To do this I copied
src/popup
and madesrc/pages
Added an entry on
scripts/prepare.ts
so it would copy the directory and watch for changesthen updated the
vite.config.ts
with a new input entryI extended the Manifest interface since I needed
externally_connectable
andkey
like so onsrc/manifest.ts
Took less than 24 hours to get approved in the Chrome Store after the refactor from Manifest 2 👍🏼
Beta Was this translation helpful? Give feedback.
All reactions