Live data from Hacker News

Extensionizr: Chrome extension boilerplate generator

extensionizr.com

21–28 of 28 posts

Re: Extensionizr: Chrome extension boilerplate generator

#23

Cool! I made https://github.com/mahemoff/chrome-boilerplate a couple of years ago and haven't had time to keep it up to date with the latest APIs. This is comprehensive and a slick UI too. Congrats.

Thanx Michael, as you can see, you are mentioned in the footer, because I took some things from your project as well.

Re: Extensionizr: Chrome extension boilerplate generator

#25
post #6

Are there any tools for building cross-browser extensions? What would be really useful is a tool that can help you build a Chrome extension, Firefox extension, and Safari Extension.

Hopefully, Navigator Extensions, NEX, will take off. http://my.opera.com/ODIN/blog/2013/07/30/introducing-nex

Re: Extensionizr: Chrome extension boilerplate generator

#26
Looks great!

One comment though, I would try to avoid building a whole JSON structure in the URL of GET, as in:

    http://extensionizr.com/!#{"modules":["hidden-mode","with-bg",
    "with-persistent-bg","with-custom-options","no-override","inject-css",
    "inject-js","omnibox","jquerymin","angular"],"boolean_perms":
    ["bookmarks","chrome://favicon/","clipboardRead","clipboardWrite",
    "contentSettings","contextMenus","cookies","fileBrowserHandler",
    "tts","ttsEngine","history","idle","management","notifications",
    "tabs","geolocation"],"match_ptrns":[]}
Rather, let one setup choices, and save it to a hash, which can be bookmark-able and retrieved later.

Also, when sending in post body, converting it to Base64 before sending on the wire, e.g.:

    btoa(JSON.stringify($Object))

Re: Extensionizr: Chrome extension boilerplate generator

#27
post #26

Looks great! One comment though, I would try to avoid building a whole JSON structure in the URL of GET, as in: http://extensionizr.com/!#{"modules":["hidden-mode","with-bg", "with-persistent-bg","with-custom-options","no-override","inject-css", "inject-js","omnibox","jquerymin","angular"],"boolean_perms": ["bookmarks","chrome://favicon/","clipboardRead","clipboardWrite", "contentSettings","contextMenus","cookies","f…

Thanx! Actually the long urls are indeed kinda suck, I think I'll just add a shortener. Having different setup choices can be problematic as there are a TON of settings to be customized

Re: Extensionizr: Chrome extension boilerplate generator

#28
post #9

I used this to start up an extension for use internally with my company for quickly adding discussions to a Basecamp project. Definitely takes care of a lot of the basics for you. Back when I used it, some pieces weren't maintained anymore, so look out for that. (Seems like the settings interface was from a non-active project?) Great way to get started on an extension. Would love to see this go cross-browser.

Thank you very much for the kind words. I really don't think I can ever take this to the cross-browser level though. Like the other commenters mentioned, crossrider guys do a good job at it.
Post reply on HN