-
Notifications
You must be signed in to change notification settings - Fork 82
/
README
43 lines (29 loc) · 1.72 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
This is a boilerplate for Chrome app, extension, and theme development. It
should be easy enough to get started even if you've never built a Chrome
extension before by following the INSTALLATION notes.
Most of the boilerplate is scribbed together from the docs at
http://code.google.com/chrome/extensions and the icons auto-generated at
http://faviconist.com. It's all MIT-licensed.
INSTALLATION
The boilerplate works out of the box, so start by installing it in Chrome:
- git clone git://github.com/mahemoff/chrome-boilerplate.git my-project-name
- Visit chrome://extensions and expand "Development mode" (top right).
- Choose "Load unpacked extension ..." and point to the new project directory.
- It's installed! You should see a new button in your address bar. Click it!
CUSTOMIZATION
By default, most things are commented out - uncomment them to make them active.
UI Exposure:
Your extension can be an app, an action (address bar popup), or a theme,
but it can only be one of these. Or if it does other stuff, maybe it won't
do any at all. So at most only one of these can be uncommented.
Permissions:
For convenience, these are mostly selected by default (except "experimental",
as it requires you run Chrome with a special flag). Be sure to comment out
what you don't need - i.e., most of them - before distributing your extension.
Locales:
A basic locale setup is included, with English declared as the default
language. This won't do any harm even if you're not planning to localize your app.
WHO MADE THIS?
Michael Mahemoff (http://mahemoff.com). I was previously working in Google's
Chrome team, but am no longer at Google and this is not an official
Google/Chrome project.