File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 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
2022var jq = document .createElement (' script' );
2123jq .src = " https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ;
2224document .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!
2630var gmail = Gmail ();
27- console . log ( gmail .get .user_email () );
31+ gmail .get .user_email ();
2832```
2933
3034
You can’t perform that action at this time.
0 commit comments