File tree 5 files changed +60
-2344
lines changed 5 files changed +60
-2344
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ <h4 id="sectionname">General Settings</h4>
172
172
< tr > < td class ="col-sm-4 "> < label for ="useragentspoof " class ="i18_useragentspoof "> User-Agent Spoof:</ label > </ td > < td > < select id ="useragentspoof " class ="savechange form-control ">
173
173
< option value ="off " class ="i18_off "> -Off-</ option >
174
174
< option value ="custom " class ="i18_custom "> Custom</ option >
175
+ < option value ="chrome63 "> Chrome 63.0.3239.84</ option >
175
176
< option value ="chrome62 "> Chrome 62.0.3202.94</ option >
176
177
< option value ="chrome55 "> Chrome 55.0.2883.87</ option >
177
178
< option value ="chrome50 "> Chrome 50.0.2661.102</ option >
Original file line number Diff line number Diff line change 31
31
</ div >
32
32
< hr >
33
33
< div class ="panel panel-success ">
34
- < div class ="panel-heading "> < h3 > Updated to v< span id ="versionno "> </ span > ! (Tuesday, December 5 , 2017)</ h3 > </ div >
34
+ < div class ="panel-heading "> < h3 > Updated to v< span id ="versionno "> </ span > ! (Tuesday, December 12 , 2017)</ h3 > </ div >
35
35
< div class ="panel-body ">
36
36
< p > In this release you will find the following updates:</ p >
37
37
< ul >
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ function saveCheckbox(id) {
334
334
bkg . saveSetting ( id , document . getElementById ( id ) . checked ) ;
335
335
}
336
336
function saveElement ( id ) {
337
- bkg . saveSetting ( id , $ ( "#" + id ) . val ( ) . replace ( / \| / g, '' ) ) ;
337
+ bkg . saveSetting ( id , $ ( "#" + id ) . val ( ) . replace ( / [ ~ | ] / g, '' ) ) ;
338
338
}
339
339
function saveList ( id ) {
340
340
localStorage [ id ] = JSON . stringify ( $ ( "#" + id ) . val ( ) . split ( "\n" ) ) ;
@@ -499,7 +499,7 @@ function saveOptions() {
499
499
userAgents = userAgents . split ( "\n" ) ;
500
500
var sanitizedAgent ;
501
501
for ( var i = 0 , userAgentNum = userAgents . length ; i < userAgentNum ; i ++ ) {
502
- sanitizedAgent = $ . trim ( userAgents [ i ] . replace ( / \| / g, '' ) ) ;
502
+ sanitizedAgent = $ . trim ( userAgents [ i ] . replace ( / [ ~ | ] / g, '' ) ) ;
503
503
if ( sanitizedAgent ) validUserAgents . push ( sanitizedAgent ) ;
504
504
}
505
505
$ ( "#useragent" ) . val ( validUserAgents . join ( "\n" ) ) ;
Original file line number Diff line number Diff line change @@ -159,7 +159,9 @@ function genUserAgent(force) {
159
159
else if ( localStorage [ 'useragentspoof_os' ] == 'openbsd64' ) os = 'X11; U; OpenBSD i686' ;
160
160
else if ( localStorage [ 'useragentspoof_os' ] == 'openbsd32' ) os = 'X11; U; OpenBSD i686' ;
161
161
else if ( localStorage [ 'useragentspoof_os' ] == 'chromeos' ) os = 'X11; U; CrOS i686 0.13.507' ;
162
- if ( localStorage [ 'useragentspoof' ] == 'chrome62' )
162
+ if ( localStorage [ 'useragentspoof' ] == 'chrome63' )
163
+ userAgent = 'Mozilla/5.0 (' + os + ') AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36' ;
164
+ else if ( localStorage [ 'useragentspoof' ] == 'chrome62' )
163
165
userAgent = 'Mozilla/5.0 (' + os + ') AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36' ;
164
166
else if ( localStorage [ 'useragentspoof' ] == 'chrome55' )
165
167
userAgent = 'Mozilla/5.0 (' + os + ') AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36' ;
You can’t perform that action at this time.
0 commit comments