Skip to content

Commit

Permalink
v2.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramtamtam committed Jul 17, 2020
1 parent e376b99 commit d38e620
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v2.2.13

### Changed

- Update of user agent versions
- Console message with faked user-agent is disabled

## v2.2.12

### Changed
Expand Down
10 changes: 5 additions & 5 deletions extension/js/UAGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ var UAGenerator = function() {
},
applewebkit: ['AppleWebKit/(60[1-5]\\.[1-7]\\.[1-8])', 'AppleWebKit/(53[5-8]\\.[1-2][0-9]\\.[1-3][0-9])'],
browsers_versions: {
chrome: ['(81\\.0\\.4404|80\\.0\\.3987|79\\.0\\.3945)\\.(?:[89]\\d|1[0-4]{2})'],
safari: ['1[12]\\.[0-1]\\.[1-5]'],
firefox: ['7[345]\\.[01]'],
opera: ['5[345]\\.[0-3]\\.2[1-3][0-9][0-9]\\.([1-2]|)[1-9][0-9]'],
edge: ['Chrome/81\\.0\\.4044\\.117 Safari/537\\.36 Edg/8[01]\\.17763', 'Chrome/81\\.0\\.4044\\.129 Safari/537\\.36 Edg/8[01]\\.0\\.416\\.68']
chrome: ['(84\\.0\\.4147|83\\.0\\.4103|81\\.0\\.4044)\\.(?:[89]\\d|1[0-4]{2})'],
safari: ['1[23]\\.[0-1]\\.[1-3]'],
firefox: ['8[23456]\\.[01]'],
opera: ['6[6789]\\.[0-3]\\.2[1-3][0-9][0-9]\\.([1-2]|)[1-9][0-9]'],
edge: ['Chrome/84\\.0\\.4147\\.89 Safari/537\\.36 Edg/8[23]\\.17763', 'Chrome/83\\.0\\.4103\\.116 Safari/537\\.36 Edg/8[23]\\.0\\.416\\.68']
}
};

Expand Down
4 changes: 2 additions & 2 deletions extension/js/inject/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if (typeof browser == 'undefined')
if (js_protection_enabled === true) {
if (typeof useragent === 'string' && useragent !== '') {
if (uri_match === false) {
consoleMessage('Use fake User-Agent: ' + useragent);
//consoleMessage('Use fake User-Agent: ' + useragent);
var injection_code = '(' + function(new_useragent) {
if (typeof window === 'object' && typeof window.navigator === 'object') {
navigator = Object.create(window.navigator);
Expand All @@ -65,7 +65,7 @@ if (typeof browser == 'undefined')
}
}
} else {
consoleMessage('User-Agent JavaScript protection disabled!');
//consoleMessage('User-Agent JavaScript protection disabled!');
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "github.com/tarampampam",

"default_locale": "en",
"version": "2.2.12",
"version": "2.2.13",

"icons": {
"16": "/img/16x16.png",
Expand Down

0 comments on commit d38e620

Please sign in to comment.