提交 b5fdac90 编写于 作者: G gorhill

first commit

上级 f4894613
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HTTP Switchboard — Ubiquitous rules</title>
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
<style>
div > p:first-child {
margin-top: 0;
}
div > p:last-child {
margin-bottom: 0;
}
.dim {
color: #444;
}
.userFilters {
font-size: smaller;
width: 48em;
height: 40em;
white-space: nowrap;
}
</style>
</head>
<body>
<div>
<p data-i18n="1pFormatHint"></p>
<p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button> &emsp; <button id="exportUserFiltersToFile" data-i18n="1pExport"></button></p>
<textarea class="userFilters" id="userFilters"></textarea>
<p><button id="userFiltersApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
</div>
<script src="lib/jquery-2.min.js"></script>
<script src="js/i18n.js"></script>
<script src="js/dashboard-common.js"></script>
<script src="js/messaging-client.js"></script>
<script src="js/1p-filters.js"></script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HTTP Switchboard — Ubiquitous rules</title>
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
<style>
div > p:first-child {
margin-top: 0;
}
div > p:last-child {
margin-bottom: 0;
}
ul {
padding: 0;
list-style-type: none;
}
ul > li {
margin: 0 0 0 1em;
}
.dim {
color: #444;
}
.userUbiquitousHosts {
font-size: smaller;
width: 36em;
height: 16em;
white-space: nowrap;
}
</style>
</head>
<body>
<p id="3pListsOfBlockedHostsPrompt2"></p>
<ul id="blacklistTemplate" style="display:none">
<li class="blacklistDetails"><input type="checkbox">&thinsp;<a href="" type="text/plain"></a>:
<span class="dim" data-i18n="3pListsOfBlockedHostsPerListStats"></span>
</ul>
<ul id="blacklists" style="margin:0.5em 0 0 0;padding-left:1em;list-style-type:none">
<li style="margin-top:0.75em"><input type="checkbox" id="parseAllABPHideFilters"><span data-i18n="3pParseAllABPHideFiltersPrompt1"></span>
<span class="dim" id="3pParseAllABPHideFiltersPrompt2"></span>
<button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="3pParseAllABPHideFiltersInfo"></div>
<li style="margin-top:0.75em"><button id="blacklistsApply" disabled="true" data-i18n="3pApplyChanges"></button>
</ul>
<script src="lib/jquery-2.min.js"></script>
<script src="js/i18n.js"></script>
<script src="js/dashboard-common.js"></script>
<script src="js/messaging-client.js"></script>
<script src="js/3p-filters.js"></script>
</body>
</html>
此差异已折叠。
{
"extName": {
"message": "µBlock",
"description": "extension name."
},
"extShortDesc": {
"message": "Finally, an efficient blocker for Chromium-based browsers. Easy on CPU and memory.",
"description": "this will in chrome web store: must be 132 characters or less"
},
"3pPageName" : {
"message": "3rd-party filters",
"description": "appears as tab name in dashboard"
},
"1pPageName" : {
"message": "Your filters",
"description": "appears as tab name in dashboard."
},
"aboutPageName": {
"message": "Über",
"description": "appears as tab name in dashboard"
},
"3pListsOfBlockedHostsPrompt2" : {
"message": "{{ubiquitousBlacklistCount}} eindeutig blockierte Hostnamen aus:",
"description": "English: {{ubiquitousBlacklistCount}} distinct blocked hostnames from:"
},
"3pListsOfBlockedHostsPerListStats" : {
"message": "{{used}} benutzt aus {{total}}",
"description": "English: {{used}} used out of {{total}}"
},
"3pParseAllABPHideFiltersPrompt1" : {
"message": "Adblock+ Filter zum Verstecken von Elementen analysieren und anwenden.",
"description": "English: Parse and enforce Adblock+ element hiding filters."
},
"3pParseAllABPHideFiltersPrompt2" : {
"message": "{{abpHideFilterCount}} Filter zum Verstecken von Elementen genutzt.",
"description": "English: {{abpHideFilterCount}} element hiding filters used."
},
"3pParseAllABPHideFiltersInfo" : {
"message": "<p>Diese Option ermöglicht die Analyse und Anwendung von <a href=\"https://adblockplus.org/de/faq_internal#elemhide\">Adblock Plus-kompatiblen Filtern zum &ldquo;Verstecken von Elementen&rdquo; </a>. Diese Filter sind in erster Linie kosmetischer Natur und dienen zum Verstecken von Elementen auf einer Webseite, die als optische Belästigung wahrgenommen werden und nicht von der Matrix oder normalen ABP-Filtern geblockt werden können.</p><p>Das Aktivieren dieser Option erhöht den Speicherbedarf von <i>µBlock</i>.</p>",
"description": "English: see English messages.json"
},
"3pListsOfBlockedHostsHeader" : {
"message": "Listen blockierter Hostnamen",
"description": "English: Lists of blocked hosts"
},
"3pApplyChanges" : {
"message": "Änderungen anwenden",
"description": "English: Apply changes"
},
"1pFormatHint" : {
"message": "Eine Regel pro Zeile. Eine Regel kann ein einfacher Hostname sein oder ein Adblock Plus-kompatibler Filter. Zeilen mit vorangestelltem &lsquo;!&rsquo; werden ignoriert.",
"description": "English: One filter per line. A filter can be a plain hostname, or an Adblock Plus-compatible filter. Lines prefixed with &lsquo;!&rsquo; will be ignored."
},
"1pImport" : {
"message": "Importieren und anfügen",
"description": "English: Import and append"
},
"1pExport" : {
"message": "Exportieren",
"description": "English: Export"
},
"1pApplyChanges" : {
"message": "Änderungen anwenden",
"description": "English: Apply changes"
},
"aboutChangelog" : {
"message": "<a href='https://github.com/gorhill/ublock/wiki/Changelog'>Changelog</a>",
"description": "English: <a href='https://github.com/gorhill/ublock/wiki/Change-log'>Change log</a>"
},
"aboutCode" : {
"message": "<a href='https://github.com/gorhill/ublock'>Quellcode (GPLv3)</a>",
"description": "English: <a href='https://github.com/gorhill/ublock'>Source code (GPLv3)</a>"
},
"aboutExtensionDataHeader" : {
"message": "Externe Ressourcen dieser Erweiterung",
"description": "English: Extension data"
},
"aboutAssetsUpdatePrompt" : {
"message": "Von <i>µBlock</i> benutzte externe Ressourcen können hier upgedatet werden, ohne auf eine neue Version dieser Erweiterung warten zu müssen. Diese Ressourcen werden bezogen vom <a href=\"https://github.com/gorhill/ublock\">Github Repository dieses Projekts</a>.",
"description": "Short descriptive text of the update feature"
},
"aboutAssetsUpdateColPath" : {
"message": "Pfad",
"description": "Path column header"
},
"aboutAssetsUpdateColStatus" : {
"message": "Status",
"description": "Status column header"
},
"aboutAssetsUpdateGetListError" : {
"message": "Ein Fehler ist aufgetreten. Ist <b>XHR</b> blockiert für <b>raw2.github.com</b>?",
"description": "Successful outcome of clicking 'update' button"
},
"aboutAssetsUpdateStatusAdded" : {
"message": "Hinzufügen",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateStatusChanged" : {
"message": "Neue Version verfügbar",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateStatusUnchanged" : {
"message": "Up-to-date",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateStatusRemoved" : {
"message": "Entfernen",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateButton" : {
"message": "Update",
"description": "Update button"
},
"aboutAssetsUpdatingButton" : {
"message": "Updating...",
"description": "Updating..."
},
"dummy": {
"message": "This entry must be the last one",
"description": "so we dont need to deal with comma for last entry"
}
}
{
"extName": {
"message": "µBlock",
"description": "extension name."
},
"extShortDesc": {
"message": "Finally, an efficient blocker for Chromium-based browsers. Easy on CPU and memory.",
"description": "this will be in the chrome web store: must be 132 characters or less"
},
"3pPageName" : {
"message": "3rd-party filters",
"description": "appears as tab name in dashboard."
},
"1pPageName" : {
"message": "Your filters",
"description": "appears as tab name in dashboard."
},
"aboutPageName": {
"message": "About",
"description": "appears as tab name in dashboard."
},
"3pListsOfBlockedHostsPrompt2" : {
"message": "{{ubiquitousBlacklistCount}} network filters from:",
"description": "English: {{ubiquitousBlacklistCount}} distinct blocked hostnames from:"
},
"3pListsOfBlockedHostsPerListStats" : {
"message": "{{used}} used out of {{total}}",
"description": "English: {{used}} used out of {{total}}"
},
"3pParseAllABPHideFiltersPrompt1" : {
"message": "Parse and enforce Adblock+ element hiding filters.",
"description": "English: Parse and enforce Adblock+ element hiding filters."
},
"3pParseAllABPHideFiltersPrompt2" : {
"message": "{{abpHideFilterCount}} element hiding filters used.",
"description": "English: {{abpHideFilterCount}} element hiding filters used."
},
"3pParseAllABPHideFiltersInfo" : {
"message": "<p>This option enables the parsing and enforcing of <a href=\"https://adblockplus.org/en/faq_internal#elemhide\">Adblock Plus-compatible &ldquo;element hiding&rdquo; filters</a>. These filters are essentially cosmetic, they serve to hide elements in a web page which are deemed to be a visual nuisance, and which can't be blocked by the matrix- or ABP-filtering engines.</p><p>Enabling this feature increases <i>µBlock</i>'s memory footprint.</p>",
"description": "English: see English messages.json"
},
"3pListsOfBlockedHostsHeader" : {
"message": "Lists of blocked hosts",
"description": "English: Lists of blocked hosts"
},
"3pApplyChanges" : {
"message": "Apply changes",
"description": "English: Apply changes"
},
"1pFormatHint" : {
"message": "One filter per line. A filter can be a plain hostname, or an Adblock Plus-compatible filter. Lines prefixed with &lsquo;!&rsquo; will be ignored.",
"description": "English: One filter per line. A filter can be a plain hostname, or an Adblock Plus-compatible filter. Lines prefixed with &lsquo;!&rsquo; will be ignored."
},
"1pImport" : {
"message": "Import and append",
"description": "English: Import and append"
},
"1pExport" : {
"message": "Export",
"description": "English: Export"
},
"1pApplyChanges" : {
"message": "Apply changes",
"description": "English: Apply changes"
},
"aboutChangelog" : {
"message": "<a href='https://github.com/gorhill/ublock/wiki/Change-log'>Change log</a>",
"description": "English: <a href='https://github.com/gorhill/ublock/wiki/Change-log'>Change log</a>"
},
"aboutCode" : {
"message": "<a href='https://github.com/gorhill/ublock'>Source code (GPLv3)</a>",
"description": "English: <a href='https://github.com/gorhill/ublock'>Source code (GPLv3)</a>"
},
"aboutExtensionDataHeader" : {
"message": "Extension data",
"description": "English: Extension data"
},
"aboutAssetsUpdatePrompt" : {
"message": "<i>µBlock</i> assets can be updated here without having to wait for the next release of the extension. These assets are pulled from the <a href=\"https://github.com/gorhill/ublock\">project's Github repository</a>.",
"description": "Short descriptive text of the update feature"
},
"aboutAssetsUpdateColPath" : {
"message": "Path",
"description": "Path column header"
},
"aboutAssetsUpdateColStatus" : {
"message": "Status",
"description": "Status column header"
},
"aboutAssetsUpdateGetListError" : {
"message": "An error occurred. Is <b>XHR</b> blocked for <b>raw2.github.com</b>?",
"description": "Successful outcome of clicking 'update' button"
},
"aboutAssetsUpdateStatusAdded" : {
"message": "To add",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateStatusChanged" : {
"message": "New version available",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateStatusUnchanged" : {
"message": "Up to date",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateStatusRemoved" : {
"message": "To remove",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateButton" : {
"message": "Update",
"description": "Update button"
},
"aboutAssetsUpdatingButton" : {
"message": "Updating...",
"description": "Updating..."
},
"dummy": {
"message": "This entry must be the last one",
"description": "so we dont need to deal with comma for last entry"
}
}
{
"extName": {
"message": "µBlock",
"description": "extension name."
},
"extShortDesc": {
"message": "Finally, an efficient blocker for Chromium-based browsers. Easy on CPU and memory.",
"description": "this will in chrome web store: must be 132 characters or less"
},
"3pPageName" : {
"message": "Listes de filtres",
"description": "appears as tab name in dashboard"
},
"1pPageName" : {
"message": "Vos règles",
"description": "appears as tab name in dashboard."
},
"aboutPageName": {
"message": "À propos",
"description": "appears as tab name in dashboard"
},
"3pListsOfBlockedHostsPrompt2" : {
"message": "{{ubiquitousBlacklistCount}} hôtes actuellement bloqués :",
"description": "English: {{ubiquitousBlacklistCount}} distinct blocked hostnames from:"
},
"3pListsOfBlockedHostsPerListStats" : {
"message": "{{used}} utilisés sur un total de {{total}}",
"description": "English: {{used}} used out of {{total}}"
},
"3pParseAllABPHideFiltersPrompt1" : {
"message": "Utiliser en plus les règles Adblock Plus esthétiques",
"description": "English: Parse and enforce Adblock+ element hiding filters."
},
"3pParseAllABPHideFiltersPrompt2" : {
"message": "{{abpHideFilterCount}} règles Adblock Plus esthétiques utilisées",
"description": "English: {{abpHideFilterCount}} element hiding filters used."
},
"3pParseAllABPHideFiltersInfo" : {
"message": "<p>Cette option permet de prendre en charge les filtres AdblockPlus de type <a href=\"https://adblockplus.org/en/faq_internal#elemhide\">&ldquo;element hiding&rdquo;</a>. Ces filtres ont principalement un impact visuel, servant à dissimuler des éléments nuisibles d'une page Web et qui ne sont blocables ni par la matrice, ni par le filtrage type Adblock Plus.</p><p>L'activation de cette fonctionnalité augmente l'empreinte mémoire de <i>µBlock</i></p>",
"description": "English: see English messages.json"
},
"3pListsOfBlockedHostsHeader" : {
"message": "Listes d'hôtes à bloquer",
"description": "English: Lists of blocked hosts"
},
"3pApplyChanges" : {
"message": "Appliquer",
"description": "English: Apply changes"
},
"1pFormatHint" : {
"message": "Une règle par ligne. Une règle peut être un simple nom d'hôte, ou encore un filtre respectant la syntaxe des filtres Adblock Plus. Les lignes débutant par &lsquo;!&rsquo; seront ignorées.",
"description": "English: One filter per line. A filter can be a plain hostname, or an Adblock Plus-compatible filter. Lines prefixed with &lsquo;!&rsquo; will be ignored."
},
"1pImport" : {
"message": "Importer",
"description": "English: Import and append"
},
"1pExport" : {
"message": "Exporter",
"description": "English: Export"
},
"1pApplyChanges" : {
"message": "Appliquer",
"description": "English: Apply changes"
},
"aboutChangelog" : {
"message": "<a href='https://github.com/gorhill/ublock/wiki/Change-log'>Journal des changements (en Anglais)</a>",
"description": "English: <a href='https://github.com/gorhill/ublock/wiki/Change-log'>Change log</a>"
},
"aboutCode" : {
"message": "<a href='https://github.com/gorhill/ublock'>Code Source (Licence GPLv3, en Anglais)</a>",
"description": "English: <a href='https://github.com/gorhill/ublock'>Source code (GPLv3)</a>"
},
"aboutExtensionDataHeader" : {
"message": "Données de l'extension",
"description": "English: Extension data"
},
"aboutAssetsUpdatePrompt" : {
"message": "Les éléments dynamiques, comprenant entre autres listes d'hôtes à bloquer et recettes prédéfinies, peuvent être mis à jour ici sans avoir à attendre la prochaine version de µBlock. Le processus s'effectue à partir de la <a href=\"https://github.com/gorhill/ublock\">page du projet sur Github</a>.",
"description": "Short descriptive text of the update feature"
},
"aboutAssetsUpdateColPath" : {
"message": "Élément dynamique",
"description": "Path column header"
},
"aboutAssetsUpdateColStatus" : {
"message": "État",
"description": "Status column header"
},
"aboutAssetsUpdateGetListError" : {
"message": "Une erreur est survenue. Veuillez vous assurer que les requêtes de type <b>XHR</b> ne soient pas bloquées pour <b>raw2.github.com</b>",
"description": "Successful outcome of clicking 'update' button"
},
"aboutAssetsUpdateStatusAdded" : {
"message": "À ajouter",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateStatusChanged" : {
"message": "Nouvelle version disponible",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateStatusUnchanged" : {
"message": "À jour",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateStatusRemoved" : {
"message": "À supprimer",
"description": "Displayed in the status column for each entry"
},
"aboutAssetsUpdateButton" : {
"message": "Mettre à jour",
"description": "Update button"
},
"aboutAssetsUpdatingButton" : {
"message": "Mise à jour en cours...",
"description": "Updating..."
},
"dummy": {
"message": "This entry must be the last one",
"description": "so we dont need to deal with comma for last entry"
}
}
{
"extName": {
"message": "µBlock",
"description": "название расширения"
},
"extShortDesc": {
"message": "Finally, an efficient blocker for Chromium-based browsers. Easy on CPU and memory.",
"description": "this will in chrome web store: must be 132 characters or less"
},
"3pPageName" : {
"message": "Third-party filters",
"description": "appears as tab name in dashboard"
},
"1pPageName" : {
"message": "Your filters",
"description": "appears as tab name in dashboard."
},
"aboutPageName": {
"message": "О расширении",
"description": "appears as tab name in dashboard."
},
"3pListsOfBlockedHostsPrompt2" : {
"message": "{{ubiquitousBlacklistCount}} блокируется хостов, помимо:",
"description": "English: {{ubiquitousBlacklistCount}} distinct blocked hostnames from:"
},
"3pListsOfBlockedHostsPerListStats" : {
"message": "{{used}} используется из {{total}}",
"description": "English: {{used}} used out of {{total}}"
},
"3pParseAllABPHideFiltersPrompt1" : {
"message": "Разбор и применение Adblock+ фильтров скрытия элементов.",
"description": "English: Parse and enforce Adblock+ element hiding filters."
},
"3pParseAllABPHideFiltersPrompt2" : {
"message": "{{abpHideFilterCount}} element hiding filters used.",
"description": "English: {{abpHideFilterCount}} element hiding filters used."
},
"3pParseAllABPHideFiltersInfo" : {
"message": "<p>Эта опция включает разбор и применение <a href=\"https://adblockplus.org/en/faq_internal#elemhide\">Adblock Plus-совместимых &ldquo;element hiding&rdquo; фильтров</a>. Эти фильтры по сути только визуальные, они позволяют скрыть элементы страницы, которые не могут быть заблокированы матрицей фильтров или ABP-фильтрами.</p><p>Включение этой опции увеличивает использование памяти для <i>µBlock</i>.</p>",
"description": "English: see English messages.json"
},
"3pListsOfBlockedHostsHeader" : {
"message": "Список блокируемых хостов",
"description": "English: Lists of blocked hosts"
},
"3pApplyChanges" : {
"message": "Применить изменения",
"description": "English: Apply changes"
},
"1pFormatHint" : {
"message": "Одно правило на строку. Правилом может быть обычное имя сайти, или Adblock Plus-совместимый фильтр. Линии начинающиеся с &lsquo;!&rsquo; будут пропущены.",
"description": "English: One filter per line. A filter can be a plain hostname, or an Adblock Plus-compatible filter. Lines prefixed with &lsquo;!&rsquo; will be ignored."
},
"1pImport" : {
"message": "Импортировать и добавить",
"description": "English: Import and append"
},
"1pExport" : {
"message": "Экспортировать",
"description": "English: Export"
},
"1pApplyChanges" : {
"message": "Применить изменения",
"description": "English: Apply changes"
},
"aboutChangelog" : {
"message": "<a href='https://github.com/gorhill/ublock/wiki/Change-log'>Список изменений</a>",
"description": "English: <a href='https://github.com/gorhill/ublock/wiki/Change-log'>Change log</a>"
},
"aboutCode" : {
"message": "<a href='https://github.com/gorhill/ublock'>Исходный код (GPLv3)</a>",
"description": "English: <a href='https://github.com/gorhill/ublock'>Source code (GPLv3)</a>"
},
"aboutExtensionDataHeader" : {
"message": "Данные расширения",
"description": "English: Extension data"
},
"aboutAssetsUpdatePrompt" : {
"message": "<i>µBlock</i> подписки могут быть обновлены здесь вручную, если не хотите ждать новой версии расширения. Они загружаются из <a href=\"https://github.com/gorhill/ublock\">Github хранилища</a>.",
"description": "Short descriptive text of the update feature"
},
"aboutAssetsUpdateColPath" : {
"message": "Путь",
"description": "Path column header"
},
"aboutAssetsUpdateColStatus" : {
"message": "Состояние",
"description": "Status column header"
},
"aboutAssetsUpdateGetListError" : {
"message": "Произошла ошибка. <b>XHR</b> заблокирован для <b>raw2.github.com</b>?",
"description": "Successful outcome of clicking 'update' button"