I don't know too much about chrome extensions, but...
# kobweb
m
I don't know too much about chrome extensions, but can kobweb used to build one?
👍 1
d
I successfully created a project as a test to make a working chrome extension, yes
Unfortunately I bailed due to the unpleasant experience of publishing a chrome extension, because even just for internal testing purposes constrained to a limited set of a few emails (my own and my wife's, actually!), it was so extremely difficult.
You should be prepared to have all sorts of digital forms filled out for them. It's pretty extensive. At one point I got it working, and then I tried to push out an update like two months later, and some new rules had come up and they rejected it -- even though, as I said, it was an internal build meant only for testing.
Note that this was for the type of Chrome extension where you click on a button and a window pops up. If you're trying to build an extension where you hook into existing page's elements, that's probably not a job for Kobweb, but you could probably still use Kotlin/JS for that.
If you look through any of their tutorials, you'll see that ultimately you need to provide a
.js
and an
.html
file. Kobweb and Kotlin/JS both produce a
.js
file and Kobweb produces an
.html
file, so that's the basics for how to think about hooking things up.
If you're still committed to trying, I guess take a look at https://developer.chrome.com/docs/extensions/get-started/tutorial/hello-world to become familiar with their project organization.
If you spend time on it, ping me and I can help you get set up; just make sure to go through a tutorial first. I highly recommend you look into the steps needed to publish a full extension on the Chrome Store because it is a lot and you're at the whims of a giant, opaque system. (Compared to, say, just creating a website and hosting it somewhere, where you're in control and the turnaround time for updates is less than a minute)
thank you color 1
👍 1
m
Thanks for the detailed answer, I will give it a try and let you know how it goes.
👍 1