mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-06 19:02:30 +01:00
this fixes #812
This commit is contained in:
parent
d58004f91a
commit
eb02abbc54
@ -10,14 +10,12 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div>
|
<p data-i18n="1pFormatHint"></p>
|
||||||
<p data-i18n="1pFormatHint"></p>
|
<p><button id="userFiltersApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
|
||||||
<p><button id="userFiltersApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
|
<textarea class="userFilters" id="userFilters" dir="auto" spellcheck="false"></textarea>
|
||||||
<textarea class="userFilters" id="userFilters" dir="auto" spellcheck="false"></textarea>
|
<p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button>  
|
||||||
<p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button>  
|
|
||||||
<button id="exportUserFiltersToFile" data-i18n="1pExport"></button>
|
<button id="exportUserFiltersToFile" data-i18n="1pExport"></button>
|
||||||
<input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p>
|
<input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p>
|
||||||
</div>
|
|
||||||
|
|
||||||
<script src="js/vapi-common.js"></script>
|
<script src="js/vapi-common.js"></script>
|
||||||
<script src="js/vapi-client.js"></script>
|
<script src="js/vapi-client.js"></script>
|
||||||
|
@ -5,9 +5,10 @@ div > p:last-child {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
.userFilters {
|
.userFilters {
|
||||||
|
box-sizing: border-box;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
width: 48em;
|
height: 60vh;
|
||||||
height: 40em;
|
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
@ -5,11 +5,12 @@ div > p:last-child {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
#whitelist {
|
#whitelist {
|
||||||
|
box-sizing: border-box;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
width: 48em;
|
height: 60vh;
|
||||||
height: 40em;
|
|
||||||
white-space: pre;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
#whitelist.bad {
|
#whitelist.bad {
|
||||||
background-color: #fee;
|
background-color: #fee;
|
||||||
|
@ -10,14 +10,12 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div>
|
<p data-i18n="whitelistPrompt"></p>
|
||||||
<p data-i18n="whitelistPrompt"></p>
|
<p><button id="whitelistApply" type="button" disabled="true" data-i18n="whitelistApply"></button></p>
|
||||||
<p><button id="whitelistApply" type="button" disabled="true" data-i18n="whitelistApply"></button></p>
|
<textarea id="whitelist" dir="auto" spellcheck="false"></textarea>
|
||||||
<textarea id="whitelist" dir="auto" spellcheck="false"></textarea>
|
<p><button id="importWhitelistFromFile" data-i18n="whitelistImport"></button>  
|
||||||
<p><button id="importWhitelistFromFile" data-i18n="whitelistImport"></button>  
|
|
||||||
<button id="exportWhitelistToFile" data-i18n="whitelistExport"></button>
|
<button id="exportWhitelistToFile" data-i18n="whitelistExport"></button>
|
||||||
<input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p>
|
<input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p>
|
||||||
</div>
|
|
||||||
|
|
||||||
<script src="lib/punycode.js"></script>
|
<script src="lib/punycode.js"></script>
|
||||||
<script src="js/vapi-common.js"></script>
|
<script src="js/vapi-common.js"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user