Patch Unicode country flags with image-based flags

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2645
This commit is contained in:
Raymond Hill 2023-05-20 21:35:52 -04:00
parent 01ec521075
commit d506b28a48
No known key found for this signature in database
GPG key ID: 25E1490B761470C2
262 changed files with 102 additions and 42 deletions

View file

@ -465,7 +465,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇦🇱 ALB: Adblock List for Albania",
"title": "🇦🇱ALB: Adblock List for Albania",
"tags": "ads albania shqipja",
"lang": "sq",
"contentURL": "https://raw.githubusercontent.com/AnXh3L0/blocklist/master/albanian-easylist-addition/Albania.txt",
@ -485,7 +485,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇧🇬 BGR: Bulgarian Adblock list",
"title": "🇧🇬BGR: Bulgarian Adblock list",
"tags": "ads bulgarian България macedonian Македонија",
"lang": "bg mk",
"contentURL": "https://stanev.org/abp/adblock_bg.txt",
@ -495,7 +495,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇨🇳🇹🇼 CHN: AdGuard Chinese (中文)",
"title": "🇨🇳🇹🇼CHN: AdGuard Chinese (中文)",
"tags": "ads chinese 中文",
"lang": "ug zh",
"contentURL": "https://filters.adtidy.org/extension/ublock/filters/224.txt",
@ -505,7 +505,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇨🇿 CZE, 🇸🇰 SVK: EasyList Czech and Slovak",
"title": "🇨🇿CZE, 🇸🇰SVK: EasyList Czech and Slovak",
"tags": "ads czech česká slovak slovenská",
"lang": "cs sk",
"contentURL": "https://raw.githubusercontent.com/tomasko126/easylistczechandslovak/master/filters.txt",
@ -515,7 +515,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇩🇪 DEU: EasyList Germany",
"title": "🇩🇪DEU: EasyList Germany",
"tags": "ads german deutschland luxembourgish lëtzebuerg romansh",
"lang": "de dsb hsb lb rm",
"contentURL": [
@ -528,7 +528,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇪🇪 EST: Eesti saitidele kohandatud filter",
"title": "🇪🇪EST: Eesti saitidele kohandatud filter",
"tags": "ads estonian",
"lang": "et",
"contentURL": "https://adblock.ee/list.php",
@ -538,7 +538,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇫🇮 FIN: Adblock List for Finland",
"title": "🇫🇮FIN: Adblock List for Finland",
"tags": "ads finnish",
"lang": "fi",
"contentURL": "https://raw.githubusercontent.com/finnish-easylist-addition/finnish-easylist-addition/gh-pages/Finland_adb.txt",
@ -548,7 +548,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇫🇷 FRA: AdGuard Français",
"title": "🇫🇷FRA: AdGuard Français",
"tags": "ads french",
"lang": "ar br ff fr lb oc son",
"contentURL": "https://filters.adtidy.org/extension/ublock/filters/16.txt",
@ -558,7 +558,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇬🇷 GRC: Greek AdBlock Filter",
"title": "🇬🇷GRC: Greek AdBlock Filter",
"tags": "ads greek",
"lang": "el",
"contentURL": "https://www.void.gr/kargig/void-gr-filters.txt",
@ -568,7 +568,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇭🇷 HRV, 🇷🇸 SRB: Dandelion Sprout's Serbo-Croatian filters",
"title": "🇭🇷HRV, 🇷🇸SRB: Dandelion Sprout's Serbo-Croatian filters",
"tags": "ads croatian serbian",
"lang": "hr sr",
"contentURL": "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/SerboCroatianList.txt",
@ -578,7 +578,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇭🇺 HUN: hufilter",
"title": "🇭🇺HUN: hufilter",
"tags": "ads hungarian",
"lang": "hu",
"contentURL": "https://raw.githubusercontent.com/hufilter/hufilter/master/hufilter-ublock.txt",
@ -588,7 +588,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇮🇩 IDN, 🇲🇾 MYS: ABPindo",
"title": "🇮🇩IDN, 🇲🇾MYS: ABPindo",
"tags": "ads indonesian malay",
"lang": "id ms",
"contentURL": "https://raw.githubusercontent.com/ABPindo/indonesianadblockrules/master/subscriptions/abpindo.txt",
@ -598,7 +598,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇮🇳 IND, 🇱🇰 LKA, 🇳🇵 NPL: IndianList",
"title": "🇮🇳IND, 🇱🇰LKA, 🇳🇵NPL: IndianList",
"tags": "ads assamese bengali gujarati hindi kannada malayalam marathi nepali punjabi sinhala tamil telugu",
"lang": "as bn gu hi kn ml mr ne pa si ta te",
"contentURL": "https://easylist-downloads.adblockplus.org/indianlist.txt",
@ -608,7 +608,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇮🇷 IRN: PersianBlocker",
"title": "🇮🇷IRN: PersianBlocker",
"tags": "ads persian pashto tajik",
"lang": "fa ps tg",
"contentURL": [
@ -626,7 +626,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇮🇸 ISL: Icelandic ABP List",
"title": "🇮🇸ISL: Icelandic ABP List",
"tags": "ads icelandic",
"lang": "is",
"contentURL": "https://adblock.gardar.net/is.abp.txt",
@ -636,7 +636,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇮🇱 ISR: EasyList Hebrew",
"title": "🇮🇱ISR: EasyList Hebrew",
"tags": "ads hebrew",
"lang": "he",
"contentURL": "https://raw.githubusercontent.com/easylist/EasyListHebrew/master/EasyListHebrew.txt",
@ -646,7 +646,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇮🇹 ITA: EasyList Italy",
"title": "🇮🇹ITA: EasyList Italy",
"tags": "ads italian",
"lang": "it lij",
"contentURL": "https://easylist-downloads.adblockplus.org/easylistitaly.txt",
@ -656,7 +656,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇯🇵 JPN: AdGuard Japanese",
"title": "🇯🇵JPN: AdGuard Japanese",
"tags": "ads japanese 日本語",
"lang": "ja",
"contentURL": "https://filters.adtidy.org/extension/ublock/filters/7.txt",
@ -667,7 +667,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇰🇷 KOR: List-KR",
"title": "🇰🇷KOR: List-KR",
"tags": "ads korean 한국어",
"lang": "ko",
"contentURL": "https://cdn.jsdelivr.net/gh/List-KR/List-KR@master/filter-uBlockOrigin.txt",
@ -677,7 +677,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇱🇹 LTU: EasyList Lithuania",
"title": "🇱🇹LTU: EasyList Lithuania",
"tags": "ads lithuanian",
"lang": "lt",
"contentURL": "https://raw.githubusercontent.com/EasyList-Lithuania/easylist_lithuania/master/easylistlithuania.txt",
@ -691,7 +691,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇱🇻 LVA: Latvian List",
"title": "🇱🇻LVA: Latvian List",
"tags": "ads latvian",
"lang": "lv",
"contentURL": "https://raw.githubusercontent.com/Latvian-List/adblock-latvian/master/lists/latvian-list.txt",
@ -701,7 +701,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇲🇰 MKD: Macedonian adBlock Filters",
"title": "🇲🇰MKD: Macedonian adBlock Filters",
"tags": "ads macedonian",
"lang": "mk",
"contentURL": "https://raw.githubusercontent.com/DeepSpaceHarbor/Macedonian-adBlock-Filters/master/Filters",
@ -711,7 +711,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇳🇱 NLD: EasyDutch",
"title": "🇳🇱NLD: EasyDutch",
"tags": "ads afrikaans frisian dutch flemish",
"lang": "af fy nl",
"contentURL": "https://easydutch-ubo.github.io/EasyDutchCDN/EasyDutch.txt",
@ -726,7 +726,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇳🇴 NOR, 🇩🇰 DNK, 🇮🇸 ISL: Dandelion Sprouts nordiske filtre",
"title": "🇳🇴NOR, 🇩🇰DNK, 🇮🇸ISL: Dandelion Sprouts nordiske filtre",
"tags": "ads norwegian danish icelandic",
"lang": "nb nn no da is",
"contentURL": [
@ -741,9 +741,9 @@
"POL-0": {
"content": "filters",
"group": "regions",
"parent": "🇵🇱 POL: Oficjalne Polskie Filtry",
"parent": "🇵🇱POL: Oficjalne Polskie Filtry",
"off": true,
"title": "🇵🇱 POL: Oficjalne Polskie Filtry do uBlocka Origin",
"title": "🇵🇱POL: Oficjalne Polskie Filtry do uBlocka Origin",
"tags": "ads polish polski",
"lang": "szl pl",
"contentURL": "https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock.txt",
@ -753,9 +753,9 @@
"POL-2": {
"content": "filters",
"group": "regions",
"parent": "🇵🇱 POL: Oficjalne Polskie Filtry",
"parent": "🇵🇱POL: Oficjalne Polskie Filtry",
"off": true,
"title": "🇵🇱 POL: Oficjalne polskie filtry przeciwko alertom o Adblocku",
"title": "🇵🇱POL: Oficjalne polskie filtry przeciwko alertom o Adblocku",
"tags": "ads polish polski",
"lang": "szl pl",
"contentURL": "https://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/anti-adblock.txt",
@ -765,7 +765,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇷🇴 ROU: Romanian Ad (ROad) Block List Light",
"title": "🇷🇴ROU: Romanian Ad (ROad) Block List Light",
"tags": "ads romanian română moldavian moldovenească молдовеняскэ",
"lang": "ro",
"contentURL": [
@ -778,7 +778,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇷🇺🇺🇦🇺🇿🇰🇿 RUS: RU AdList",
"title": "🇷🇺RUS, 🇺🇦UKR, 🇺🇿UZB: RU AdList",
"tags": "ads belarusian беларуская kazakh tatar russian русский ukrainian українська uzbek",
"lang": "be kk tt ru uk uz",
"contentURL": "https://raw.githubusercontent.com/easylist/ruadlist/master/RuAdList-uBO.txt",
@ -793,7 +793,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇪🇸 spa: EasyList Spanish",
"title": "🇪🇸spa: EasyList Spanish",
"tags": "ads aragonese basque catalan spanish español galician guarani",
"lang": "an ast ca cak es eu gl gn trs quz",
"contentURL": "https://easylist-downloads.adblockplus.org/easylistspanish.txt",
@ -803,7 +803,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇪🇸 spa, 🇧🇷🇵🇹 por: AdGuard Spanish/Portuguese",
"title": "🇪🇸spa, 🇧🇷🇵🇹por: AdGuard Spanish/Portuguese",
"tags": "ads aragonese basque catalan spanish español galician guarani portuguese português",
"lang": "an ast ca cak es eu gl gn trs pt quz",
"contentURL": "https://filters.adtidy.org/extension/ublock/filters/9.txt",
@ -814,7 +814,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇸🇮 SVN: Slovenian List",
"title": "🇸🇮SVN: Slovenian List",
"tags": "ads slovenian slovenski",
"lang": "sl",
"contentURL": "https://raw.githubusercontent.com/betterwebleon/slovenian-list/master/filters.txt",
@ -824,7 +824,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇸🇪 SWE: Frellwit's Swedish Filter",
"title": "🇸🇪SWE: Frellwit's Swedish Filter",
"tags": "ads swedish svenska",
"lang": "sv",
"contentURL": "https://raw.githubusercontent.com/lassekongo83/Frellwits-filter-lists/master/Frellwits-Swedish-Filter.txt",
@ -834,7 +834,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇹🇭 THA: EasyList Thailand",
"title": "🇹🇭THA: EasyList Thailand",
"tags": "ads thai ไทย",
"lang": "th",
"contentURL": "https://raw.githubusercontent.com/easylist-thailand/easylist-thailand/master/subscription/easylist-thailand.txt",
@ -844,7 +844,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇹🇷 TUR: AdGuard Turkish",
"title": "🇹🇷TUR: AdGuard Turkish",
"tags": "ads turkish türkçe",
"lang": "tr",
"contentURL": "https://filters.adtidy.org/extension/ublock/filters/13.txt",
@ -855,7 +855,7 @@
"content": "filters",
"group": "regions",
"off": true,
"title": "🇻🇳 VIE: ABPVN List",
"title": "🇻🇳VIE: ABPVN List",
"tags": "ads vietnamese việt",
"lang": "vi",
"contentURL": "https://raw.githubusercontent.com/abpvn/abpvn/master/filter/abpvn_ublock.txt",

View file

@ -39,6 +39,7 @@
<div class="li"><span><a href="https://searchfox.org/mozilla-central/rev/d317e93d9a59c9e4c06ada85fbff9f6a1ceaaad1/browser/extensions/webcompat/shims/google-ima.js" target="_blank">google-ima.js</a> by <a href="https://www.mozilla.org/">Mozilla</a></span></div>
<div class="li"><span><a href="https://github.com/csstree/csstree" target="_blank">CSSTree</a> by <a href="https://github.com/lahmatiy">Roman Dvornov</a></span></div>
<div class="li"><span><a href="https://github.com/beautify-web/js-beautify" target="_blank">js-beautify</a> by <a href="https://github.com/einars">Einar Lielmanis</a>, <a href="https://github.com/bitwiseman">Liam Newman</a>, et al.</span></div>
<div class="li"><span><a href="https://flagpedia.net/" target="_blank">Flags of the World</a> by <a href="https://www.davidkrmela.com/">David Krmela</a></span></div>
</div>
<div class="li"><span data-i18n="aboutCDNs"></span></div>
<div class="liul">

View file

@ -309,6 +309,13 @@ select {
}
}
.countryFlag {
height: var(--font-size);
position: relative;
top: calc(var(--font-size) / 6);
width: calc(var(--font-size) * 1.4);
}
.logo {
align-items: center;
display: inline-flex;

View file

@ -0,0 +1,9 @@
Source of all images in this folder:
https://flagpedia.net/
Licence:
https://flagpedia.net/about
> Flag images are in the public domain (exempt from copyright).
> They are completely free for non-commercial and even commercial use.
> You can also download all flags."

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Some files were not shown because too many files have changed in this diff Show more