Avi
Explore posts from serversPD🧩 Plasmo Developers
•Created by Avi on 9/21/2024 in #🔰newbie
Adding alias
To introduce a "types" library that is shared between the back end front (extension), I created
root/types-lib/
which contains
when I tried to configure it in the extension's tsconfig.json
, I ended up with
but I end up with
6 replies
PD🧩 Plasmo Developers
•Created by Avi on 5/11/2024 in #👟framework
Dynamically load script
Based on https://docs.plasmo.com/quickstarts/with-google-analytics , I should be able to load https://developers.google.com/maps/documentation/javascript/examples/place-search#maps_place_search-typescript as well
I tied to do it in a CSUI Svelte component:
32 replies
PD🧩 Plasmo Developers
•Created by Avi on 4/15/2024 in #🔰newbie
plasmo build --zip vs web-ext build
What's the difference?
https://extensionworkshop.com/documentation/develop/web-ext-command-reference#web-ext-build
2 replies
PD🧩 Plasmo Developers
•Created by Avi on 3/28/2024 in #👟framework
Flutter support
It would be interesting to see Plasmo supporting Flutter natively
2 replies
PD🧩 Plasmo Developers
•Created by Avi on 3/8/2024 in #👟framework
Firefox dev server manifest warnings
2 replies
PD🧩 Plasmo Developers
•Created by Avi on 3/6/2024 in #👟framework
Parallel dev servers
I need to both run
plasmo dev --verbose
and plasmo dev --verbose --target=firefox-mv3
, but when I run the latter I get
13 replies
PD🧩 Plasmo Developers
•Created by Avi on 1/6/2024 in #🔰newbie
Payments with Google Pay
How do I integrate it?
3 replies
PD🧩 Plasmo Developers
•Created by Avi on 12/20/2023 in #👟framework
Google Analytics 4
Update the https://docs.plasmo.com/quickstarts/with-google-analytics to be using https://developer.chrome.com/docs/extensions/how-to/integrate/google-analytics-4#toc-requirements
6 replies
PD🧩 Plasmo Developers
•Created by Avi on 12/18/2023 in #👟framework
Hot swap Svelte components
7 replies
PD🧩 Plasmo Developers
•Created by Avi on 12/7/2023 in #👟framework
Svelte CSUI behaving unexpectedly
The CSUI contains both
<script lang="ts">
and <script lang="ts" context="module">
Suppose I have
As far as I've tried, every time the state within the container where the injected CSUI gets updated, (in my case, pressing like/dislike), the CSUI script re-runs as if it's being remounted6 replies
PD🧩 Plasmo Developers
•Created by Avi on 10/24/2023 in #🔰newbie
How to load SVG in CSS
In the docs I found https://docs.plasmo.com/framework/import
So I did
but it resolves to
rather than
8 replies
PD🧩 Plasmo Developers
•Created by Avi on 10/23/2023 in #👟framework
Losing styles when injecting popup component in CSUI
15 replies
PD🧩 Plasmo Developers
•Created by Avi on 10/14/2023 in #👟framework
Fails to load source maps
8 replies
PD🧩 Plasmo Developers
•Created by Avi on 10/1/2023 in #👟framework
Plasmo's dev server doesn't always properly watch for file changes
Suppose I run
plasmo dev --target=firefox-mv2
I tried to modify https://github.com/avi12/youtube-auto-hd/blob/main/src/popup/components/PromotionLinks.svelte but did not see any change in the dev server
Plasmo version: 0.83.02 replies
PD🧩 Plasmo Developers
•Created by Avi on 9/29/2023 in #👟framework
Plasmo crashes when debugging on Firefox for Android
I'm trying to simultaneously run a Firefox debug session via
web-ext run --target=firefox-android
and run plasmo dev --target=firefox-mv2
When I modify a script, often I get:
3 replies
PD🧩 Plasmo Developers
•Created by Avi on 9/29/2023 in #👟framework
Additional permissions for development vs production
Considering that I'm working on an ext that will also have a backend, it makes a lot of sense for Plasmo to automatically set the final
host_permissions
with the proper hostnames
I.e. during development I will have
while in production:
4 replies
PD🧩 Plasmo Developers
•Created by Avi on 8/2/2023 in #👟framework
Cannot read property of null (reading '__plasmo_full_reload__')
4 replies
PD🧩 Plasmo Developers
•Created by Avi on 7/30/2023 in #🔰newbie
Browser-agnostic Google OAuth 2
I need to allow the user to log in with his Google account, regardless of the browser he's using. I'm not using Firebase BTW
The issue is that Google's documentation (https://developer.chrome.com/docs/extensions/mv3/tut_oauth/#identity_permission) is not relevant to Edge, since Edge only allows https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/identity/launchWebAuthFlow
What am I missing?
3 replies
PD🧩 Plasmo Developers
•Created by Avi on 7/9/2023 in #👟framework
"No supported UI library found" for Svelte 3
It works for Svelte 4 but not Svelte 3 🤨
Plasmo version is 0.77.5
7 replies
PD🧩 Plasmo Developers
•Created by Avi on 6/4/2023 in #👟framework
Unstable Firefox dev server
45 replies