mirror of
https://github.com/gorhill/uBlock.git
synced 2024-07-05 11:37:01 +02:00
Related issues: - https://github.com/uBlockOrigin/uBlock-issues/issues/3161 - https://github.com/uBlockOrigin/uBlock-issues/discussions/2895#discussioncomment-8504374 Two checkboxes have been added to the "My filters "pane: 1. A checkbox to wholly disable/enable "My filters". This is equivalent to the checkbox for "My filters" in "Filter lists" pane. 2. A checkbox to enable/disable the trustworthiness of the content of "My filters". Default to untrusted. Since toggling these checkboxes requires reloading all filter lists, their new state must be committed through the "Apply changes" button. Additionally: a "book" icon has been added to the top-right of the dashboard, which is a link to the wiki according to whichever pane is currently active.
70 lines
3.6 KiB
HTML
70 lines
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>uBlock — Your filters</title>
|
|
|
|
<link rel="stylesheet" href="lib/codemirror/lib/codemirror.css">
|
|
<link rel="stylesheet" href="lib/codemirror/addon/hint/show-hint.css">
|
|
<link rel="stylesheet" href="lib/codemirror/addon/search/matchesonscrollbar.css">
|
|
|
|
<link rel="stylesheet" href="css/themes/default.css">
|
|
<link rel="stylesheet" href="css/common.css">
|
|
<link rel="stylesheet" href="css/fa-icons.css">
|
|
<link rel="stylesheet" href="css/dashboard-common.css">
|
|
<link rel="stylesheet" href="css/cloud-ui.css">
|
|
<link rel="stylesheet" href="css/1p-filters.css">
|
|
<link rel="stylesheet" href="css/codemirror.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="body">
|
|
<div id="cloudWidget" class="hide" data-cloud-entry="myFiltersPane"></div>
|
|
<p>
|
|
<button id="userFiltersApply" class="preferred iconified" type="button" disabled><span class="fa-icon">check</span><span data-i18n="1pApplyChanges">_</span><span class="hover"></span></button>
|
|
<button id="userFiltersRevert" class="iconified" type="button" disabled><span class="fa-icon">undo</span><span data-i18n="genericRevert">_</span><span class="hover"></span></button>
|
|
 
|
|
<button id="importUserFiltersFromFile" class="iconified" type="button"><span class="fa-icon">download-alt</span><span data-i18n="1pImport">_</span><span class="hover"></span></button>
|
|
<button id="exportUserFiltersToFile" class="iconified" type="button"><span class="fa-icon">upload-alt</span><span data-i18n="1pExport">_</span><span class="hover"></span></button>
|
|
</p>
|
|
<p data-i18n="1pTrustWarning"></p>
|
|
<div class="li"><label><span id="enableMyFilters" class="input checkbox"><input type="checkbox"><svg viewBox="0 0 24 24"><path d="M1.73,12.91 8.1,19.28 22.79,4.59"/></svg></span><span data-i18n="1pEnableMyFiltersLabel"></span></label></div>
|
|
<div id="trustMyFilters" class="li"><label><span class="input checkbox"><input type="checkbox"><svg viewBox="0 0 24 24"><path d="M1.73,12.91 8.1,19.28 22.79,4.59"/></svg></span><span data-i18n="1pTrustMyFiltersLabel"></span></label></div>
|
|
</div>
|
|
<div id="userFilters" class="codeMirrorContainer codeMirrorBreakAll cm-theme-override" spellcheck="false"></div>
|
|
<div class="hidden">
|
|
<input id="importFilePicker" type="file" accept="text/plain">
|
|
</div>
|
|
|
|
<script src="lib/codemirror/lib/codemirror.js"></script>
|
|
<script src="lib/codemirror/addon/comment/comment.js"></script>
|
|
<script src="lib/codemirror/addon/display/panel.js"></script>
|
|
<script src="lib/codemirror/addon/edit/closebrackets.js"></script>
|
|
<script src="lib/codemirror/addon/edit/matchbrackets.js"></script>
|
|
<script src="lib/codemirror/addon/fold/foldcode.js"></script>
|
|
<script src="lib/codemirror/addon/hint/show-hint.js"></script>
|
|
<script src="lib/codemirror/addon/scroll/annotatescrollbar.js"></script>
|
|
<script src="lib/codemirror/addon/search/searchcursor.js"></script>
|
|
<script src="lib/codemirror/addon/selection/active-line.js"></script>
|
|
<script src="lib/diff/swatinem_diff.js"></script>
|
|
<script src="lib/hsluv/hsluv-0.1.0.min.js"></script>
|
|
|
|
<script src="js/vapi.js"></script>
|
|
<script src="js/vapi-common.js"></script>
|
|
<script src="js/vapi-client.js"></script>
|
|
|
|
<script src="js/codemirror/search.js" type="module"></script>
|
|
<script src="js/codemirror/search-thread.js"></script>
|
|
|
|
<script src="js/fa-icons.js" type="module"></script>
|
|
<script src="js/theme.js" type="module"></script>
|
|
<script src="js/i18n.js" type="module"></script>
|
|
<script src="js/dashboard-common.js" type="module"></script>
|
|
<script src="js/cloud-ui.js" type="module"></script>
|
|
<script src="js/1p-filters.js" type="module"></script>
|
|
|
|
</body>
|
|
</html>
|