Browse Source

updating default UA strings

pull/2/head
gorhill 10 years ago
parent
commit
8e7ae17b5c
  1. 21
      src/js/background.js

21
src/js/background.js

@ -36,16 +36,15 @@ var oneDay = 24 * oneHour;
var defaultUserAgentStrings = [ var defaultUserAgentStrings = [
'# http://www.useragentstring.com/pages/Chrome/', '# http://www.useragentstring.com/pages/Chrome/',
'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.67 Safari/537.36',
'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.67 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1944.0 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.47 Safari/537.36'
];
var getDefaultUserAgentStrings = function() {
return defaultUserAgentStrings.join('\n');
};
'# http://techblog.willshouse.com/2012/01/03/most-common-user-agents/',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36'
].join('\n');
/******************************************************************************/ /******************************************************************************/
@ -74,7 +73,7 @@ return {
smartAutoReload: 'current', smartAutoReload: 'current',
spoofUserAgent: false, spoofUserAgent: false,
spoofUserAgentEvery: 5, spoofUserAgentEvery: 5,
spoofUserAgentWith: getDefaultUserAgentStrings(),
spoofUserAgentWith: defaultUserAgentStrings,
statsFilters: {}, statsFilters: {},
subframeColor: '#cc0000', subframeColor: '#cc0000',
subframeOpacity: 100 subframeOpacity: 100

Loading…
Cancel
Save