summaryrefslogtreecommitdiffstats
path: root/platform/mv3/extension
diff options
context:
space:
mode:
Diffstat (limited to 'platform/mv3/extension')
-rw-r--r--platform/mv3/extension/_locales/ar/messages.json4
-rw-r--r--platform/mv3/extension/_locales/az/messages.json6
-rw-r--r--platform/mv3/extension/_locales/be/messages.json4
-rw-r--r--platform/mv3/extension/_locales/bg/messages.json4
-rw-r--r--platform/mv3/extension/_locales/bn/messages.json10
-rw-r--r--platform/mv3/extension/_locales/br_FR/messages.json8
-rw-r--r--platform/mv3/extension/_locales/bs/messages.json4
-rw-r--r--platform/mv3/extension/_locales/ca/messages.json4
-rw-r--r--platform/mv3/extension/_locales/cs/messages.json8
-rw-r--r--platform/mv3/extension/_locales/cv/messages.json6
-rw-r--r--platform/mv3/extension/_locales/cy/messages.json162
-rw-r--r--platform/mv3/extension/_locales/da/messages.json6
-rw-r--r--platform/mv3/extension/_locales/de/messages.json6
-rw-r--r--platform/mv3/extension/_locales/el/messages.json4
-rw-r--r--platform/mv3/extension/_locales/en/messages.json6
-rw-r--r--platform/mv3/extension/_locales/en_GB/messages.json4
-rw-r--r--platform/mv3/extension/_locales/eo/messages.json6
-rw-r--r--platform/mv3/extension/_locales/es/messages.json6
-rw-r--r--platform/mv3/extension/_locales/et/messages.json4
-rw-r--r--platform/mv3/extension/_locales/eu/messages.json8
-rw-r--r--platform/mv3/extension/_locales/fa/messages.json6
-rw-r--r--platform/mv3/extension/_locales/fi/messages.json4
-rw-r--r--platform/mv3/extension/_locales/fil/messages.json6
-rw-r--r--platform/mv3/extension/_locales/fr/messages.json6
-rw-r--r--platform/mv3/extension/_locales/fy/messages.json4
-rw-r--r--platform/mv3/extension/_locales/gl/messages.json4
-rw-r--r--platform/mv3/extension/_locales/gu/messages.json6
-rw-r--r--platform/mv3/extension/_locales/he/messages.json6
-rw-r--r--platform/mv3/extension/_locales/hi/messages.json10
-rw-r--r--platform/mv3/extension/_locales/hr/messages.json6
-rw-r--r--platform/mv3/extension/_locales/hu/messages.json4
-rw-r--r--platform/mv3/extension/_locales/hy/messages.json4
-rw-r--r--platform/mv3/extension/_locales/id/messages.json6
-rw-r--r--platform/mv3/extension/_locales/it/messages.json14
-rw-r--r--platform/mv3/extension/_locales/ja/messages.json4
-rw-r--r--platform/mv3/extension/_locales/ka/messages.json4
-rw-r--r--platform/mv3/extension/_locales/kk/messages.json6
-rw-r--r--platform/mv3/extension/_locales/kn/messages.json46
-rw-r--r--platform/mv3/extension/_locales/ko/messages.json4
-rw-r--r--platform/mv3/extension/_locales/lt/messages.json6
-rw-r--r--platform/mv3/extension/_locales/lv/messages.json4
-rw-r--r--platform/mv3/extension/_locales/mk/messages.json6
-rw-r--r--platform/mv3/extension/_locales/ml/messages.json4
-rw-r--r--platform/mv3/extension/_locales/mr/messages.json6
-rw-r--r--platform/mv3/extension/_locales/ms/messages.json34
-rw-r--r--platform/mv3/extension/_locales/nb/messages.json4
-rw-r--r--platform/mv3/extension/_locales/nl/messages.json4
-rw-r--r--platform/mv3/extension/_locales/oc/messages.json6
-rw-r--r--platform/mv3/extension/_locales/pa/messages.json4
-rw-r--r--platform/mv3/extension/_locales/pl/messages.json6
-rw-r--r--platform/mv3/extension/_locales/pt_BR/messages.json4
-rw-r--r--platform/mv3/extension/_locales/pt_PT/messages.json8
-rw-r--r--platform/mv3/extension/_locales/ro/messages.json4
-rw-r--r--platform/mv3/extension/_locales/ru/messages.json6
-rw-r--r--platform/mv3/extension/_locales/si/messages.json6
-rw-r--r--platform/mv3/extension/_locales/sk/messages.json6
-rw-r--r--platform/mv3/extension/_locales/sl/messages.json6
-rw-r--r--platform/mv3/extension/_locales/so/messages.json6
-rw-r--r--platform/mv3/extension/_locales/sq/messages.json6
-rw-r--r--platform/mv3/extension/_locales/sr/messages.json4
-rw-r--r--platform/mv3/extension/_locales/sv/messages.json6
-rw-r--r--platform/mv3/extension/_locales/sw/messages.json6
-rw-r--r--platform/mv3/extension/_locales/ta/messages.json6
-rw-r--r--platform/mv3/extension/_locales/te/messages.json4
-rw-r--r--platform/mv3/extension/_locales/th/messages.json8
-rw-r--r--platform/mv3/extension/_locales/tr/messages.json4
-rw-r--r--platform/mv3/extension/_locales/uk/messages.json4
-rw-r--r--platform/mv3/extension/_locales/ur/messages.json6
-rw-r--r--platform/mv3/extension/_locales/vi/messages.json4
-rw-r--r--platform/mv3/extension/_locales/zh_CN/messages.json4
-rw-r--r--platform/mv3/extension/_locales/zh_TW/messages.json4
-rw-r--r--platform/mv3/extension/css/settings.css8
-rw-r--r--platform/mv3/extension/dashboard.html13
-rw-r--r--platform/mv3/extension/js/background.js68
-rw-r--r--platform/mv3/extension/js/mode-manager.js45
-rw-r--r--platform/mv3/extension/js/scripting/css-procedural.js41
-rw-r--r--platform/mv3/extension/js/settings.js34
-rw-r--r--platform/mv3/extension/js/utils.js15
78 files changed, 704 insertions, 136 deletions
diff --git a/platform/mv3/extension/_locales/ar/messages.json b/platform/mv3/extension/_locales/ar/messages.json
index d907faa..6b6b476 100644
--- a/platform/mv3/extension/_locales/ar/messages.json
+++ b/platform/mv3/extension/_locales/ar/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "إعادة تحميل الصفحة تلقائيًا عند تغيير وضع التصفية",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "إظهار عدد الطلبات المحظورة على أيقونة شريط الأدوات",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/az/messages.json b/platform/mv3/extension/_locales/az/messages.json
index 59b7d81..deef8d2 100644
--- a/platform/mv3/extension/_locales/az/messages.json
+++ b/platform/mv3/extension/_locales/az/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/be/messages.json b/platform/mv3/extension/_locales/be/messages.json
index 795f961..3e96e72 100644
--- a/platform/mv3/extension/_locales/be/messages.json
+++ b/platform/mv3/extension/_locales/be/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Аўтаматычна абнаўляць старонку пры змене рэжыму фільтравання",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/bg/messages.json b/platform/mv3/extension/_locales/bg/messages.json
index c440a4b..f4606dd 100644
--- a/platform/mv3/extension/_locales/bg/messages.json
+++ b/platform/mv3/extension/_locales/bg/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Автоматично презареждане на страницата при промяна на режима на филтриране",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Показване на брояч в иконката за блокираните заявки",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/bn/messages.json b/platform/mv3/extension/_locales/bn/messages.json
index ba12b5d..1232fc7 100644
--- a/platform/mv3/extension/_locales/bn/messages.json
+++ b/platform/mv3/extension/_locales/bn/messages.json
@@ -16,7 +16,7 @@
"description": "English: uBO Lite — Dashboard"
},
"settingsPageName": {
- "message": "পছন্দসমূহ",
+ "message": "সেটিংস",
"description": "appears as tab name in dashboard"
},
"aboutPageName": {
@@ -116,7 +116,7 @@
"description": "This describes the default filtering mode setting"
},
"filteringMode0Name": {
- "message": "ছাঁকনি নেই",
+ "message": "ফিল্টারিং নেই",
"description": "Name of blocking mode 0"
},
"filteringMode1Name": {
@@ -152,7 +152,11 @@
"description": "The header text for the 'Behavior' section"
},
"autoReloadLabel": {
- "message": "ফিল্টারিং মোড পরিবর্তন করার সময় স্বয়ংক্রিয়ভাবে পেজ পুনরায় লোড করুন",
+ "message": "ফিল্টারিং মোড পরিবর্তন করার সময় স্বয়ংক্রিয়ভাবে পুনরায় লোড করুন",
+ "description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
"description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/br_FR/messages.json b/platform/mv3/extension/_locales/br_FR/messages.json
index 48f7013..3039596 100644
--- a/platform/mv3/extension/_locales/br_FR/messages.json
+++ b/platform/mv3/extension/_locales/br_FR/messages.json
@@ -88,7 +88,7 @@
"description": "Link text to source code repo"
},
"aboutTranslations": {
- "message": "Troidigezhioù",
+ "message": "Treiñ",
"description": "Link text to translations repo"
},
"aboutFilterLists": {
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Roll eus anvioù domanioù el-lec'h ne vo silañ ebet",
+ "message": "Roll anvioù domanioù ha ne vint ket silet.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Adkargañ ar bajenn ent-emgefreek pa vez cheñchet an doare silañ",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Diskouez an niver a rekedoù bet stanket war arouez ar varrenn-ostilhoù",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/bs/messages.json b/platform/mv3/extension/_locales/bs/messages.json
index 14e847d..ab768f6 100644
--- a/platform/mv3/extension/_locales/bs/messages.json
+++ b/platform/mv3/extension/_locales/bs/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatski ponovo učitajte stranicu prilikom promjene načina filtriranja",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ca/messages.json b/platform/mv3/extension/_locales/ca/messages.json
index abe76eb..5e1f1eb 100644
--- a/platform/mv3/extension/_locales/ca/messages.json
+++ b/platform/mv3/extension/_locales/ca/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Recarrega automàticament la pàgina quan canvieu el mode de filtratge",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Mostra el nombre de sol·licituds blocades a la icona de la barra d'eines",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/cs/messages.json b/platform/mv3/extension/_locales/cs/messages.json
index abc5164..db051f0 100644
--- a/platform/mv3/extension/_locales/cs/messages.json
+++ b/platform/mv3/extension/_locales/cs/messages.json
@@ -4,7 +4,7 @@
"description": "extension name."
},
"extShortDesc": {
- "message": "Experimentální blokátor obsahu vyžadující méně oprávnění. Blokuje reklamy, sledovače, těžaře a jiné ihned po instalaci.",
+ "message": "Blokátor obsahu vyžadující méně oprávnění. Blokuje reklamy, sledovače, těžaře a jiné ihned po instalaci.",
"description": "this will be in the Chrome web store: must be 132 characters or less"
},
"perRulesetStats": {
@@ -80,7 +80,7 @@
"description": "English: Source code (GPLv3)"
},
"aboutContributors": {
- "message": "Přispívající",
+ "message": "Přispěvatelé",
"description": "English: Contributors"
},
"aboutSourceCode": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automaticky znovu načíst stránku při změně filtrovacího režimu",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Zobrazit počet blokovaných požadavků u ikony v panelu nástrojů",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/cv/messages.json b/platform/mv3/extension/_locales/cv/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/cv/messages.json
+++ b/platform/mv3/extension/_locales/cv/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/cy/messages.json b/platform/mv3/extension/_locales/cy/messages.json
new file mode 100644
index 0000000..c9d0e36
--- /dev/null
+++ b/platform/mv3/extension/_locales/cy/messages.json
@@ -0,0 +1,162 @@
+{
+ "extName": {
+ "message": "uBlock Origin Lite",
+ "description": "extension name."
+ },
+ "extShortDesc": {
+ "message": "Rhwystrydd cynnwys nad yw'n gofyn am hawliau. Rhwystrwch hysbysebion, tracwyr, cloddwyr, a mwy, yn syth ar ôl gosod.",
+ "description": "this will be in the Chrome web store: must be 132 characters or less"
+ },
+ "perRulesetStats": {
+ "message": "{{ruleCount}} rules, converted from {{filterCount}} network filters",
+ "description": "Appears aside each filter list in the _3rd-party filters_ pane"
+ },
+ "dashboardName": {
+ "message": "uBO Lite — Dashfwrdd",
+ "description": "English: uBO Lite — Dashboard"
+ },
+ "settingsPageName": {
+ "message": "Gosodiadau",
+ "description": "appears as tab name in dashboard"
+ },
+ "aboutPageName": {
+ "message": "Ynghylch",
+ "description": "appears as tab name in dashboard"
+ },
+ "aboutPrivacyPolicy": {
+ "message": "Polisi preifatrwydd",
+ "description": "Link to privacy policy on GitHub (English)"
+ },
+ "popupFilteringModeLabel": {
+ "message": "modd hidlo",
+ "description": "Label in the popup panel for the current filtering mode"
+ },
+ "popupTipDashboard": {
+ "message": "Agor y dashfwrdd",
+ "description": "English: Click to open the dashboard"
+ },
+ "popupMoreButton": {
+ "message": "Mwy",
+ "description": "Label to be used to show popup panel sections"
+ },
+ "popupLessButton": {
+ "message": "Llai",
+ "description": "Label to be used to hide popup panel sections"
+ },
+ "3pGroupDefault": {
+ "message": "Default",
+ "description": "Header for a ruleset section in 'Filter lists pane'"
+ },
+ "3pGroupAds": {
+ "message": "Hysbysebion",
+ "description": "Header for a ruleset section in 'Filter lists pane'"
+ },
+ "3pGroupPrivacy": {
+ "message": "Preifatrwydd",
+ "description": "Header for a ruleset section in 'Filter lists pane'"
+ },
+ "3pGroupMalware": {
+ "message": "Malware domains",
+ "description": "Header for a ruleset section in 'Filter lists pane'"
+ },
+ "3pGroupAnnoyances": {
+ "message": "Pethau diflas",
+ "description": "Header for a ruleset section in 'Filter lists pane'"
+ },
+ "3pGroupMisc": {
+ "message": "Amrywiol",
+ "description": "Header for a ruleset section in 'Filter lists pane'"
+ },
+ "3pGroupRegions": {
+ "message": "Rhanbarthau, ieithoedd",
+ "description": "Header for a ruleset section in 'Filter lists pane'"
+ },
+ "aboutChangelog": {
+ "message": "Cofnod newidiadau",
+ "description": ""
+ },
+ "aboutCode": {
+ "message": "Cod ffynhonnell (GPLv3)",
+ "description": "English: Source code (GPLv3)"
+ },
+ "aboutContributors": {
+ "message": "Cyfranwyr",
+ "description": "English: Contributors"
+ },
+ "aboutSourceCode": {
+ "message": "Cod ffynhonnell",
+ "description": "Link text to source code repo"
+ },
+ "aboutTranslations": {
+ "message": "Cyfieithiadau",
+ "description": "Link text to translations repo"
+ },
+ "aboutFilterLists": {
+ "message": "Rhestri hidlo",
+ "description": "Link text to uBO's own filter lists repo"
+ },
+ "aboutDependencies": {
+ "message": "Gofynion allanol (cydnaws â GPLv3):",
+ "description": "Shown in the About pane"
+ },
+ "firstRunSectionLabel": {
+ "message": "Croeso",
+ "description": "The header text for the welcome message section"
+ },
+ "firstRunDescription": {
+ "message": "You have just installed uBO Lite. Here you can choose the default filtering mode to use on all websites.\n\nBy default, <em>Basic</em> mode is selected because it does not require the permission to read and modify data. If you trust uBO Lite, you can give it broad permission to read and modify data on all websites in order to enable more advanced filtering capabilities for all websites by default.",
+ "description": "Descriptive text shown at first install time only "
+ },
+ "defaultFilteringModeSectionLabel": {
+ "message": "Default filtering mode",
+ "description": "The header text for the default filtering mode section"
+ },
+ "defaultFilteringModeDescription": {
+ "message": "The default filtering mode will be overridden by per-website filtering modes. You can adjust the filtering mode on any given website according to whichever mode works best on that website. Each mode has its advantages and disadvantages.",
+ "description": "This describes the default filtering mode setting"
+ },
+ "filteringMode0Name": {
+ "message": "dim hidlo",
+ "description": "Name of blocking mode 0"
+ },
+ "filteringMode1Name": {
+ "message": "sylfaenol",
+ "description": "Name of blocking mode 1"
+ },
+ "filteringMode2Name": {
+ "message": "priodol",
+ "description": "Name of blocking mode 2"
+ },
+ "filteringMode3Name": {
+ "message": "cyflawn",
+ "description": "Name of blocking mode 3"
+ },
+ "basicFilteringModeDescription": {
+ "message": "Basic network filtering from selected filter lists.\n\nDoes not require permission to read and modify data on websites.",
+ "description": "This describes the 'basic' filtering mode"
+ },
+ "optimalFilteringModeDescription": {
+ "message": "Advanced network filtering plus specific extended filtering from selected filter lists.\n\nRequires broad permission to read and modify data on all websites.",
+ "description": "This describes the 'optimal' filtering mode"
+ },
+ "completeFilteringModeDescription": {
+ "message": "Advanced network filtering plus specific and generic extended filtering from selected filter lists.\n\nRequires broad permission to read and modify data on all websites.\n\nGeneric extended filtering may cause higher webpage resources usage.",
+ "description": "This describes the 'complete' filtering mode"
+ },
+ "noFilteringModeDescription": {
+ "message": "List of hostnames for which no filtering will take place.",
+ "description": "A short description for the editable field which lists trusted sites"
+ },
+ "behaviorSectionLabel": {
+ "message": "Ymddygiad",
+ "description": "The header text for the 'Behavior' section"
+ },
+ "autoReloadLabel": {
+ "message": "Ail-lwytho tudalen ar ôl newid y modd hidlo",
+ "description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
+ }
+}
diff --git a/platform/mv3/extension/_locales/da/messages.json b/platform/mv3/extension/_locales/da/messages.json
index 7f628ab..ae494fe 100644
--- a/platform/mv3/extension/_locales/da/messages.json
+++ b/platform/mv3/extension/_locales/da/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Liste over værtsnavne, for hvilke ingen filtrering vil ske",
+ "message": "Liste over værtsnavne, for hvilke ingen filtrering vil ske.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatisk sidegenindlæsning ved skift af filtreringstilstand",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Vis antallet af blokerede forespørgsler på værktøjsbjælkeikonet",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/de/messages.json b/platform/mv3/extension/_locales/de/messages.json
index 1e014df..13829f3 100644
--- a/platform/mv3/extension/_locales/de/messages.json
+++ b/platform/mv3/extension/_locales/de/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Liste der Hostnamen, für die nicht gefiltert wird",
+ "message": "Liste der Hostnamen, für die nicht gefiltert wird.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Seite beim Ändern des Filtermodus automatisch neu laden",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Anzahl der blockierten Anfragen auf dem Symbol in der Symbolleiste anzeigen",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/el/messages.json b/platform/mv3/extension/_locales/el/messages.json
index cc8c204..8e3bc5e 100644
--- a/platform/mv3/extension/_locales/el/messages.json
+++ b/platform/mv3/extension/_locales/el/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Αυτόματη επαναφόρτωση σελίδας κατά την αλλαγή λειτουργίας φιλτραρίσματος",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Εμφάνιση του αριθμού των αποκλεισμένων αιτημάτων στο εικονίδιο της γραμμής εργαλείων",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/en/messages.json b/platform/mv3/extension/_locales/en/messages.json
index 6725ba1..878f3cc 100644
--- a/platform/mv3/extension/_locales/en/messages.json
+++ b/platform/mv3/extension/_locales/en/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/en_GB/messages.json b/platform/mv3/extension/_locales/en_GB/messages.json
index b935137..884d7c1 100644
--- a/platform/mv3/extension/_locales/en_GB/messages.json
+++ b/platform/mv3/extension/_locales/en_GB/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/eo/messages.json b/platform/mv3/extension/_locales/eo/messages.json
index 9e86eea..ba5cfde 100644
--- a/platform/mv3/extension/_locales/eo/messages.json
+++ b/platform/mv3/extension/_locales/eo/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/es/messages.json b/platform/mv3/extension/_locales/es/messages.json
index 1bf7af5..53ff70b 100644
--- a/platform/mv3/extension/_locales/es/messages.json
+++ b/platform/mv3/extension/_locales/es/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Lista de nombres de host para los cuales no tendrá lugar el filtrado",
+ "message": "Lista de nombres de dominio para los cuales no se realizará ningún filtrado.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Recargar automáticamente la página al cambiar el modo de filtrado",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Mostrar el número de peticiones bloqueadas en el icono de la barra de herramientas",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/et/messages.json b/platform/mv3/extension/_locales/et/messages.json
index 92e5952..69f6aa2 100644
--- a/platform/mv3/extension/_locales/et/messages.json
+++ b/platform/mv3/extension/_locales/et/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Leht laadib ise uuesti filtreerimisrežiimi muutmisel",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Kuva tööriistariba ikoonil blokeeritud elementide arv",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/eu/messages.json b/platform/mv3/extension/_locales/eu/messages.json
index 386468f..aa48a0a 100644
--- a/platform/mv3/extension/_locales/eu/messages.json
+++ b/platform/mv3/extension/_locales/eu/messages.json
@@ -4,7 +4,7 @@
"description": "extension name."
},
"extShortDesc": {
- "message": "Probatako eta baimenik behar ez duen eduki-blokeatzailea. Iragarkiak, jarraitzeko tresnak, eta gehiago instalatzean bertan [...]",
+ "message": "Probatako eta baimenik behar ez duen eduki-blokeatzailea. Iragarkiak, jarraitzeko tresnak, eta gehiago instalatzean bertan.",
"description": "this will be in the Chrome web store: must be 132 characters or less"
},
"perRulesetStats": {
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "Filtrorik ezarriko ez zaien zerbitzarien izenak",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Orria automatikoki kargatuko da iragazteko modua aldatuko denean",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/fa/messages.json b/platform/mv3/extension/_locales/fa/messages.json
index b0ed662..900a492 100644
--- a/platform/mv3/extension/_locales/fa/messages.json
+++ b/platform/mv3/extension/_locales/fa/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/fi/messages.json b/platform/mv3/extension/_locales/fi/messages.json
index 44ac9b0..05d4211 100644
--- a/platform/mv3/extension/_locales/fi/messages.json
+++ b/platform/mv3/extension/_locales/fi/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Lataa sivu suodatustilan vaihtuessa automaattisesti uudelleen",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Näytä estettyjen pyyntöjen määrä työkalupalkin kuvakkeessa",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/fil/messages.json b/platform/mv3/extension/_locales/fil/messages.json
index 68025d2..fe5daa4 100644
--- a/platform/mv3/extension/_locales/fil/messages.json
+++ b/platform/mv3/extension/_locales/fil/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Awtomatikong i-reload ang pahina kapag binago ang mode sa pagfi-filter",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/fr/messages.json b/platform/mv3/extension/_locales/fr/messages.json
index 2f6a837..0152c8e 100644
--- a/platform/mv3/extension/_locales/fr/messages.json
+++ b/platform/mv3/extension/_locales/fr/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Liste des noms de domaine pour lesquels aucun filtrage n'aura lieu",
+ "message": "Liste des noms de domaine qu'uBO Lite ne devra pas filtrer",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Recharger automatiquement la page lors du changement de mode de filtrage",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Afficher le nombre de requêtes bloquées sur l'icône",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/fy/messages.json b/platform/mv3/extension/_locales/fy/messages.json
index 606fc0a..f583e4b 100644
--- a/platform/mv3/extension/_locales/fy/messages.json
+++ b/platform/mv3/extension/_locales/fy/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Side automatysk fernije by wizigjen fan filtermodus",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "It tal blokkearre oanfragen op it arkbalkepiktogram toane",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/gl/messages.json b/platform/mv3/extension/_locales/gl/messages.json
index 460bdb8..760c65c 100644
--- a/platform/mv3/extension/_locales/gl/messages.json
+++ b/platform/mv3/extension/_locales/gl/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Recargar automáticamente a páxina a cambiar o modo de filtrado",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Mostrar na icona da barra o número de peticións bloqueadas",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/gu/messages.json b/platform/mv3/extension/_locales/gu/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/gu/messages.json
+++ b/platform/mv3/extension/_locales/gu/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/he/messages.json b/platform/mv3/extension/_locales/he/messages.json
index 3782fdb..beb73f2 100644
--- a/platform/mv3/extension/_locales/he/messages.json
+++ b/platform/mv3/extension/_locales/he/messages.json
@@ -20,7 +20,7 @@
"description": "appears as tab name in dashboard"
},
"aboutPageName": {
- "message": "אודות",
+ "message": "על אודות",
"description": "appears as tab name in dashboard"
},
"aboutPrivacyPolicy": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "טעינת עמוד באופן אוטומטי עם שינוי מצב סינון",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "הצגת מספר הבקשות החסומות על הסמל",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/hi/messages.json b/platform/mv3/extension/_locales/hi/messages.json
index 89ed004..244acb8 100644
--- a/platform/mv3/extension/_locales/hi/messages.json
+++ b/platform/mv3/extension/_locales/hi/messages.json
@@ -20,7 +20,7 @@
"description": "appears as tab name in dashboard"
},
"aboutPageName": {
- "message": "परिचय",
+ "message": "जानकारी",
"description": "appears as tab name in dashboard"
},
"aboutPrivacyPolicy": {
@@ -72,11 +72,11 @@
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"aboutChangelog": {
- "message": "परिवर्तन लॉग",
+ "message": "परिवर्तन पत्र",
"description": ""
},
"aboutCode": {
- "message": "सोर्स कोड {GPLv3}",
+ "message": "सोर्स कोड (GPLv3)",
"description": "English: Source code (GPLv3)"
},
"aboutContributors": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "फ़िल्टरिंग मोड बदलते समय स्वचालित रूप से पृष्ठ पुनः लोड करें",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "टूलबार आइकन पर अवरुद्ध अनुरोधों की संख्या दिखाएं",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/hr/messages.json b/platform/mv3/extension/_locales/hr/messages.json
index 14c9401..2ae0291 100644
--- a/platform/mv3/extension/_locales/hr/messages.json
+++ b/platform/mv3/extension/_locales/hr/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Popis naziva hostova za koje se neće izvršiti filtriranje",
+ "message": "Popis naziva hostova za koje se neće izvršiti filtriranje.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatski ponovno učitaj stranicu pri promjeni načina filtriranja",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Prikaži broj blokiranih zahtjeva na ikoni alatne trake",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/hu/messages.json b/platform/mv3/extension/_locales/hu/messages.json
index 5fe25d2..3ec2b0e 100644
--- a/platform/mv3/extension/_locales/hu/messages.json
+++ b/platform/mv3/extension/_locales/hu/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Az oldal automatikus újratöltése a szűrési mód megváltoztatásakor",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Blokkolt kérések számának megjelenítése az eszköztárikonon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/hy/messages.json b/platform/mv3/extension/_locales/hy/messages.json
index 50b9b44..7defd2e 100644
--- a/platform/mv3/extension/_locales/hy/messages.json
+++ b/platform/mv3/extension/_locales/hy/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Զտման ռեժիմը փոխելիս ինքնաշխատորեն վերաբեռնել էջը",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/id/messages.json b/platform/mv3/extension/_locales/id/messages.json
index e3c6f69..a71f966 100644
--- a/platform/mv3/extension/_locales/id/messages.json
+++ b/platform/mv3/extension/_locales/id/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Otomatis memuat ulang halaman web saat mengubah mode filter",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/it/messages.json b/platform/mv3/extension/_locales/it/messages.json
index 04c500e..beea941 100644
--- a/platform/mv3/extension/_locales/it/messages.json
+++ b/platform/mv3/extension/_locales/it/messages.json
@@ -8,11 +8,11 @@
"description": "this will be in the Chrome web store: must be 132 characters or less"
},
"perRulesetStats": {
- "message": "{{ruleCount}} regole, convertite da {{filterCount}} filtri di rete",
+ "message": "{{ruleCount}} Regole, convertite da {{filterCount}} filtri di rete",
"description": "Appears aside each filter list in the _3rd-party filters_ pane"
},
"dashboardName": {
- "message": "uBO Lite — Cruscotto",
+ "message": "uBO Lite — Pannello di controllo",
"description": "English: uBO Lite — Dashboard"
},
"settingsPageName": {
@@ -32,7 +32,7 @@
"description": "Label in the popup panel for the current filtering mode"
},
"popupTipDashboard": {
- "message": "Accedi al cruscotto",
+ "message": "Apri il pannello di controllo",
"description": "English: Click to open the dashboard"
},
"popupMoreButton": {
@@ -44,7 +44,7 @@
"description": "Label to be used to hide popup panel sections"
},
"3pGroupDefault": {
- "message": "Predefinite",
+ "message": "Predefiniti",
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupAds": {
@@ -60,7 +60,7 @@
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupAnnoyances": {
- "message": "Scocciature",
+ "message": "Disturbi",
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupMisc": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Ricarica la pagina quando scegli un altro metodo di filtraggio",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Mostra il numero di richieste bloccate sull'icona nella barra degli strumenti",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ja/messages.json b/platform/mv3/extension/_locales/ja/messages.json
index fe679dc..ea15fdd 100644
--- a/platform/mv3/extension/_locales/ja/messages.json
+++ b/platform/mv3/extension/_locales/ja/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "フィルタリングモード変更時にページを自動再読み込みする",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "ブロックしたリクエストの数をツールバーのアイコンに表示",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ka/messages.json b/platform/mv3/extension/_locales/ka/messages.json
index 298a736..c728583 100644
--- a/platform/mv3/extension/_locales/ka/messages.json
+++ b/platform/mv3/extension/_locales/ka/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "გვერდის ავტომატური განახლება ფილტრაციის რეჟიმის შეცვლისას",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/kk/messages.json b/platform/mv3/extension/_locales/kk/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/kk/messages.json
+++ b/platform/mv3/extension/_locales/kk/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/kn/messages.json b/platform/mv3/extension/_locales/kn/messages.json
index 627857e..30c578f 100644
--- a/platform/mv3/extension/_locales/kn/messages.json
+++ b/platform/mv3/extension/_locales/kn/messages.json
@@ -4,7 +4,7 @@
"description": "extension name."
},
"extShortDesc": {
- "message": "A permission-less content blocker. Blocks ads, trackers, miners, and more immediately upon installation.",
+ "message": "ಅನುಮತಿ-ಕಡಿಮೆ ವಿಷಯ ಬ್ಲಾಕರ್. ಅನುಸ್ಥಾಪನೆಯ ತಕ್ಷಣವೇ ಜಾಹೀರಾತುಗಳು, ಟ್ರ್ಯಾಕರ್‌ಗಳು, ಗಣಿಗಾರರು ಮತ್ತು ಹೆಚ್ಚಿನದನ್ನು ನಿರ್ಬಂಧಿಸುತ್ತದೆ.",
"description": "this will be in the Chrome web store: must be 132 characters or less"
},
"perRulesetStats": {
@@ -12,19 +12,19 @@
"description": "Appears aside each filter list in the _3rd-party filters_ pane"
},
"dashboardName": {
- "message": "uBO Lite — Dashboard",
+ "message": "\nಯುಬಿಒ ಲೈಟ್ - ಡ್ಯಾಶ್‌ಬೋರ್ಡ್\n",
"description": "English: uBO Lite — Dashboard"
},
"settingsPageName": {
- "message": "Settings",
+ "message": "ಸಂಯೋಜನೆಗಳು",
"description": "appears as tab name in dashboard"
},
"aboutPageName": {
- "message": "About",
+ "message": "ಬಗ್ಗೆ",
"description": "appears as tab name in dashboard"
},
"aboutPrivacyPolicy": {
- "message": "Privacy policy",
+ "message": "ಗೌಪ್ಯತಾ ನೀತಿ\n",
"description": "Link to privacy policy on GitHub (English)"
},
"popupFilteringModeLabel": {
@@ -32,27 +32,27 @@
"description": "Label in the popup panel for the current filtering mode"
},
"popupTipDashboard": {
- "message": "Open the dashboard",
+ "message": "ಡ್ಯಾಶ್‌ಬೋರ್ಡ್ ತೆರೆಯಿರಿ",
"description": "English: Click to open the dashboard"
},
"popupMoreButton": {
- "message": "More",
+ "message": "ಇನ್ನಷ್ಟು",
"description": "Label to be used to show popup panel sections"
},
"popupLessButton": {
- "message": "Less",
+ "message": "ಕಡಿಮೆ",
"description": "Label to be used to hide popup panel sections"
},
"3pGroupDefault": {
- "message": "Default",
+ "message": "ಪೂರ್ವನಿಯೋಜಿತ",
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupAds": {
- "message": "Ads",
+ "message": "ಜಾಹೀರಾತುಗಳು",
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupPrivacy": {
- "message": "Privacy",
+ "message": "ಗೌಪ್ಯತೆ",
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupMalware": {
@@ -64,15 +64,15 @@
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupMisc": {
- "message": "Miscellaneous",
+ "message": "ವಿವಿಧ",
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupRegions": {
- "message": "Regions, languages",
+ "message": "ಪ್ರದೇಶಗಳು, ಭಾಷೆಗಳು\n",
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"aboutChangelog": {
- "message": "Changelog",
+ "message": "ಬದಲಾವಣೆಗಳು",
"description": ""
},
"aboutCode": {
@@ -84,15 +84,15 @@
"description": "English: Contributors"
},
"aboutSourceCode": {
- "message": "Source code",
+ "message": "ಮೂಲ ಕೊಡ್",
"description": "Link text to source code repo"
},
"aboutTranslations": {
- "message": "Translations",
+ "message": "ಅನುವಾದ",
"description": "Link text to translations repo"
},
"aboutFilterLists": {
- "message": "Filter lists",
+ "message": "ಫಿಲ್ಟರ್ ಪಟ್ಟಿಗಳು",
"description": "Link text to uBO's own filter lists repo"
},
"aboutDependencies": {
@@ -100,7 +100,7 @@
"description": "Shown in the About pane"
},
"firstRunSectionLabel": {
- "message": "Welcome",
+ "message": "ಸ್ವಾಗತ",
"description": "The header text for the welcome message section"
},
"firstRunDescription": {
@@ -120,7 +120,7 @@
"description": "Name of blocking mode 0"
},
"filteringMode1Name": {
- "message": "basic",
+ "message": "ಸಾಮಾನ್ಯ",
"description": "Name of blocking mode 1"
},
"filteringMode2Name": {
@@ -128,7 +128,7 @@
"description": "Name of blocking mode 2"
},
"filteringMode3Name": {
- "message": "complete",
+ "message": "ಪೂರ್ಣ",
"description": "Name of blocking mode 3"
},
"basicFilteringModeDescription": {
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ko/messages.json b/platform/mv3/extension/_locales/ko/messages.json
index 5942fce..d066b63 100644
--- a/platform/mv3/extension/_locales/ko/messages.json
+++ b/platform/mv3/extension/_locales/ko/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "필터링 모드를 변경할 때 페이지 자동 새로고침",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "차단된 요청 개수를 도구 모음 아이콘에 표시",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/lt/messages.json b/platform/mv3/extension/_locales/lt/messages.json
index 0377c08..3f0bad8 100644
--- a/platform/mv3/extension/_locales/lt/messages.json
+++ b/platform/mv3/extension/_locales/lt/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatiškai perkrauti sveitane keičiant filtro rėžimą",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/lv/messages.json b/platform/mv3/extension/_locales/lv/messages.json
index bea58f2..a37ba6d 100644
--- a/platform/mv3/extension/_locales/lv/messages.json
+++ b/platform/mv3/extension/_locales/lv/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Pārlādēt lapu pēc aizturēšanas veida nomaiņas.",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Rādīt aizturēto pieprasījumu skaitu rīkjoslas ikonā",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/mk/messages.json b/platform/mv3/extension/_locales/mk/messages.json
index 0ef10c7..cb7631b 100644
--- a/platform/mv3/extension/_locales/mk/messages.json
+++ b/platform/mv3/extension/_locales/mk/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ml/messages.json b/platform/mv3/extension/_locales/ml/messages.json
index d272672..2bffd1a 100644
--- a/platform/mv3/extension/_locales/ml/messages.json
+++ b/platform/mv3/extension/_locales/ml/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "ഫിൽട്ടറിംഗ് മോഡ് മാറ്റുമ്പോൾ പേജ് സ്വയമേവ റീലോഡ് ചെയ്യുക",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/mr/messages.json b/platform/mv3/extension/_locales/mr/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/mr/messages.json
+++ b/platform/mv3/extension/_locales/mr/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ms/messages.json b/platform/mv3/extension/_locales/ms/messages.json
index 2128e9b..817a81f 100644
--- a/platform/mv3/extension/_locales/ms/messages.json
+++ b/platform/mv3/extension/_locales/ms/messages.json
@@ -4,15 +4,15 @@
"description": "extension name."
},
"extShortDesc": {
- "message": "A permission-less content blocker. Blocks ads, trackers, miners, and more immediately upon installation.",
+ "message": "Penyekat kandungan tanpa kebenaran. Menyekat iklan, penjejak, pelombong dan banyak lagi sebaik sahaja pemasangan.",
"description": "this will be in the Chrome web store: must be 132 characters or less"
},
"perRulesetStats": {
- "message": "{{ruleCount}} rules, converted from {{filterCount}} network filters",
+ "message": "Peraturan {{ruleCount}}, ditukar daripada penapis rangkaian {{filterCount}}.",
"description": "Appears aside each filter list in the _3rd-party filters_ pane"
},
"dashboardName": {
- "message": "uBO Lite — Dashboard",
+ "message": "uBO Lite — Papan pemuka",
"description": "English: uBO Lite — Dashboard"
},
"settingsPageName": {
@@ -28,11 +28,11 @@
"description": "Link to privacy policy on GitHub (English)"
},
"popupFilteringModeLabel": {
- "message": "filtering mode",
+ "message": "mod penapisan",
"description": "Label in the popup panel for the current filtering mode"
},
"popupTipDashboard": {
- "message": "Open the dashboard",
+ "message": "Buka papan pemuka",
"description": "English: Click to open the dashboard"
},
"popupMoreButton": {
@@ -60,7 +60,7 @@
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupAnnoyances": {
- "message": "Annoyances",
+ "message": "Kegusaran",
"description": "Header for a ruleset section in 'Filter lists pane'"
},
"3pGroupMisc": {
@@ -104,15 +104,15 @@
"description": "The header text for the welcome message section"
},
"firstRunDescription": {
- "message": "You have just installed uBO Lite. Here you can choose the default filtering mode to use on all websites.\n\nBy default, <em>Basic</em> mode is selected because it does not require the permission to read and modify data. If you trust uBO Lite, you can give it broad permission to read and modify data on all websites in order to enable more advanced filtering capabilities for all websites by default.",
+ "message": "Anda baru sahaja memasang uBO Lite. Di sini anda boleh memilih mod penapisan lalai untuk digunakan pada semua tapak web.\n\nSecara lalai, mod <em>Asas</em> dipilih kerana ia tidak memerlukan kebenaran untuk membaca dan mengubah suai data. Jika anda mempercayai uBO Lite, anda boleh memberikannya kebenaran untuk membaca dan mengubah suai data pada semua tapak web untuk mendayakan keupayaan penapisan yang lebih maju untuk semua tapak web secara lalai.",
"description": "Descriptive text shown at first install time only "
},
"defaultFilteringModeSectionLabel": {
- "message": "Default filtering mode",
+ "message": "Mod penapisan lalai",
"description": "The header text for the default filtering mode section"
},
"defaultFilteringModeDescription": {
- "message": "The default filtering mode will be overridden by per-website filtering modes. You can adjust the filtering mode on any given website according to whichever mode works best on that website. Each mode has its advantages and disadvantages.",
+ "message": "Mod penapisan lalai akan ditindih oleh mod penapisan setiap tapak web. Anda boleh melaraskan mod penapisan pada mana-mana tapak web tertentu mengikut mana-mana mod yang paling berkesan pada tapak web tersebut. Setiap mod mempunyai kelebihan dan kekurangannya.",
"description": "This describes the default filtering mode setting"
},
"filteringMode0Name": {
@@ -124,7 +124,7 @@
"description": "Name of blocking mode 1"
},
"filteringMode2Name": {
- "message": "optima",
+ "message": "optimum",
"description": "Name of blocking mode 2"
},
"filteringMode3Name": {
@@ -132,19 +132,19 @@
"description": "Name of blocking mode 3"
},
"basicFilteringModeDescription": {
- "message": "Basic network filtering from selected filter lists.\n\nDoes not require permission to read and modify data on websites.",
+ "message": "Penapisan rangkaian asas daripada senarai penapis yang dipilih.\n\nTidak memerlukan kebenaran untuk membaca dan mengubah suai data pada tapak web.",
"description": "This describes the 'basic' filtering mode"
},
"optimalFilteringModeDescription": {
- "message": "Advanced network filtering plus specific extended filtering from selected filter lists.\n\nRequires broad permission to read and modify data on all websites.",
+ "message": "Penapisan rangkaian lanjutan ditambah penapisan lanjutan khusus daripada senarai penapis yang dipilih.\n\nMemerlukan kebenaran untuk membaca dan mengubah suai data pada semua tapak web.",
"description": "This describes the 'optimal' filtering mode"
},
"completeFilteringModeDescription": {
- "message": "Advanced network filtering plus specific and generic extended filtering from selected filter lists.\n\nRequires broad permission to read and modify data on all websites.\n\nGeneric extended filtering may cause higher webpage resources usage.",
+ "message": "Penapisan rangkaian lanjutan serta penapisan lanjutan khusus dan generik daripada senarai penapis yang dipilih.\n\nMemerlukan kebenaran untuk membaca dan mengubah suai data pada semua tapak web.\n\nPenapisan lanjutan generik boleh menyebabkan penggunaan sumber halaman web yang lebih tinggi.",
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "Senarai nama hos yang tiada penapisan akan berlaku",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -152,7 +152,11 @@
"description": "The header text for the 'Behavior' section"
},
"autoReloadLabel": {
- "message": "Automatically reload page when changing filtering mode",
+ "message": "Muat semula halaman secara automatik apabila menukar mod penapisan",
+ "description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
"description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/nb/messages.json b/platform/mv3/extension/_locales/nb/messages.json
index 5c47f65..4b0accf 100644
--- a/platform/mv3/extension/_locales/nb/messages.json
+++ b/platform/mv3/extension/_locales/nb/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatisk last side på nytt ved endring av filtreringsmodus",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Vis antall blokkerte forespørsler på vertøyslinje-ikonet",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/nl/messages.json b/platform/mv3/extension/_locales/nl/messages.json
index b83eeae..d73b801 100644
--- a/platform/mv3/extension/_locales/nl/messages.json
+++ b/platform/mv3/extension/_locales/nl/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Pagina automatisch vernieuwen bij wijzigen van filtermodus",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Het aantal geblokkeerde aanvragen op het werkbalkpictogram tonen",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/oc/messages.json b/platform/mv3/extension/_locales/oc/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/oc/messages.json
+++ b/platform/mv3/extension/_locales/oc/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/pa/messages.json b/platform/mv3/extension/_locales/pa/messages.json
index 753c355..868cc48 100644
--- a/platform/mv3/extension/_locales/pa/messages.json
+++ b/platform/mv3/extension/_locales/pa/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "ਫਿਲਫਰ ਕਰਨ ਦਾ ਢੰਗ ਬਦਲਣ ਦੇ ਬਾਅਦ ਸਫ਼ੇ ਨੂੰ ਆਪਣੇ-ਆਪ ਲੋਡ ਕਰੋ",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/pl/messages.json b/platform/mv3/extension/_locales/pl/messages.json
index 07c7543..1c7b89f 100644
--- a/platform/mv3/extension/_locales/pl/messages.json
+++ b/platform/mv3/extension/_locales/pl/messages.json
@@ -4,7 +4,7 @@
"description": "extension name."
},
"extShortDesc": {
- "message": "Eksperymentalny, niewymagający uprawnień bloker treści. Natychmiast po instalacji blokuje reklamy, moduły śledzące, koparki i nie tylko.",
+ "message": "Niewymagający uprawnień bloker treści. Natychmiast po instalacji blokuje reklamy, moduły śledzące, koparki i nie tylko.",
"description": "this will be in the Chrome web store: must be 132 characters or less"
},
"perRulesetStats": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatycznie wczytaj ponownie stronę po zmianie trybu filtrowania",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Wyświetlaj liczbę zablokowanych żądań na ikonie paska narzędzi",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/pt_BR/messages.json b/platform/mv3/extension/_locales/pt_BR/messages.json
index cb4e978..e6265ef 100644
--- a/platform/mv3/extension/_locales/pt_BR/messages.json
+++ b/platform/mv3/extension/_locales/pt_BR/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Recarregar a página automaticamente quando mudar o modo de filtragem",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Mostrar o número de solicitações bloqueadas no ícone da barra de ferramentas",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/pt_PT/messages.json b/platform/mv3/extension/_locales/pt_PT/messages.json
index 4bd510a..511db27 100644
--- a/platform/mv3/extension/_locales/pt_PT/messages.json
+++ b/platform/mv3/extension/_locales/pt_PT/messages.json
@@ -140,11 +140,11 @@
"description": "This describes the 'optimal' filtering mode"
},
"completeFilteringModeDescription": {
- "message": "Filtragem de rede avançada mais filtragem alargada específica e genérica a partir de listas de filtros selecionadas.\n\nRequer ampla permissão para ler e modificar dados em todos os websites.\n\nA filtragem alargada genérica pode causar uma maior utilização de recursos das páginas web.",
+ "message": "Filtragem de rede avançada acrescida de filtragem alargada específica e genérica a partir de listas de filtros selecionadas.\n\nRequer permissão ampla para ler e modificar dados em todos os websites.\n\nA filtragem alargada genérica pode causar uma maior utilização de recursos das páginas web.",
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Lista de nomes de anfitriões para os quais não será efetuada qualquer filtragem",
+ "message": "Lista de nomes de anfitriões para os quais não será efetuada qualquer filtragem.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Recarrega automaticamente a página ao mudar o modo de filtragem",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Mostra o número de pedidos bloqueados no ícone da barra de ferramentas",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ro/messages.json b/platform/mv3/extension/_locales/ro/messages.json
index fb01a05..70f9bf6 100644
--- a/platform/mv3/extension/_locales/ro/messages.json
+++ b/platform/mv3/extension/_locales/ro/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Reîncărcare automată a paginii la schimbarea modului de filtrare",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ru/messages.json b/platform/mv3/extension/_locales/ru/messages.json
index 0104b7c..f13511e 100644
--- a/platform/mv3/extension/_locales/ru/messages.json
+++ b/platform/mv3/extension/_locales/ru/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Список имён хостов, для которых не будет производиться фильтрация",
+ "message": "Список имён хостов, для которых не будет производиться фильтрация.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Автоматически перезагружать страницу при изменении режима фильтрации",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Показывать количество заблокированных запросов на иконке в панели инструментов",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/si/messages.json b/platform/mv3/extension/_locales/si/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/si/messages.json
+++ b/platform/mv3/extension/_locales/si/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/sk/messages.json b/platform/mv3/extension/_locales/sk/messages.json
index 997c759..91ebfc9 100644
--- a/platform/mv3/extension/_locales/sk/messages.json
+++ b/platform/mv3/extension/_locales/sk/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "Zoznam názvov hostiteľov s vylúčeným filtrovaním",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automaticky znova načítať stránku pri zmene režimu filtrovania",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Zobraziť počet zablokovaných požiadaviek na ikone rozšírenia",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/sl/messages.json b/platform/mv3/extension/_locales/sl/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/sl/messages.json
+++ b/platform/mv3/extension/_locales/sl/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/so/messages.json b/platform/mv3/extension/_locales/so/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/so/messages.json
+++ b/platform/mv3/extension/_locales/so/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/sq/messages.json b/platform/mv3/extension/_locales/sq/messages.json
index d390d8d..7b8c074 100644
--- a/platform/mv3/extension/_locales/sq/messages.json
+++ b/platform/mv3/extension/_locales/sq/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Emrat e hosteve që nuk do të kalojnë në filtër",
+ "message": "Emrat e hosteve, që nuk do të kalojnë në filtër.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Freskoj automatikisht faqen kur ndryshoj mënyrën e filtrimit",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Shfaq numrin e kërkesave të bllokuara në ikonën e instrumenteve",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/sr/messages.json b/platform/mv3/extension/_locales/sr/messages.json
index 0900785..5680a04 100644
--- a/platform/mv3/extension/_locales/sr/messages.json
+++ b/platform/mv3/extension/_locales/sr/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Аутоматски поново учитај страницу при промени режима филтрирања",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Прикажи број блокираних захтева на иконици на траци алата",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/sv/messages.json b/platform/mv3/extension/_locales/sv/messages.json
index fddcca5..5dcbfc9 100644
--- a/platform/mv3/extension/_locales/sv/messages.json
+++ b/platform/mv3/extension/_locales/sv/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "Lista över värdnamn för vilka ingen filtrering kommer att äga rum",
+ "message": "Lista över värdnamn som inte kommer att filtreras",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Ladda automatiskt om sidan när du byter filtreringsläge",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Visa antalet blockerade förfrågningar på verktygsfältsikonen",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/sw/messages.json b/platform/mv3/extension/_locales/sw/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/sw/messages.json
+++ b/platform/mv3/extension/_locales/sw/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ta/messages.json b/platform/mv3/extension/_locales/ta/messages.json
index 627857e..4bbb5e3 100644
--- a/platform/mv3/extension/_locales/ta/messages.json
+++ b/platform/mv3/extension/_locales/ta/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/te/messages.json b/platform/mv3/extension/_locales/te/messages.json
index e263523..00008c2 100644
--- a/platform/mv3/extension/_locales/te/messages.json
+++ b/platform/mv3/extension/_locales/te/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "ఫిల్టరింగ్ మోడ్‌ను మార్చేటప్పుడు పేజీని స్వయంచాలకంగా రీలోడ్ చేయండి",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/th/messages.json b/platform/mv3/extension/_locales/th/messages.json
index 75f992a..8d523ba 100644
--- a/platform/mv3/extension/_locales/th/messages.json
+++ b/platform/mv3/extension/_locales/th/messages.json
@@ -88,7 +88,7 @@
"description": "Link text to source code repo"
},
"aboutTranslations": {
- "message": "การแปลภาษา",
+ "message": "แปล",
"description": "Link text to translations repo"
},
"aboutFilterLists": {
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/tr/messages.json b/platform/mv3/extension/_locales/tr/messages.json
index b40f8a0..b4e4101 100644
--- a/platform/mv3/extension/_locales/tr/messages.json
+++ b/platform/mv3/extension/_locales/tr/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Filtreleme modu değiştirildiğinde sayfayı yenile",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Engellenen isteklerin sayısını araç çubuğu simgesinde göster",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/uk/messages.json b/platform/mv3/extension/_locales/uk/messages.json
index b48a9bb..5bf1a04 100644
--- a/platform/mv3/extension/_locales/uk/messages.json
+++ b/platform/mv3/extension/_locales/uk/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Автоматично оновити сторінку при зміні режиму фільтрування",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Показувати кількість заблокованих запитів на піктограмі на панелі інструментів",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/ur/messages.json b/platform/mv3/extension/_locales/ur/messages.json
index e66c4a9..2705d51 100644
--- a/platform/mv3/extension/_locales/ur/messages.json
+++ b/platform/mv3/extension/_locales/ur/messages.json
@@ -144,7 +144,7 @@
"description": "This describes the 'complete' filtering mode"
},
"noFilteringModeDescription": {
- "message": "List of hostnames for which no filtering will take place",
+ "message": "List of hostnames for which no filtering will take place.",
"description": "A short description for the editable field which lists trusted sites"
},
"behaviorSectionLabel": {
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Automatically reload page when changing filtering mode",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/vi/messages.json b/platform/mv3/extension/_locales/vi/messages.json
index 6ecd8cb..2c6d1f0 100644
--- a/platform/mv3/extension/_locales/vi/messages.json
+++ b/platform/mv3/extension/_locales/vi/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "Tự động tải lại trang khi thay đổi chế độ bộ lọc",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Hiện số lượng yêu cầu bị chặn trên biểu tượng thanh công cụ",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/zh_CN/messages.json b/platform/mv3/extension/_locales/zh_CN/messages.json
index c11fdf7..793f3c8 100644
--- a/platform/mv3/extension/_locales/zh_CN/messages.json
+++ b/platform/mv3/extension/_locales/zh_CN/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "更改过滤模式后自动刷新网页",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "Show the number of blocked requests on the toolbar icon",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/_locales/zh_TW/messages.json b/platform/mv3/extension/_locales/zh_TW/messages.json
index 7825bd5..99ebc62 100644
--- a/platform/mv3/extension/_locales/zh_TW/messages.json
+++ b/platform/mv3/extension/_locales/zh_TW/messages.json
@@ -154,5 +154,9 @@
"autoReloadLabel": {
"message": "變更過濾模式時自動重新載入頁面",
"description": "Label for a checkbox in the options page"
+ },
+ "showBlockedCountLabel": {
+ "message": "在工具列圖示上顯示被阻擋的連線請求的數量",
+ "description": "Label for a checkbox in the options page"
}
}
diff --git a/platform/mv3/extension/css/settings.css b/platform/mv3/extension/css/settings.css
index f03e276..2e727fc 100644
--- a/platform/mv3/extension/css/settings.css
+++ b/platform/mv3/extension/css/settings.css
@@ -22,6 +22,14 @@ p {
white-space: pre-line;
}
+section > div {
+ padding: 0 var(--default-gap-xxsmall);
+ }
+
+#showBlockedCount:has(input[type="checkbox"][disabled]) {
+ opacity: 0.5;
+ }
+
#defaultFilteringMode {
display: grid;
gap: 1em;
diff --git a/platform/mv3/extension/dashboard.html b/platform/mv3/extension/dashboard.html
index 698e1fb..d2dc918 100644
--- a/platform/mv3/extension/dashboard.html
+++ b/platform/mv3/extension/dashboard.html
@@ -25,6 +25,13 @@
</div>
<!-- -------- -->
<section data-pane="settings">
+ <div>
+ <h3 data-i18n="behaviorSectionLabel"></h3>
+ <p><label id="autoReload" data-i18n="autoReloadLabel"><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>_</label>
+ </p>
+ <p><label id="showBlockedCount" data-i18n="showBlockedCountLabel"><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>_</label>
+ </div>
+
<div class="firstRun">
<h3 data-i18n="firstRunSectionLabel"></h3>
<p data-i18n="firstRunDescription"></p>
@@ -90,12 +97,6 @@
</div>
<div>
- <h3 data-i18n="behaviorSectionLabel"></h3>
- <p><label id="autoReload" data-i18n="autoReloadLabel"><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>_</label>
- </p>
- </div>
-
- <div>
<h3 data-i18n="aboutFilterLists"></h3>
<div>
<p id="listsOfBlockedHostsPrompt"></p>
diff --git a/platform/mv3/extension/js/background.js b/platform/mv3/extension/js/background.js
index 5ceacc4..e65775e 100644
--- a/platform/mv3/extension/js/background.js
+++ b/platform/mv3/extension/js/background.js
@@ -19,47 +19,43 @@
Home: https://github.com/gorhill/uBlock
*/
-/* jshint esversion:11 */
-
-'use strict';
-
/******************************************************************************/
import {
+ adminRead,
browser,
dnr,
- runtime,
localRead, localWrite,
+ runtime,
sessionRead, sessionWrite,
- adminRead,
} from './ext.js';
import {
- getRulesetDetails,
+ broadcastMessage,
+ ubolLog,
+} from './utils.js';
+
+import {
defaultRulesetsFromLanguage,
enableRulesets,
getEnabledRulesetsDetails,
+ getRulesetDetails,
updateDynamicRules,
} from './ruleset-manager.js';
import {
- registerInjectables,
-} from './scripting-manager.js';
-
-import {
- getFilteringMode,
- setFilteringMode,
getDefaultFilteringMode,
- setDefaultFilteringMode,
+ getFilteringMode,
getTrustedSites,
+ setDefaultFilteringMode,
+ setFilteringMode,
setTrustedSites,
syncWithBrowserPermissions,
} from './mode-manager.js';
import {
- broadcastMessage,
- ubolLog,
-} from './utils.js';
+ registerInjectables,
+} from './scripting-manager.js';
/******************************************************************************/
@@ -67,10 +63,13 @@ const rulesetConfig = {
version: '',
enabledRulesets: [ 'default' ],
autoReload: true,
+ showBlockedCount: true,
};
const UBOL_ORIGIN = runtime.getURL('').replace(/\/$/, '');
+const canShowBlockedCount = typeof dnr.setExtensionActionOptions === 'function';
+
let firstRun = false;
let wakeupRun = false;
@@ -85,7 +84,12 @@ async function loadRulesetConfig() {
if ( data ) {
rulesetConfig.version = data.version;
rulesetConfig.enabledRulesets = data.enabledRulesets;
- rulesetConfig.autoReload = data.autoReload && true || false;
+ rulesetConfig.autoReload = typeof data.autoReload === 'boolean'
+ ? data.autoReload
+ : true;
+ rulesetConfig.showBlockedCount = typeof data.showBlockedCount === 'boolean'
+ ? data.showBlockedCount
+ : true;
wakeupRun = true;
return;
}
@@ -93,7 +97,12 @@ async function loadRulesetConfig() {
if ( data ) {
rulesetConfig.version = data.version;
rulesetConfig.enabledRulesets = data.enabledRulesets;
- rulesetConfig.autoReload = data.autoReload && true || false;
+ rulesetConfig.autoReload = typeof data.autoReload === 'boolean'
+ ? data.autoReload
+ : true;
+ rulesetConfig.showBlockedCount = typeof data.showBlockedCount === 'boolean'
+ ? data.showBlockedCount
+ : true;
sessionWrite('rulesetConfig', rulesetConfig);
return;
}
@@ -201,6 +210,8 @@ function onMessage(request, sender, callback) {
maxNumberOfEnabledRulesets: dnr.MAX_NUMBER_OF_ENABLED_STATIC_RULESETS,
rulesetDetails: Array.from(rulesetDetails.values()),
autoReload: rulesetConfig.autoReload,
+ showBlockedCount: rulesetConfig.showBlockedCount,
+ canShowBlockedCount,
firstRun,
});
firstRun = false;
@@ -216,6 +227,19 @@ function onMessage(request, sender, callback) {
});
return true;
+ case 'setShowBlockedCount':
+ rulesetConfig.showBlockedCount = request.state && true || false;
+ if ( canShowBlockedCount ) {
+ dnr.setExtensionActionOptions({
+ displayActionCountAsBadgeText: rulesetConfig.showBlockedCount,
+ });
+ }
+ saveRulesetConfig().then(( ) => {
+ callback();
+ broadcastMessage({ showBlockedCount: rulesetConfig.showBlockedCount });
+ });
+ return true;
+
case 'popupPanelData': {
Promise.all([
getFilteringMode(request.hostname),
@@ -329,8 +353,10 @@ async function start() {
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest
// Firefox API does not support `dnr.setExtensionActionOptions`
- if ( wakeupRun === false && dnr.setExtensionActionOptions ) {
- dnr.setExtensionActionOptions({ displayActionCountAsBadgeText: true });
+ if ( wakeupRun === false && canShowBlockedCount ) {
+ dnr.setExtensionActionOptions({
+ displayActionCountAsBadgeText: rulesetConfig.showBlockedCount,
+ });
}
runtime.onMessage.addListener(onMessage);
diff --git a/platform/mv3/extension/js/mode-manager.js b/platform/mv3/extension/js/mode-manager.js
index bc76199..e75dbee 100644
--- a/platform/mv3/extension/js/mode-manager.js
+++ b/platform/mv3/extension/js/mode-manager.js
@@ -288,34 +288,53 @@ async function writeFilteringModeDetails(afterDetails) {
async function filteringModesToDNR(modes) {
const dynamicRuleMap = await getDynamicRules();
- const presentRule = dynamicRuleMap.get(TRUSTED_DIRECTIVE_BASE_RULE_ID);
+ const presentRule = dynamicRuleMap.get(TRUSTED_DIRECTIVE_BASE_RULE_ID+0);
const presentNone = new Set(
presentRule && presentRule.condition.requestDomains
);
if ( eqSets(presentNone, modes.none) ) { return; }
const removeRuleIds = [];
if ( presentRule !== undefined ) {
- removeRuleIds.push(TRUSTED_DIRECTIVE_BASE_RULE_ID);
- dynamicRuleMap.delete(TRUSTED_DIRECTIVE_BASE_RULE_ID);
+ removeRuleIds.push(TRUSTED_DIRECTIVE_BASE_RULE_ID+0);
+ removeRuleIds.push(TRUSTED_DIRECTIVE_BASE_RULE_ID+1);
+ dynamicRuleMap.delete(TRUSTED_DIRECTIVE_BASE_RULE_ID+0);
+ dynamicRuleMap.delete(TRUSTED_DIRECTIVE_BASE_RULE_ID+1);
}
const addRules = [];
- if ( modes.none.size !== 0 ) {
- const rule = {
- id: TRUSTED_DIRECTIVE_BASE_RULE_ID,
+ const noneHostnames = [ ...modes.none ];
+ const notNoneHostnames = [ ...modes.basic, ...modes.optimal, ...modes.complete ];
+ if ( noneHostnames.length !== 0 ) {
+ const rule0 = {
+ id: TRUSTED_DIRECTIVE_BASE_RULE_ID+0,
action: { type: 'allowAllRequests' },
condition: {
resourceTypes: [ 'main_frame' ],
},
priority: 100,
};
- if (
- modes.none.size !== 1 ||
- modes.none.has('all-urls') === false
- ) {
- rule.condition.requestDomains = Array.from(modes.none);
+ if ( modes.none.has('all-urls') === false ) {
+ rule0.condition.requestDomains = noneHostnames.slice();
+ } else if ( notNoneHostnames.length !== 0 ) {
+ rule0.condition.excludedRequestDomains = notNoneHostnames.slice();
}
- addRules.push(rule);
- dynamicRuleMap.set(TRUSTED_DIRECTIVE_BASE_RULE_ID, rule);
+ addRules.push(rule0);
+ dynamicRuleMap.set(TRUSTED_DIRECTIVE_BASE_RULE_ID+0, rule0);
+ // https://github.com/uBlockOrigin/uBOL-home/issues/114
+ const rule1 = {
+ id: TRUSTED_DIRECTIVE_BASE_RULE_ID+1,
+ action: { type: 'allow' },
+ condition: {
+ resourceTypes: [ 'script' ],
+ },
+ priority: 100,
+ };
+ if ( modes.none.has('all-urls') === false ) {
+ rule1.condition.initiatorDomains = noneHostnames.slice();
+ } else if ( notNoneHostnames.length !== 0 ) {
+ rule1.condition.excludedInitiatorDomains = notNoneHostnames.slice();
+ }
+ addRules.push(rule1);
+ dynamicRuleMap.set(TRUSTED_DIRECTIVE_BASE_RULE_ID+1, rule1);
}
const updateOptions = {};
if ( addRules.length ) {
diff --git a/platform/mv3/extension/js/scripting/css-procedural.js b/platform/mv3/extension/js/scripting/css-procedural.js
index 818e697..7f50f80 100644
--- a/platform/mv3/extension/js/scripting/css-procedural.js
+++ b/platform/mv3/extension/js/scripting/css-procedural.js
@@ -341,6 +341,38 @@ class PSelectorOthersTask extends PSelectorTask {
/******************************************************************************/
+class PSelectorShadowTask extends PSelectorTask {
+ constructor(task) {
+ super();
+ this.selector = task[1];
+ }
+ transpose(node, output) {
+ const root = this.openOrClosedShadowRoot(node);
+ if ( root === null ) { return; }
+ const nodes = root.querySelectorAll(this.selector);
+ output.push(...nodes);
+ }
+ get openOrClosedShadowRoot() {
+ if ( PSelectorShadowTask.openOrClosedShadowRoot !== undefined ) {
+ return PSelectorShadowTask.openOrClosedShadowRoot;
+ }
+ if ( typeof chrome === 'object' && chrome !== null ) {
+ if ( chrome.dom instanceof Object ) {
+ if ( typeof chrome.dom.openOrClosedShadowRoot === 'function' ) {
+ PSelectorShadowTask.openOrClosedShadowRoot =
+ chrome.dom.openOrClosedShadowRoot;
+ return PSelectorShadowTask.openOrClosedShadowRoot;
+ }
+ }
+ }
+ PSelectorShadowTask.openOrClosedShadowRoot = node =>
+ node.openOrClosedShadowRoot || null;
+ return PSelectorShadowTask.openOrClosedShadowRoot;
+ }
+}
+
+/******************************************************************************/
+
// https://github.com/AdguardTeam/ExtendedCss/issues/31#issuecomment-302391277
// Prepend `:scope ` if needed.
class PSelectorSpathTask extends PSelectorTask {
@@ -471,7 +503,6 @@ class PSelectorXpathTask extends PSelectorTask {
class PSelector {
constructor(o) {
- this.raw = o.raw;
this.selector = o.selector;
this.tasks = [];
const tasks = [];
@@ -542,6 +573,7 @@ PSelector.prototype.operatorToTaskMap = new Map([
[ 'min-text-length', PSelectorMinTextLengthTask ],
[ 'not', PSelectorIfNotTask ],
[ 'others', PSelectorOthersTask ],
+ [ 'shadow', PSelectorShadowTask ],
[ 'spath', PSelectorSpathTask ],
[ 'upward', PSelectorUpwardTask ],
[ 'watch-attr', PSelectorWatchAttrs ],
@@ -566,6 +598,13 @@ class PSelectorRoot extends PSelector {
}
return [];
}
+ exec(input) {
+ try {
+ return super.exec(input);
+ } catch (ex) {
+ }
+ return [];
+ }
}
/******************************************************************************/
diff --git a/platform/mv3/extension/js/settings.js b/platform/mv3/extension/js/settings.js
index 1a95ac0..6f50055 100644
--- a/platform/mv3/extension/js/settings.js
+++ b/platform/mv3/extension/js/settings.js
@@ -19,11 +19,9 @@
Home: https://github.com/gorhill/uBlock
*/
-'use strict';
-
-import { browser, sendMessage, localRead, localWrite } from './ext.js';
-import { i18n$, i18n } from './i18n.js';
+import { browser, localRead, localWrite, sendMessage } from './ext.js';
import { dom, qs$, qsa$ } from './dom.js';
+import { i18n, i18n$ } from './i18n.js';
import punycode from './punycode.js';
/******************************************************************************/
@@ -211,7 +209,17 @@ function renderWidgets() {
renderDefaultMode();
renderTrustedSites();
- qs$('#autoReload input[type="checkbox"').checked = cachedRulesetData.autoReload;
+ qs$('#autoReload input[type="checkbox"]').checked = cachedRulesetData.autoReload;
+
+ {
+ const input = qs$('#showBlockedCount input[type="checkbox"]');
+ if ( cachedRulesetData.canShowBlockedCount ) {
+ input.checked = cachedRulesetData.showBlockedCount;
+ } else {
+ input.checked = false;
+ dom.attr(input, 'disabled', '');
+ }
+ }
// Compute total counts
let rulesetCount = 0;
@@ -290,13 +298,20 @@ dom.on(
/******************************************************************************/
-dom.on('#autoReload input[type="checkbox"', 'change', ev => {
+dom.on('#autoReload input[type="checkbox"]', 'change', ev => {
sendMessage({
what: 'setAutoReload',
state: ev.target.checked,
});
});
+dom.on('#showBlockedCount input[type="checkbox"]', 'change', ev => {
+ sendMessage({
+ what: 'setShowBlockedCount',
+ state: ev.target.checked,
+ });
+});
+
/******************************************************************************/
function renderTrustedSites() {
@@ -455,6 +470,13 @@ bc.onmessage = ev => {
}
}
+ if ( message.showBlockedCount !== undefined ) {
+ if ( message.showBlockedCount !== local.showBlockedCount ) {
+ local.showBlockedCount = message.showBlockedCount;
+ render = true;
+ }
+ }
+
if ( message.enabledRulesets !== undefined ) {
if ( hashFromIterable(message.enabledRulesets) !== hashFromIterable(local.enabledRulesets) ) {
local.enabledRulesets = message.enabledRulesets;
diff --git a/platform/mv3/extension/js/utils.js b/platform/mv3/extension/js/utils.js
index b1a463a..cadeaea 100644
--- a/platform/mv3/extension/js/utils.js
+++ b/platform/mv3/extension/js/utils.js
@@ -131,11 +131,22 @@ export const broadcastMessage = message => {
/******************************************************************************/
const ubolLog = (...args) => {
- // Do not pollute dev console in stable release.
- if ( browser.runtime.id === 'ddkjiahejlhfcafbddmgiahcphecmpfh' ) { return; }
+ // Do not pollute dev console in stable releases.
+ if ( shouldLog !== true ) { return; }
console.info('[uBOL]', ...args);
};
+const shouldLog = (( ) => {
+ const { id } = browser.runtime;
+ // https://addons.mozilla.org/en-US/firefox/addon/ublock-origin-lite/
+ if ( id === 'uBOLite@raymondhill.net' ) { return false; }
+ // https://chromewebstore.google.com/detail/ddkjiahejlhfcafbddmgiahcphecmpfh
+ if ( id === 'ddkjiahejlhfcafbddmgiahcphecmpfh' ) { return false; }
+ // https://microsoftedge.microsoft.com/addons/detail/cimighlppcgcoapaliogpjjdehbnofhn
+ if ( id === 'cimighlppcgcoapaliogpjjdehbnofhn' ) { return false; }
+ return true;
+})();
+
/******************************************************************************/
export {