settings.html 6.8 KB

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