settings.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <!-- ***************************************************************************
  6. ηMatrix - a browser extension to black/white list requests.
  7. Copyright (C) 2019-2020 Alessio Vanni
  8. Modified 2022 by Jesus E.
  9. This program is free software: you can redistribute it and/or modify
  10. it under the terms of the GNU General Public License as published by
  11. the Free Software Foundation, either version 3 of the License, or
  12. (at your option) any later version.
  13. This program is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. GNU General Public License for more details.
  17. You should have received a copy of the GNU General Public License
  18. along with this program. If not, see {http://www.gnu.org/licenses/}.
  19. Home: https://c.hgit.ga/software/ematrix.git
  20. uMatrix Home: https://github.com/gorhill/uMatrix
  21. -->
  22. <title>ηMatrix — Settings</title>
  23. <link rel="stylesheet" type="text/css" href="css/common.css">
  24. <link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
  25. <style>
  26. div > p:first-child {
  27. margin-top: 0;
  28. }
  29. div > p:last-child {
  30. margin-bottom: 0;
  31. }
  32. ul {
  33. padding: 0;
  34. list-style-type: none;
  35. }
  36. ul > li {
  37. margin: 0.2em 0 0.2em 1em;
  38. }
  39. ul > li.separator {
  40. margin: 0.5em 0;
  41. }
  42. .dim {
  43. font-weight: 100;
  44. color: #888;
  45. }
  46. </style>
  47. </head>
  48. <body>
  49. <h2 data-i18n="settingsMatrixConvenienceHeader"></h2>
  50. <ul>
  51. <li>
  52. <input id="iconBadgeEnabled" type="checkbox" data-setting-bool>
  53. <label data-i18n="settingsIconBadgeEnabled" for="iconBadgeEnabled"></label>
  54. </li>
  55. <li>
  56. <input id="collapseBlocked" type="checkbox" data-setting-bool>
  57. <label data-i18n="settingsCollapseBlocked" for="collapseBlocked"></label>
  58. <ul>
  59. <li>
  60. <input id="collapseBlacklisted" type="checkbox" data-setting-bool>
  61. <label data-i18n="settingsCollapseBlacklisted" for="collapseBlacklisted"></label>
  62. </li>
  63. </ul>
  64. <li>
  65. <input id="noscriptTagsSpoofed" type="checkbox" data-matrix-switch="noscript-spoof">
  66. <label data-i18n="settingsNoscriptTagsSpoofed" for="noscriptTagsSpoofed"></label>
  67. <span class="whatisthis"></span>
  68. <div class="whatisthis-expandable para" data-i18n="noscriptSpoofHelp"></div>
  69. </li>
  70. <li>
  71. <input id="cloudStorageEnabled" type="checkbox" data-setting-bool>
  72. <label data-i18n="settingsCloudStorageEnabled" for="cloudStorageEnabled"></label>
  73. </li>
  74. </li>
  75. </ul>
  76. <h2 data-i18n="settingsMatrixDisplayHeader"></h2>
  77. <ul>
  78. <li>
  79. <span data-i18n="settingsMatrixDisplayTextSizePrompt"></span>&ensp;&minus;
  80. <input id="displayTextSize" type="range" min="12" max="18" value="14" style="margin:0 0.2em;vertical-align:bottom;">&plus;
  81. </li>
  82. <li class="separator"></li>
  83. <li>
  84. <label data-i18n="settingsDefaultScopeLevel"></label>
  85. <select id="popupScopeLevel">
  86. <option data-i18n="settingsDefaultScopeLevel2" value="site"></option>
  87. <option data-i18n="settingsDefaultScopeLevel1" value="domain"></option>
  88. <option data-i18n="settingsDefaultScopeLevel0" value="*"></option>
  89. </select>
  90. </li>
  91. <li class="separator"></li>
  92. <li>
  93. <input id="colorBlindFriendly" type="checkbox" data-setting-bool>
  94. <label data-i18n="settingsMatrixDisplayColorBlind" for="colorBlindFriendly"></label>
  95. </li>
  96. </ul>
  97. <h2 data-i18n="privacyPageName"></h2>
  98. <ul>
  99. <li>
  100. <input id="deleteCookies" type="checkbox" data-setting-bool>
  101. <label data-i18n="privacyDeleteBlockedCookiesPrompt" for="deleteCookies"></label>
  102. <span class="whatisthis"></span>
  103. <div class="whatisthis-expandable para" data-i18n="privacyDeleteBlockedCookiesHelp"></div>
  104. </li>
  105. <li>
  106. <input id="deleteUnusedSessionCookies" type="checkbox" data-setting-bool>
  107. <label data-i18n="privacyDeleteNonBlockedSessionCookiesPrompt1" for="deleteUnusedSessionCookies"></label>
  108. <input id="deleteUnusedSessionCookiesAfter" type="text" value="60" size="3">
  109. <span data-i18n="privacyDeleteNonBlockedSessionCookiesPrompt2"></span>
  110. <span class="whatisthis"></span>
  111. <div class="whatisthis-expandable para" data-i18n="privacyDeleteNonBlockedSessionCookiesHelp"></div>
  112. </li>
  113. <!--
  114. Delete non-blocked session cookies x minutes after the last time they have been used.
  115. Allow generically blocked cookies but deleted them x minutes after they have been first created.
  116. A "generically blocked" cookie is a cookie which inherits its block status in
  117. the matrix from the `cookie` cell or the `all` cell in the top row of the
  118. matrix.
  119. When a cookie inherits its block status from a cell in the top row of the
  120. matrix (the "header" row), this means it is not specifically distrusted, but
  121. rather that the default stance is to distrust cookies in general.
  122. However some sites do require cookies to minimally work properly. This options
  123. allow to "unbreak" these sites by allowing not specifically distrusted cookies
  124. to travel back and forth between you and the server, but to limit the lifetime
  125. of these cookies so that they cannot be used to track you.
  126. -->
  127. <li>
  128. <input id="deleteLocalStorage" type="checkbox" data-setting-bool>
  129. <label data-i18n="privacyDeleteBlockedLocalStoragePrompt" for="deleteLocalStorage"></label>
  130. </li>
  131. <li>
  132. <input id="clearBrowserCache" type="checkbox" data-setting-bool>
  133. <label data-i18n="privacyClearCachePrompt1" for="clearBrowserCache"></label>
  134. <input id="clearBrowserCacheAfter" type="text" value="60" size="3">
  135. <label data-i18n="privacyClearCachePrompt2" for="clearBrowserCacheAfter"></label>
  136. <span class="whatisthis"></span>
  137. <div class="whatisthis-expandable para" data-i18n="privacyClearCacheHelp"></div>
  138. </li>
  139. <li>
  140. <input id="processReferer" type="checkbox" data-matrix-switch="referrer-spoof">
  141. <label data-i18n="privacyProcessRefererPrompt" for="processReferer"></label>
  142. <span class="whatisthis"></span>
  143. <div class="whatisthis-expandable para" data-i18n="privacyProcessRefererHelp"></div>
  144. </li>
  145. <li>
  146. <input id="noMixedContent" type="checkbox" data-matrix-switch="https-strict">
  147. <label data-i18n="privacyNoMixedContentPrompt" for="noMixedContent"></label>
  148. <span class="whatisthis"></span>
  149. <div class="whatisthis-expandable para" data-i18n="privacyNoMixedContentHelp"></div>
  150. </li>
  151. <li>
  152. <input id="processHyperlinkAuditing" type="checkbox" data-setting-bool>
  153. <label data-i18n="privacyProcessHyperlinkAuditingPrompt" for="processHyperlinkAuditing"></label>
  154. <span class="whatisthis"></span>
  155. <div class="whatisthis-expandable para" data-i18n="privacyProcessHyperlinkAuditingHelp"></div>
  156. </li>
  157. <li>
  158. <input id="resolveCname" type="checkbox" data-setting-bool>
  159. <label data-i18n="resolveCnameLabel" for="resolveCname"></label>
  160. <span class="whatisthis"></span>
  161. <div class="whatisthis-expandable para" data-i18n="resolveCnameHelp"></div>
  162. </li>
  163. </ul>
  164. <script src="js/vapi-common.js"></script>
  165. <script src="js/vapi-client.js"></script>
  166. <script src="js/udom.js"></script>
  167. <script src="js/i18n.js"></script>
  168. <script src="js/dashboard-common.js"></script>
  169. <script src="js/settings.js"></script>
  170. </body>
  171. </html>