|
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 3 | +<head> |
| 4 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 5 | + <title>TZP: Extras</title> |
| 6 | + <link rel="stylesheet" type="text/css" href="css/index.css"> |
| 7 | + <script src="js/generic.js"></script> |
| 8 | + <script src="js/globals.js"></script> |
| 9 | +</head> |
| 10 | + |
| 11 | +<body> |
| 12 | + <!-- offscreen --> |
| 13 | + <div class="offscreen"> |
| 14 | + <div><span id="fontFBTest" style='white-space: nowrap; font-family: fontFallback;'></span></div> |
| 15 | + <div><img id="imageTest" src=""></div> |
| 16 | + </div> |
| 17 | + <!-- hidden --> |
| 18 | + <div class="hidden"> |
| 19 | + <div> |
| 20 | + <iframe id="iframeTest"></iframe> |
| 21 | + <form><input id="appLang_1" required="" type="text"></form> |
| 22 | + <iframe id="appLang_2"></iframe> |
| 23 | + <iframe id="appLang_3"></iframe> |
| 24 | + <iframe id="appLang_4"></iframe> |
| 25 | + </div> |
| 26 | + </div> |
| 27 | + |
| 28 | + <table> |
| 29 | + <tr><td><a anchor="top"><h2>TorZillaPrint: Extra Tests</h2></td></tr> |
| 30 | + <tr><td class="blurb"><a class="blue" href="tzp.html">return to the main test</a></td></tr> |
| 31 | + </table> |
| 32 | + |
| 33 | + <!-- screen.js --> |
| 34 | + <table id="tb1"> |
| 35 | + <col width="37%"><col width="73%"> |
| 36 | + <thead><tr><th colspan="2">screen</th></tr></thead> |
| 37 | + <tr><td><div class="btn-left"><button class="btn1 btn" onClick="outputScreen()">[ reset ]</button></div> |
| 38 | + [clientRect] devicePixelRatio <sup>1</sup></td><td class="c mono" id="dprclientRect"></td></tr> |
| 39 | + <tr><td>[scrollY] devicePixelRatio <sup>1</sup></td><td class="c" id="dprscrollY"></td></tr> |
| 40 | + <tr><td colspan="2"><span class="no_color">code based on work by </span> |
| 41 | + <a target="_blank" class="blue" href="https://acatarineu.github.io/fp/devicePixelRatio.html">Alex Catarineu</a> <sup>1</sup> |
| 42 | + </td></tr> |
| 43 | + </table> |
| 44 | + |
| 45 | + <!-- resource:// --> |
| 46 | + <table id="tb2"> |
| 47 | + <col width="37%"></a><col width="63%"> |
| 48 | + <thead><tr><th colspan="2">[tor browser] chrome:// & resource://</th></tr></thead> |
| 49 | + <tr><td><div> |
| 50 | + <div class="btn-left"><button class="btn2 btn" id="resourceRun" onClick="outputResource()">[ run tests ]</button></div> |
| 51 | + <div>images</div></div></td> |
| 52 | + <td class="c mono" id="imgHashR"></td></tr> |
| 53 | + <tr><td>js</td><td class="c mono" id="jsHashR"></td></tr> |
| 54 | + <tr><td>css</td><td class="c mono" id="cssHashR"></td></tr> |
| 55 | + <tr><td>combined</td></td><td class="c mono" id="allHashR"></td></tr> |
| 56 | + <tr><td colspan="2" class="showhide"> |
| 57 | + <input id="collapseR" class="toggle" type="checkbox" checked onchange="toggleitems(this, `R`)"> |
| 58 | + <label for="collapseR" class="lbl-toggle" id="labelR">▼ show details</label> |
| 59 | + </td></tr> |
| 60 | + <tr class="togR"> |
| 61 | + <td><button class="btn0 btn" onClick="copyclip(`allLoadedR`)">[ copy to clipboard ]</button>results</td> |
| 62 | + <td class="c" id="allLoadedR"></td> |
| 63 | + </tr> |
| 64 | + </table> |
| 65 | + |
| 66 | + <!-- chrome:// --> |
| 67 | + <table id="tb3"> |
| 68 | + <col width="37%"></a><col width="63%"> |
| 69 | + <thead><tr><th colspan="2">chrome://</th></tr></thead> |
| 70 | + <tr><td colspan="2" class="intro"><span class="no_color">The <code>chrome://</code> list from |
| 71 | + <a target="_blank" class="blue" href="https://privacycheck.sec.lrz.de/index.html">privacycheck.sec.lrz.de</a> was created from |
| 72 | + all Firefox 10-62 releases, for Windows/Linux/Mac, and does not include any new resources which may be present in subsequent |
| 73 | + releases. This test removed one item, <code>chrome://global/content/minimal-xul.css</code>, for stability purposes on this site.</span> |
| 74 | + </td></tr> |
| 75 | + <tr><td><div> |
| 76 | + <div class="btn-left"><button class="btn3 btn" id="chromeRun" onClick="outputSection(`3`, `c`, `e`)">[ run tests ]</button></div> |
| 77 | + <div>images</div></div></td> |
| 78 | + <td class="c mono" id="imgHash"></td></tr> |
| 79 | + <tr><td>js</td><td class="c mono" id="jsHash"></td></tr> |
| 80 | + <tr><td>css</td><td class="c mono" id="cssHash"></td></tr> |
| 81 | + <tr><td>combined</td></td><td class="c mono" id="allHash"></td></tr> |
| 82 | + <tr><td colspan="2" class="showhide"> |
| 83 | + <input id="collapseC" class="toggle" type="checkbox" checked onchange="toggleitems(this, `C`)"> |
| 84 | + <label for="collapseC" class="lbl-toggle" id="labelC">▼ show details</label> |
| 85 | + </td></tr> |
| 86 | + <tr class="togC"> |
| 87 | + <td><button class="btn0 btn" onClick="copyclip(`allLoaded`)">[ copy to clipboard ]</button>[alphabetically sorted] all</td> |
| 88 | + <td class="c" id="allLoaded"></td> |
| 89 | + </tr> |
| 90 | + <tr class="togC"><td colspan="2"></td></tr> |
| 91 | + <tr><td colspan="2"><span class="no_color">chrome:// code based on work by </span> |
| 92 | + <a target="_blank" class="blue" href="https://privacycheck.sec.lrz.de/index.html">privacycheck.sec.lrz.de</a></td></tr> |
| 93 | + </table> |
| 94 | + |
| 95 | + <!-- app lang --> |
| 96 | + <table id="tb4"> |
| 97 | + <col width="37%"></a><col width="63%"> |
| 98 | + <thead><tr><th colspan="2">application language</th></tr></thead> |
| 99 | + <tr><td><div> |
| 100 | + <div class="btn-left"><button class="btn4 btn" onClick="outputSection(`4`, `c2`, `e`)">[ run tests ]</button></div> |
| 101 | + <div>dtd <sup>1</sup></div></div></td><td class="c2" id="appLang2"></td></tr> |
| 102 | + <tr><td>dtd nullprinciple <sup>2</sup></td><td class="c2" id="appLang3"></td></tr> |
| 103 | + <tr><td>dom.properties <sup>3</sup></td><td class="c2" id="appLang1"></td></tr> |
| 104 | + <tr><td>MediaDocument.properties <sup>3</sup></td><td class="c2" id="appLang4"></td></tr> |
| 105 | + <tr><td>xmlparser.properties <sup>3</sup></td><td class="c2" id="appLang5"></td></tr> |
| 106 | + <tr><td colspan="2"></td></tr> |
| 107 | + <!--credits--> |
| 108 | + <tr><td colspan="2"><span class="no_color">app language code based on work by Alex Catarineu </span> |
| 109 | + <a target="_blank" class="blue" href="https://acatarineu.github.io/fp/locale.html">here</a> <sup>1</sup> |
| 110 | + <span class="no_color"> and </span> |
| 111 | + <a target="_blank" class="blue" href="https://acatarineu.github.io/fp/locale_nullprincipal.html">here</a> <sup>2</sup> |
| 112 | + <span class="no_color"> and </span> |
| 113 | + <a target="_blank" class="blue" href="https://trac.torproject.org/projects/tor/ticket/30683">z3t on HackerOne</a> <sup>3</sup> |
| 114 | + </td></tr> |
| 115 | + |
| 116 | + <!-- fonts --> |
| 117 | + <table id="tb5"> |
| 118 | + <col width="1%"><col width="36%"><col width="63%"> |
| 119 | + <thead><tr><th colspan="3">monsta font list</th></tr></thead> |
| 120 | + <tr><td colspan="3" class="intro"><span class="no_color">This is to show that without mitigation measures, font entropy is |
| 121 | + high: The list linked below, will include os lists, whitelists, and some unique fonts bundled with popular applications. |
| 122 | + In reality a much smaller list can be used without sacrificing much entropy.</span> |
| 123 | + </td></tr> |
| 124 | + <tr><td colspan="2"><div><div class="btn-left"><button class="btn5 btn" onClick="outputSection(`5`, `c`, `e`)">[ run monsta tests ]</button></div> |
| 125 | + <div>font list</div></div></td> |
| 126 | + <td class="mono" id="monsta_fontList"><span class="no_color"> |
| 127 | + <a href="txt/fonts_monsta.txt" target='blank' class='blue'>fonts_monsta<a></span></td></tr> |
| 128 | + <tr><td colspan="2">fingerprintjs2 <sup>1</sup></td><td class="c mono" id="monsta_fontFPJS2"></td></tr> |
| 129 | + <tr><td colspan="2">font fallback <sup>2</sup></td><td class="c mono" id="monsta_fontFB"></td></tr> |
| 130 | + <!--DETAILS--> |
| 131 | + <tr><td colspan="3" class="showhide"> |
| 132 | + <input id="collapseF" class="toggle" type="checkbox" checked onchange="toggleitems(this, `F`)"> |
| 133 | + <label for="collapseF" class="lbl-toggle" id="labelF">▼ show details</label> |
| 134 | + </td></tr> |
| 135 | + <!--WHITELIST: c2--> |
| 136 | + <tr class="togF"><td colspan="2" class="s5" id="monsta_fontlabel">monsta</td> |
| 137 | + <td><button class="btn0 btn" onClick="copyclip(`small_fontFPJS2Found`)">[ copy to clipboard ]</button></td></tr> |
| 138 | + <tr class="togF"><td></td><td colspan="2" class="intro" id="monsta_fontFPJS2Found"></td></tr> |
| 139 | + <tr id="fontF1" class="togF1"><td colspan="2" class="s5">font fallback [monsta]</td> |
| 140 | + <td><button class="btn0 btn" onClick="copyclip(`small_fontFBFound`)">[ copy to clipboard ]</button></td></tr> |
| 141 | + <tr id="fontF2" class="togF1"><td></td><td colspan="2" class="intro" id="monsta_fontFBFound"></td></tr> |
| 142 | + <!--CREDITS--> |
| 143 | + <tr><td colspan="3"><span class="no_color">code based on work by </span> |
| 144 | + <a target="_blank" class="blue" href="https://github.com/Valve/fingerprintjs2">fingerprintjs2</a> <sup>1</sup> |
| 145 | + <span class="no_color"> and </span> |
| 146 | + <a target="_blank" class="blue" href="https://github.com/arthuredelstein/tordemos">Arthur Edelstein</a> <sup>2</sup> |
| 147 | + </td></tr> |
| 148 | + </table> |
| 149 | + |
| 150 | + <table id="tb6"> |
| 151 | + <col width="37%"></a><col width="63%"> |
| 152 | + <thead><tr><th colspan="2">widgets / form controls</div></th></tr></thead> |
| 153 | + <tr><td><div> |
| 154 | + <div class="btn-left"><button class="btn6 btn" onClick="outputSection(`6`, `c`, `e`)">[ re-run tests ]</button></div> |
| 155 | + <div>one</div></div></td><td></td></tr> |
| 156 | + <tr><td>two</td><td></td></tr> |
| 157 | + <tr><td colspan="2" class="showhide"> |
| 158 | + <input id="collapseW" class="toggle" type="checkbox" checked onchange="toggleitems(this, `W`)"> |
| 159 | + <label for="collapseW" class="lbl-toggle" id="labelW">▼ show details</label> |
| 160 | + </td></tr> |
| 161 | + <tr class="togW"><td>one</td><td></td></tr> |
| 162 | + <tr class="togW"><td>two</td><td></td></tr> |
| 163 | + <tr class="togW"><td colspan="2"></td></tr> |
| 164 | + </table> |
| 165 | + |
| 166 | + <br> |
| 167 | + <script src="js/main.js"></script> |
| 168 | + <script src="jsextra/widgets.js"></script> |
| 169 | + <script src="jsextra/screen.js"></script> |
| 170 | + <script src="jsextra/language.js"></script> |
| 171 | + <script src="jsextra/resource.js"></script> |
| 172 | + <script src="jsextra/chrome.js"></script> |
| 173 | + <script src="js/fonts.js"></script> |
| 174 | + |
| 175 | +</body> |
| 176 | +</html> |
0 commit comments