How to use content script with react

674 views
Skip to first unread message

Dunsin

unread,
Aug 20, 2023, 3:12:12 PM8/20/23
to Chromium Extensions
I'm having troubles using content script with react as importing doesn't work i ended up using just plain typescript but then again the problem of not being able to import anything is still a problem

Pawel Kacprzak

unread,
Aug 20, 2023, 3:16:09 PM8/20/23
to Dunsin, Chromium Extensions

niedz., 20 sie 2023 o 21:12 Dunsin <jesudun...@gmail.com> napisał(a):
I'm having troubles using content script with react as importing doesn't work i ended up using just plain typescript but then again the problem of not being able to import anything is still a problem

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/9e0ae0b6-3014-4584-aef4-08903c58c833n%40chromium.org.

Jackie Han

unread,
Aug 20, 2023, 3:28:54 PM8/20/23
to Pawel Kacprzak, Dunsin, Chromium Extensions

Dunsin

unread,
Aug 25, 2023, 6:32:20 AM8/25/23
to Chromium Extensions, Pawel Kacprzak, Chromium Extensions, Dunsin
No I used this one instead https://github.com/WebExp0528/React-Extension-Boilerplate do you suggest i use the one you suggested, i saw it when i was looking for a boilerplate, but it didn't have webextension-polyfill implemented. What would the difference in them be? like the benefits

Dunsin

unread,
Aug 25, 2023, 6:34:18 AM8/25/23
to Chromium Extensions, Dunsin, Pawel Kacprzak, Chromium Extensions

Also it uses typescript

Dunsin

unread,
Aug 25, 2023, 6:41:29 AM8/25/23
to Chromium Extensions, Jackie Han, Dunsin, Chromium Extensions, Pawel Kacprzak
Hi, i checked tis out and it looks like different types of issues: use_dynamic_url option for web-accessible resources not working

Jackie Han

unread,
Aug 25, 2023, 12:24:46 PM8/25/23
to Dunsin, Chromium Extensions, Pawel Kacprzak
i checked tis out and it looks like different types of issues: use_dynamic_url option for web-accessible resources not working

Just don't use "use_dynamic_url" at the moment because it has not been shipped yet.
Reply all
Reply to author
Forward
0 new messages