File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ function get(path) {
111
111
return cf ;
112
112
}
113
113
} ) . open ( 'agents' ) . catch ( ( ) => cf ) . then ( cache => {
114
- const link = 'https://cdn.jsdelivr.net/gh/ray-lothian/UserAgent-Switcher/v3/data/popup/' + path ;
114
+ const link = 'https://cdn.jsdelivr.net/gh/ray-lothian/UserAgent-Switcher@latest /v3/data/popup/' + path ;
115
115
// updating agents once per 7 days
116
116
chrome . storage . local . get ( {
117
117
[ 'cache.' + path ] : 0
Original file line number Diff line number Diff line change 1
- // update prefs.ua from the managed storage or an external server
1
+ // update preferences from the managed storage or an external server
2
2
{
3
3
const configure = j => chrome . storage . local . get ( {
4
4
'json-guid' : 'na'
7
7
chrome . storage . local . set ( j ) ;
8
8
console . info ( 'preferences are updated by an admin' ) ;
9
9
}
10
- console . log ( prefs [ 'json-guid' ] , j [ 'json-guid' ] , j ) ;
11
10
} ) ;
12
11
13
12
const run = ( ) => {
Original file line number Diff line number Diff line change 1
1
{
2
2
"manifest_version" : 3 ,
3
3
"name" : " __MSG_extensionName__" ,
4
- "version" : " 0.6.0.3 " ,
4
+ "version" : " 0.6.1 " ,
5
5
"default_locale" : " en" ,
6
6
"description" : " __MSG_extensionDescription__" ,
7
7
"permissions" : [
You can’t perform that action at this time.
0 commit comments