Permalink
Browse files

add icons, analytics for chrome store

  • Loading branch information...
1 parent f9a008b commit 7f7666e9068d6dab158574dba1b5a18562b701ce @presbrey presbrey committed Jan 23, 2013
View
@@ -131,11 +131,11 @@ server = new Server
setEnabled = ->
enabled = !enabled
if enabled
- chrome.browserAction.setIcon
- path: 'rdf_flyer.48-color.gif'
+ chrome.browserAction.setBadgeText
+ text: ''
else
- chrome.browserAction.setIcon
- path: 'rdf_flyer.48-gray.gif'
+ chrome.browserAction.setBadgeText
+ text: 'OFF'
chrome.extension.onMessage.addListener (message, sender, respond) ->
if message.method in ['disable', 'enable']
View
8 ga.js
@@ -0,0 +1,8 @@
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-37902434-1']);
+_gaq.push(['_trackPageview']);
+(function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = 'https://ssl.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
View
@@ -1,25 +1,25 @@
{
- "background": { "scripts": ["background.js"] },
+ "background": { "scripts": ["background.js", "ga.js"] },
"content_security_policy": "script-src 'self' https://; object-src 'self'",
"description": "Linked Data Browser",
"icons": {
- "48": "rdf_flyer.48-color.gif"
+ "128": "rdf_flyer.128-color.png",
+ "48": "rdf_flyer.48-color.png"
},
"manifest_version": 2,
"name": "Tabulator",
"browser_action": {
- "default_icon": "rdf_flyer.48-color.gif",
+ "default_icon": "rdf_flyer.128-color.png",
"default_popup": "popup.html",
"default_title": "Linked Data Browser"
},
"permissions": [
- "file:///*",
"http://*/*",
"https://*/*",
"unlimitedStorage",
"webRequest",
"webRequestBlocking"
],
- "version": "0.0",
+ "version": "0.0.0.0",
"web_accessible_resources": ["skin.html"]
}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Deleted file not rendered
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Deleted file not rendered

0 comments on commit 7f7666e

Please sign in to comment.