mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
87d0e456f1
Little-used code from vapi-client.js has been moved to vapi-client-extra.js. Given that vapi-client.js is injected in all web pages, this means less dead code being injected in all pages. Swathes of code in vapi-client.js was used only in a few very specific cases, such as when the logger's DOM inspector is opened or when the "Filter lists" pane in the dashboard is opened -- and thus to avoid that little used code to be loaded in every web page unconditionally, it has been moved to its own separate file, vapi-client.extra.js. vapi-client-extra.js is loaded declaratively or programmatically only where needed.
70 lines
3.5 KiB
HTML
70 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>uBlock — Filter lists</title>
|
||
<link rel="stylesheet" type="text/css" href="css/common.css">
|
||
<link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
|
||
<link rel="stylesheet" type="text/css" href="css/cloud-ui.css">
|
||
<link rel="stylesheet" type="text/css" href="css/3p-filters.css">
|
||
</head>
|
||
|
||
<body>
|
||
|
||
<div class="body">
|
||
|
||
<div id="cloudWidget" class="hide" data-cloud-entry="tpFiltersPane"></div>
|
||
<ul id="options" class="root">
|
||
<li><button id="buttonUpdate" class="custom important disabled" data-i18n="3pUpdateNow"></button>
|
||
<button id="buttonPurgeAll" class="custom disabled" data-i18n="3pPurgeAll"></button>
|
||
<button id="buttonApply" class="custom important disabled" data-i18n="3pApplyChanges"></button>
|
||
<li><input type="checkbox" id="autoUpdate"><label data-i18n="3pAutoUpdatePrompt1" for="autoUpdate"></label> 
|
||
<li><input type="checkbox" id="parseCosmeticFilters"><label data-i18n="3pParseAllABPHideFiltersPrompt1" for="parseCosmeticFilters"></label><button class="whatisthis"></button>
|
||
<div class="whatisthis-expandable para" data-i18n="3pParseAllABPHideFiltersInfo"></div>
|
||
<li><input type="checkbox" id="ignoreGenericCosmeticFilters"><label data-i18n="3pIgnoreGenericCosmeticFilters" for="ignoreGenericCosmeticFilters"></label><button class="whatisthis"></button>
|
||
<div class="whatisthis-expandable para" data-i18n="3pIgnoreGenericCosmeticFiltersInfo"></div>
|
||
</ul>
|
||
<ul class="root">
|
||
<li><span id="listsOfBlockedHostsPrompt"></span>
|
||
<ul id="lists"></ul>
|
||
</ul>
|
||
|
||
</div>
|
||
|
||
<div id="templates" style="display: none;">
|
||
<ul>
|
||
<li class="groupEntry"><span class="geDetails"><span class="geName"></span> <span class="geCount dim"></span></span>
|
||
<ul class="listEntries"></ul>
|
||
</li>
|
||
<li class="listEntry">
|
||
<input type="checkbox"><!--
|
||
--><a class="content" type="text/plain" target="_blank" href=""></a>​<!--
|
||
--><a class="fa support" href="" target="_blank"></a>​<!--
|
||
--><a class="fa remove" href=""></a>​<!--
|
||
--><a class="fa mustread" href="" target="_blank"></a>​<!--
|
||
--><span class="fa status unsecure" title="http"></span>​<!--
|
||
--><span class="counts dim"></span>​<!--
|
||
--><span class="fa status obsolete" data-i18n-title="3pExternalListObsolete"></span>​<!--
|
||
--><span class="fa status cache"></span>​<!--
|
||
--><span class="fa status updating" data-i18n-title="3pUpdating"></span>​<!--
|
||
--><span class="fa status failed" data-i18n-title="3pNetworkError"></span>
|
||
</li>
|
||
<li class="listEntry toImport"><input type="checkbox" id="importLists"><label for="importLists" data-i18n="3pImport"></label><!--
|
||
--><a class="fa info towiki" href="https://github.com/gorhill/uBlock/wiki/Filter-lists-from-around-the-web" target="_blank"></a><!--
|
||
--><textarea id="externalLists" dir="ltr" spellcheck="false" placeholder="3pExternalListsHint"></textarea>
|
||
</ul>
|
||
</div>
|
||
|
||
<script src="js/vapi.js"></script>
|
||
<script src="js/vapi-common.js"></script>
|
||
<script src="js/vapi-client.js"></script>
|
||
<script src="js/vapi-client-extra.js"></script>
|
||
<script src="js/udom.js"></script>
|
||
<script src="js/i18n.js"></script>
|
||
<script src="js/dashboard-common.js"></script>
|
||
<script src="js/cloud-ui.js"></script>
|
||
<script src="js/3p-filters.js"></script>
|
||
|
||
</body>
|
||
</html>
|