If I write something im gonna do it here #182
Replies: 9 comments 24 replies
-
Also is there a good way to tell if a context-script is run in Firefox or in chrome except from the user agent? |
Beta Was this translation helpful? Give feedback.
-
We already have this package in |
Beta Was this translation helpful? Give feedback.
-
I finished migrating all the content scripts and the action popup. Btw. I added a checkStoreReady function to wait for the fetched keys from the localstorage because it will use the default values otherwise(which is not really the point of a store), should I add this to your repo, it is not allways necessary depending how this is handled by each application? |
Beta Was this translation helpful? Give feedback.
-
hmm I am trying to replace the manifest v3 in the build folder with v2 because otherwise @crxjs/vite-plugin will throw an error |
Beta Was this translation helpful? Give feedback.
-
@mubaidr I tested everything on Firefox and everything works now, apart from phone I might test that later. |
Beta Was this translation helpful? Give feedback.
-
Is the background permission required, no right? |
Beta Was this translation helpful? Give feedback.
-
I am testing the iframe and I got it working, I additionally had to define my index file in web_accesible_recources. I tested everything except mobile and everything seems to be finished now. |
Beta Was this translation helpful? Give feedback.
-
Uploaded new version to firefox and chrome: |
Beta Was this translation helpful? Give feedback.
-
Thanks @Dreamlinerm for sharing your journey, learned a lot of things from your experience. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
You should add the webextension-polyfill types for typescript
https://www.npmjs.com/package/@types/webextension-polyfill
pnpm install --save @types/webextension-polyfill
Beta Was this translation helpful? Give feedback.
All reactions