Skip to content

Commit 21471aa

Browse files
committed
Added example image and updated quick-start
1 parent cb24600 commit 21471aa

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,28 @@
77
- Most of them dont take arguments, they work on what is currently visible on the screen
88
- I still need to add implementation for chrome extension, works by injecting js for now
99
- Main method is **`gmail.observe.on('lots_of_actions_here', yourFunction())`**
10-
- Click on a summary method link to view more detailed docss
10+
- Click on a summary method link to view more detailed docs
1111

1212

1313
## Setup
1414

15-
Inject jQuery to Gmail (open console and paste this) and initialize `gmail.js`
1615

17-
#### Quick Usage Installation
16+
#### Quick Usage - Chrome Console
17+
18+
![](https://f.cloud.github.com/assets/461702/1628984/83ddb250-5728-11e3-9dbc-70a13c2becb0.JPG)
1819

1920
```js
21+
// {inject jquery.js} by copy pasting this in your console
2022
var jq = document.createElement('script');
2123
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";
2224
document.getElementsByTagName('body')[0].appendChild(jq);
2325

2426
// {inject gmail.js} by copy pasting gmail.js contents or via url like jquery above
27+
// var Gmail = {.....} // paste gmail.js code here
2528

29+
// start using!
2630
var gmail = Gmail();
27-
console.log(gmail.get.user_email());
31+
gmail.get.user_email();
2832
```
2933

3034

0 commit comments

Comments
 (0)