You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

173 lines
6.3 KiB

10 years ago
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>µMatrix &mdash; Info</title>
  6. <link rel="stylesheet" type="text/css" href="css/common.css">
  7. <link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
  8. <style>
  9. select {
  10. max-width: 20em;
  11. }
  12. #stats div div,#lists div div {
  13. padding: 0 1em 0 0;
  14. display: inline-block;
  15. text-align: right;
  16. }
  17. #requests-filters {
  18. font-size: 13px;
  19. }
  20. #requests-filters label {
  21. padding-right: 1em
  22. }
  23. #requests-log {
  24. margin: 0;
  25. border: 1px inset #eee;
  26. padding: 0;
  27. font: 11px monospace;
  28. background-color: white;
  29. overflow: scroll;
  30. width: calc(100% - 1.5em);
  31. }
  32. #requests-log table {
  33. border-collapse: collapse;
  34. }
  35. #requests-log tr {
  36. margin: 0;
  37. border: 0;
  38. padding: 0;
  39. color: #070;
  40. }
  41. #requests-log tr.ro {
  42. color: gray;
  43. }
  44. #requests-log tr:hover {
  45. background-color: #eee;
  46. }
  47. #requests-log tr.blocked-true {
  48. color: #c00;
  49. }
  50. #requests-log tr:first-child {
  51. font-weight: bold;
  52. background-color: #eee;
  53. }
  54. #requests-log tr > td {
  55. padding: 1px 0.75em 1px 0;
  56. white-space: nowrap;
  57. }
  58. #requests-log tr > td:nth-of-type(2) {
  59. text-align: right;
  60. }
  61. .type-main_frame {
  62. font-weight: bold;
  63. }
  64. tr.unused {
  65. display: none;
  66. }
  67. </style>
  68. </head>
  69. <body>
  70. <h2 data-i18n="statsPageGenericStats" id="generic-stats"></h2>
  71. <div>
  72. <ul>
  73. <li id="statsPageCookieHeadersFoiled">
  74. <li id="statsPageRefererHeadersFoiled">
  75. <li id="statsPageHyperlinkAuditingFoiled">
  76. <li id="statsPageCookiesRemoved">
  77. <li id="statsPageLocalStoragesCleared">
  78. <li id="statsPageBrowserCacheCleared">
  79. </ul>
  80. </div>
  81. <h2 data-i18n="statsPageDetailedStats" id="detailed-stats"></h2>
  82. <div>
  83. <select id="selectPageUrls">
  84. <option value="all" data-i18n="statsPageDetailedAllPages"></option>
  85. <option id="selectPageUrlTemplate" value="http://chromium-behind-the-scene/" data-i18n="statsPageDetailedBehindTheScenePage"></option>
  86. </select>
  87. <h3 data-i18n="statsPageOverview"></h3>
  88. <div id="stats">
  89. <div style="white-space:nowrap;">
  90. <div>
  91. <span data-i18n="statsPageRequests"></span><br>
  92. All:<br>
  93. Pages:<br>
  94. <a href="http://en.wikipedia.org/wiki/Http_cookie">Cookies</a>:<br>
  95. <a href="https://en.wikipedia.org/wiki/Cascading_Style_Sheets">CSS</a>:<br>
  96. Images:<br>
  97. <span title="i.e. Flash, ActiveX, Java applets, etc.">Plugins</span>:<br>
  98. <a href="http://en.wikipedia.org/wiki/HTML_scripting">Scripts</a>:<br>
  99. <a href="http://en.wikipedia.org/wiki/XMLHttpRequest">XMLHttpRequests</a>:<br>
  100. <a href="http://en.wikipedia.org/wiki/Framing_(World_Wide_Web)">Frames</a>:<br>
  101. <a title="i.e. HTML5 audio, HTML5 video, HTML5 canvas, etc." href="https://github.com/gorhill/httpswitchboard/wiki/In-the-top-right-of-the-matrix,-what-is-%22other%22%3F">Others</a>:<br>
  102. </div>
  103. <div style="color:#c00">
  104. <span data-i18n="statsPageBlocked"></span><br>
  105. <span id="blockedAllCount"></span><br>
  106. <span id="blockedMainFrameCount"></span><br>
  107. <span id="blockedCookieCount"></span><br>
  108. <span id="blockedStylesheetCount"></span><br>
  109. <span id="blockedImageCount"></span><br>
  110. <span id="blockedObjectCount"></span><br>
  111. <span id="blockedScriptCount"></span><br>
  112. <span id="blockedXHRCount"></span><br>
  113. <span id="blockedSubFrameCount"></span><br>
  114. <span id="blockedOtherCount"></span><br>
  115. </div>
  116. <div style="color:#070">
  117. <span data-i18n="statsPageAllowed"></span><br>
  118. <span id="allowedAllCount"></span><br>
  119. <span id="allowedMainFrameCount"></span><br>
  120. <span id="allowedCookieCount"></span><br>
  121. <span id="allowedStylesheetCount"></span><br>
  122. <span id="allowedImageCount"></span><br>
  123. <span id="allowedObjectCount"></span><br>
  124. <span id="allowedScriptCount"></span><br>
  125. <span id="allowedXHRCount"></span><br>
  126. <span id="allowedSubFrameCount"></span><br>
  127. <span id="allowedOtherCount"></span><br>
  128. </div>
  129. </div>
  130. </div>
  131. <h3 data-i18n="statsPageDetailed"></h3>
  132. <div id="requests">
  133. <div><span data-i18n="statsPageLogSizePrompt1"></span> <input id="max-logged-requests" type="text" value="50" size="3"> <span data-i18n="statsPageLogSizePrompt2"></span>
  134. <button class="whatisthis"></button>
  135. <p class="whatisthis-expandable para" data-i18n="statsPageLogSizeHelp"></p>
  136. <p id="requests-filters"><button id="refresh-requests" data-i18n="statsPageRefresh"></button>&emsp;Show:
  137. <input id="show-main_frame" type="checkbox" checked value="1"><label for="show-main_frame">Pages</label>
  138. <input id="show-blocked" type="checkbox" checked value="1"><label for="show-blocked"><span style="color:#c00" data-i18n="statsPageBlocked">Blocked</span></label>
  139. <input id="show-allowed" type="checkbox" checked value="1"><label for="show-allowed"><span style="color:#070" data-i18n="statsPageAllowed">Allowed</span></label>
  140. <input id="show-cookie" type="checkbox" checked value="1"><label for="show-cookie">Cookies</label>
  141. <input id="show-image" type="checkbox" checked value="1"><label for="show-image">Images</label>
  142. <input id="show-stylesheet" type="checkbox" checked value="1"><label for="show-stylesheet">CSS</label>
  143. <input id="show-object" type="checkbox" checked value="1"><label for="show-object">Objects</label>
  144. <input id="show-script" type="checkbox" checked value="1"><label for="show-script">Scripts</label>
  145. <input id="show-xmlhttprequest" type="checkbox" checked value="1"><label for="show-xmlhttprequest">XHRs</label>
  146. <input id="show-sub_frame" type="checkbox" checked value="1"><label for="show-sub_frame">Frames</label>
  147. <input id="show-other" type="checkbox" checked value="1"><label for="show-other">Others</label>
  148. </p>
  149. </div>
  150. <div id="requests-log" style="overflow-y:hidden">
  151. <table id="requestsTable">
  152. <tr class="ro"><td>when<td>what<td><td class="fa">&#xf0b0;<td>where</tr>
  153. <tr class="ro" id="requestRowTemplate"><td><td><td><a href="" style="display:none">&lt;a&gt;</a><td class="fa"><td></tr>
  154. </table>
  155. </div>
  156. </div>
  157. </div> <!-- end of detailed stats -->
  158. <script src="lib/jquery-2.min.js"></script>
  159. <script src="js/i18n.js"></script>
  160. <script src="js/dashboard-common.js"></script>
  161. <script src="js/messaging-client.js"></script>
  162. <script src="js/info.js"></script>
  163. </body>
  164. </html>