11{
2- "manifest_version" : 2 ,
3-
4- "name" : " Web Activity Time Tracker" ,
5- "short_name" : " Web Time Tracker" ,
6- "version" : " 1.5.4" ,
7- "minimum_chrome_version" : " 26" ,
2+ "manifest_version" : 2 ,
83
9- "description" : " Track and limit time your activity in the browser every day." ,
4+ "name" : " Web Activity Time Tracker" ,
5+ "short_name" : " Web Time Tracker" ,
6+ "version" : " 1.5.4" ,
7+ "minimum_chrome_version" : " 26" ,
108
11- "options_page" : " options.html" ,
12-
13- "icons" : {
14- "16" : " icons/16x16.png" ,
15- "32" : " icons/32x32.png" ,
16- "48" : " icons/48x48.png" ,
17- "128" : " icons/128x128.png"
18- },
19- "permissions" : [
20- " tabs" ,
21- " activeTab" ,
22- " storage" ,
23- " idle" ,
24- " chrome://favicon/*" ,
25- " webNavigation" ,
26- " unlimitedStorage"
27- ],
28- "optional_permissions" : [
29- " https://www.youtube.com/*" ,
30- " https://www.netflix.com/*" ,
31- " notifications"
32- ],
33- "offline_enabled" : true ,
34- "background" : {
35- "scripts" : [" scripts/common.js" ,
36- " scripts/storage.js" ,
37- " scripts/activity.js" ,
38- " scripts/tab.js" ,
39- " scripts/timeInterval.js" ,
40- " scripts/background.js" ,
41- " scripts/restriction.js" ],
9+ "description" : " Track and limit time your activity in the browser every day." ,
10+
11+ "options_page" : " options.html" ,
12+
13+ "icons" : {
14+ "16" : " icons/16x16.png" ,
15+ "32" : " icons/32x32.png" ,
16+ "48" : " icons/48x48.png" ,
17+ "128" : " icons/128x128.png"
18+ },
19+ "permissions" : [
20+ " tabs" ,
21+ " activeTab" ,
22+ " storage" ,
23+ " idle" ,
24+ " chrome://favicon/*" ,
25+ " webNavigation" ,
26+ " unlimitedStorage"
27+ ],
28+ "optional_permissions" : [
29+ " https://www.youtube.com/*" ,
30+ " https://www.netflix.com/*" ,
31+ " notifications"
32+ ],
33+ "offline_enabled" : true ,
34+ "background" : {
35+ "scripts" : [" scripts/common.js" ,
36+ " scripts/storage.js" ,
37+ " scripts/activity.js" ,
38+ " scripts/tab.js" ,
39+ " scripts/timeInterval.js" ,
40+ " scripts/background.js" ,
41+ " scripts/restriction.js" ],
4242 "persistent" : false
43- },
44- "browser_action" : {
45- "default_popup" : " index.html" ,
46- "default_title" : " Web Activity Time Tracker" ,
47- "default_icon" : " icons/48x48.png"
43+ },
44+ "content_scripts" : [
45+ {
46+ "matches" : [" https://*.youtube.com/*" ],
47+ "css" : [" style/content.css" ],
48+ "js" : [" scripts/content.js" ]
4849 }
49- }
50+ ],
51+ "browser_action" : {
52+ "default_popup" : " index.html" ,
53+ "default_title" : " Web Activity Time Tracker" ,
54+ "default_icon" : " icons/48x48.png"
55+ }
56+ }
0 commit comments