12 Commits
Author SHA1 Message Date
David Todd 920bdc3fb8 Remove Builds/ and Website/
Avi can add them again using the power of git :3

Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 22:38:27 -05:00
David Todd f93eb7dd7a Update gitignore
Builds/ and Website/ are lame :3

Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 22:36:39 -05:00
David Todd ef606d89bb Fix getting improper response
Define the API method as GET
JSON.parse is now parsing the response child of the request instead of the whole request object - This kept failing the script after getting response from server
Add a fail scenario when a link fails testURL
encode URIs to prevent "interesting" server-side URI mangling

Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 22:29:09 -05:00
David Todd ce51fc203e Add background.js
This is the main code of the extension. Most of the main functions are in here.
This should also be close to the final result of what the code will look like

Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 21:39:25 -05:00
David Todd fd0c3d9dbc Fix manifest.json
For some reason chrome.tabs.get is failing with an undefined method error,
this should fix the permissions... hopefully

Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 21:38:02 -05:00
David Todd 720fcd78a5 Remove browser_action
This contained jQuery, popup.js, browser_action.html
We don't need a large library like jQuery when native functions work
popups are a thing of the past :3
browser_action was just popup.html renamed, not needed either

Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 21:16:05 -05:00
David Todd 01d2275d91 Add js/contextmenu.js
This javascript file uses chrome's API to add one or two context menu entries.
Most of the time, the shortenFile will not be called, but it is available

Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 20:53:35 -05:00
David Todd 1e1f4104b7 Add background.html
Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 20:51:06 -05:00
David Todd d6fd7a509d Update manifest.json
This makes it look a little bit nicer instead of rendering everything into a bland popup

Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 20:46:19 -05:00
David Todd 714bee9ba1 Update README.md to fix line endings
Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 20:37:42 -05:00
David Todd 99a57bf6cf Update README.md File to show what project is
Signed-off-by: David Todd <c0de@unps.us>
2015-03-13 20:35:17 -05:00
David Todd ea9e72ec3a Add GitIgnore, remove IDE config files 2015-03-13 20:15:53 -05:00