1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 05:02:45 +01:00

exclude fxios from fxPromo banner. fixes #753

This commit is contained in:
Danny Coates 2018-02-15 11:49:41 -08:00
parent 18df43c9cb
commit 3163edcbe4
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB

View File

@ -18,7 +18,7 @@ const experiments = {
},
eligible: function() {
return (
!/firefox/i.test(navigator.userAgent) &&
!/firefox|fxios/i.test(navigator.userAgent) &&
document.querySelector('html').lang === 'en-US'
);
},