Skip to content

Commit 4ea09f8

Browse files
android hashes (#361)
1 parent af05774 commit 4ea09f8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

js/elements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function get_element_keys(METRIC) {
9898
if ((data.reduce((a, c) => a + aExpected.includes(c), 0)) < aExpected.length) {isLies = true}
9999
if (isTB) {
100100
if ('android' == isOS) {
101-
// still awaiting android isTB
101+
if ('7766b529' == hash) {notation = tb_green}
102102
} else {
103103
// desktop
104104
if ('eb81553d' == hash) {notation = tb_green}

js/misc.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ function get_navigator_keys(METRIC) {
527527
if ('17ad3a75' == hash) {notation = tb_green} // 14 42
528528
} else {
529529
if ('android' == isOS) {
530-
// awaiting isTB android fix
530+
if ('adc88f1f' == hash) {notation = tb_green} // 14 42
531531
} else {
532532
if ('b9ee3d3d' == hash) {notation = tb_green} // 14 40
533533
}
@@ -721,13 +721,12 @@ function get_window_props(METRIC) {
721721
// on touch devices: 0 (all false) 1 or 2 (all true)
722722

723723
if (isMullvad) {
724-
// this is with webRTC: windows can just fail until it's added back in: diff 20x RTC*
725724
//if ('3240d823' == hash || 'ce268b01' == hash) {notation = tb_green} // MB14: 840 standard | 839 safer
726725
if ('e3d2df78' == hash || '2c04db16' == hash) {notation = tb_green} // MB14: #42767 offScreenCanvas disabled
727726

728727
} else {
729728
if (isOS == 'android') {
730-
// ToDo: we can't detect isTB on android
729+
if ('8835233b' == hash || '16ca79d9' == hash) {notation = tb_green} // TB14: #42767 offScreenCanvas disabled
731730
} else {
732731
//if ('5dc788bc' == hash || '9d354b5a' == hash) {notation = tb_green} // TB14: 817 standard | 816 safer
733732
if ('e0f2c491' == hash || 'beeaafef' == hash) {notation = tb_green} // TB14: #42767 offScreenCanvas disabled

0 commit comments

Comments
 (0)