File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 33
44 "name" : " Web Activity Time Tracker" ,
55 "short_name" : " Web Time Tracker" ,
6- "version" : " 0.8.5 " ,
6+ "version" : " 0.8.6 " ,
77 "minimum_chrome_version" : " 26" ,
88
99 "description" : " Track and limit time your activity in the browser." ,
2626 " unlimitedStorage"
2727 ],
2828 "optional_permissions" : [
29- " http://*/*" ,
30- " https://*/*"
29+ " https://www.youtube.com/*"
3130 ],
3231 "offline_enabled" : true ,
3332 "background" : {
Original file line number Diff line number Diff line change 8484 < div class ="margin-top-10 ">
8585 < label class ="block "> Web Activity Time Tracker tracks your activity, if you active in browser (mouse
8686 or keyboard).
87- In order for the extension to also track when you watch a video, you must grant permissions to
87+ In order for the extension to also track when you watch a video on YouTube.com , you must grant permissions to
8888 access the sites.
8989 It is necessary that extension will get access to DOM (Document Object Model).</ label >
9090 < input class ="margin-top-10 " type ="button " value ="Grant permission " id ='grantPermission '>
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ function viewBlackList(items) {
114114function grantPermission ( ) {
115115 chrome . permissions . request ( {
116116 permissions : [ 'tabs' ] ,
117- origins : [ "http://*/*" , " https://* /*"]
117+ origins : [ "https://www.youtube.com /*" ]
118118 } , function ( granted ) {
119119 // The callback argument will be true if the user granted the permissions.
120120 if ( granted ) {
You can’t perform that action at this time.
0 commit comments