|
|
|
|
|
by pharkle
4051 days ago
|
|
Alex here (OL founder), we whipped this up as an experiment this week, so would love any feedback. I hadn't created a Chrome extension before and the docs were really out of date in places, I didn't find a lot of guidance out there outside from the samples Google has up. We ended up putting most of the logic into a library file (main.js) that can be loaded up and either: run by the extension, run by the test suite, or minified and exported to a bookmarklet. I was pretty happy with this solution, take a look at the source if you're building an extension and looking for ideas on how to organize it. The bookmarklet version (works on all browsers) is available here: https://www.openlistings.co/extensions |
|