Skip to content

Commit

Permalink
Merge pull request #5647 from freedomofpress/5626-update-osx-ua-check
Browse files Browse the repository at this point in the history
Updated Tor Browser UA matches to include recent MacOS versions
  • Loading branch information
emkll authored Nov 25, 2020
2 parents 5e5baa8 + da94560 commit 95f0d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop/static/js/source.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const TBB_UA_REGEX = /Mozilla\/5\.0 \((Windows NT 10\.0|X11; Linux x86_64|Macintosh; Intel Mac OS X 10\.14|Windows NT 10\.0; Win64; x64); rv:[0-9]{2}\.0\) Gecko\/20100101 Firefox\/([0-9]{2})\.0/;
const TBB_UA_REGEX = /Mozilla\/5\.0 \((Windows NT 10\.0|X11; Linux x86_64|Macintosh; Intel Mac OS X 10\.[0-9]{2}|Windows NT 10\.0; Win64; x64|Android; Mobile); rv:[0-9]{2}\.0\) Gecko\/20100101 Firefox\/([0-9]{2})\.0/
const ORFOX_UA_REGEX = /Mozilla\/5\.0 \(Android; Mobile; rv:[0-9]{2}\.0\) Gecko\/20100101 Firefox\/([0-9]{2})\.0/;

function fadeIn(el, duration = 200, displayStyle = "block") {
Expand Down

0 comments on commit 95f0d7e

Please sign in to comment.