Skip to content

Commit 91ba0cc

Browse files
committed
open test popup for click
1 parent 31720c8 commit 91ba0cc

File tree

9 files changed

+33
-10
lines changed

9 files changed

+33
-10
lines changed

icons/128x128.png

482 Bytes
Loading

icons/16x16.png

482 Bytes
Loading

icons/32x32.png

482 Bytes
Loading

icons/48x48.png

482 Bytes
Loading

index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>WebActivity Time Tracker</title>
6+
<link href="style/webact.css" rel="stylesheet"/>
7+
</head>
8+
<body>
9+
<p>test</p>
10+
</body>
11+
</html>

manifest.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,31 @@
22
"manifest_version": 2,
33

44
"name": "WebActivity Time Tracker",
5+
"short_name": "WebActivity",
56
"version": "0.0.1",
7+
8+
"minimum_chrome_version": "26",
9+
10+
"description": "A plain text description",
611

712
"icons": {
8-
"16": "16x16.png",
9-
"32": "32x32.png",
10-
"48": "48x48.png",
11-
"128": "128x128.png"
13+
"16": "icons/16x16.png",
14+
"32": "icons/32x32.png",
15+
"48": "icons/48x48.png",
16+
"128": "icons/128x128.png"
17+
},
18+
"permissions": [
19+
"tabs",
20+
"activeTab"
21+
],
22+
"background": {
23+
"scripts": ["scripts/background.js"],
24+
"persistent": false
1225
},
13-
"permissions": [
14-
15-
],
1626

1727
"browser_action": {
18-
"default_title": "Open WebActivity",
19-
"default_icon": "48x48.png",
20-
"default_popup": "popup.html"
28+
"default_popup": "index.html",
29+
"default_title": "WebActivity Time Tracker",
30+
"default_icon": "icons/48x48.png"
2131
}
2232
}

scripts/background.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
chrome.browserAction.onClicked.addListener(function () {
2+
});

scripts/webact.js

Whitespace-only changes.

style/webact.css

Whitespace-only changes.

0 commit comments

Comments
 (0)