Patch Unicode country flags with image-based flags
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2645
@ -778,7 +778,7 @@
|
|||||||
"content": "filters",
|
"content": "filters",
|
||||||
"group": "regions",
|
"group": "regions",
|
||||||
"off": true,
|
"off": true,
|
||||||
"title": "🇷🇺🇺🇦🇺🇿🇰🇿 RUS: RU AdList",
|
"title": "🇷🇺RUS, 🇺🇦UKR, 🇺🇿UZB: RU AdList",
|
||||||
"tags": "ads belarusian беларуская kazakh tatar russian русский ukrainian українська uzbek",
|
"tags": "ads belarusian беларуская kazakh tatar russian русский ukrainian українська uzbek",
|
||||||
"lang": "be kk tt ru uk uz",
|
"lang": "be kk tt ru uk uz",
|
||||||
"contentURL": "https://raw.githubusercontent.com/easylist/ruadlist/master/RuAdList-uBO.txt",
|
"contentURL": "https://raw.githubusercontent.com/easylist/ruadlist/master/RuAdList-uBO.txt",
|
||||||
|
@ -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://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/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://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>
|
||||||
<div class="li"><span data-i18n="aboutCDNs"></span></div>
|
<div class="li"><span data-i18n="aboutCDNs"></span></div>
|
||||||
<div class="liul">
|
<div class="liul">
|
||||||
|
@ -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 {
|
.logo {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
9
src/img/flags-of-the-world/README
Normal 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."
|
BIN
src/img/flags-of-the-world/ad.png
Normal file
After Width: | Height: | Size: 384 B |
BIN
src/img/flags-of-the-world/ae.png
Normal file
After Width: | Height: | Size: 122 B |
BIN
src/img/flags-of-the-world/af.png
Normal file
After Width: | Height: | Size: 516 B |
BIN
src/img/flags-of-the-world/ag.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
src/img/flags-of-the-world/ai.png
Normal file
After Width: | Height: | Size: 369 B |
BIN
src/img/flags-of-the-world/al.png
Normal file
After Width: | Height: | Size: 293 B |
BIN
src/img/flags-of-the-world/am.png
Normal file
After Width: | Height: | Size: 114 B |
BIN
src/img/flags-of-the-world/ao.png
Normal file
After Width: | Height: | Size: 339 B |
BIN
src/img/flags-of-the-world/aq.png
Normal file
After Width: | Height: | Size: 310 B |
BIN
src/img/flags-of-the-world/ar.png
Normal file
After Width: | Height: | Size: 220 B |
BIN
src/img/flags-of-the-world/as.png
Normal file
After Width: | Height: | Size: 448 B |
BIN
src/img/flags-of-the-world/at.png
Normal file
After Width: | Height: | Size: 93 B |
BIN
src/img/flags-of-the-world/au.png
Normal file
After Width: | Height: | Size: 312 B |
BIN
src/img/flags-of-the-world/aw.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
src/img/flags-of-the-world/ax.png
Normal file
After Width: | Height: | Size: 165 B |
BIN
src/img/flags-of-the-world/az.png
Normal file
After Width: | Height: | Size: 167 B |
BIN
src/img/flags-of-the-world/ba.png
Normal file
After Width: | Height: | Size: 235 B |
BIN
src/img/flags-of-the-world/bb.png
Normal file
After Width: | Height: | Size: 212 B |
BIN
src/img/flags-of-the-world/bd.png
Normal file
After Width: | Height: | Size: 175 B |
BIN
src/img/flags-of-the-world/be.png
Normal file
After Width: | Height: | Size: 109 B |
BIN
src/img/flags-of-the-world/bf.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
src/img/flags-of-the-world/bg.png
Normal file
After Width: | Height: | Size: 99 B |
BIN
src/img/flags-of-the-world/bh.png
Normal file
After Width: | Height: | Size: 208 B |
BIN
src/img/flags-of-the-world/bi.png
Normal file
After Width: | Height: | Size: 364 B |
BIN
src/img/flags-of-the-world/bj.png
Normal file
After Width: | Height: | Size: 108 B |
BIN
src/img/flags-of-the-world/bl.png
Normal file
After Width: | Height: | Size: 970 B |
BIN
src/img/flags-of-the-world/bm.png
Normal file
After Width: | Height: | Size: 536 B |
BIN
src/img/flags-of-the-world/bn.png
Normal file
After Width: | Height: | Size: 685 B |
BIN
src/img/flags-of-the-world/bo.png
Normal file
After Width: | Height: | Size: 99 B |
BIN
src/img/flags-of-the-world/bq.png
Normal file
After Width: | Height: | Size: 489 B |
BIN
src/img/flags-of-the-world/br.png
Normal file
After Width: | Height: | Size: 449 B |
BIN
src/img/flags-of-the-world/bs.png
Normal file
After Width: | Height: | Size: 211 B |
BIN
src/img/flags-of-the-world/bt.png
Normal file
After Width: | Height: | Size: 628 B |
BIN
src/img/flags-of-the-world/bv.png
Normal file
After Width: | Height: | Size: 199 B |
BIN
src/img/flags-of-the-world/bw.png
Normal file
After Width: | Height: | Size: 122 B |
BIN
src/img/flags-of-the-world/by.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
src/img/flags-of-the-world/bz.png
Normal file
After Width: | Height: | Size: 516 B |
BIN
src/img/flags-of-the-world/ca.png
Normal file
After Width: | Height: | Size: 249 B |
BIN
src/img/flags-of-the-world/cc.png
Normal file
After Width: | Height: | Size: 299 B |
BIN
src/img/flags-of-the-world/cd.png
Normal file
After Width: | Height: | Size: 316 B |
BIN
src/img/flags-of-the-world/cf.png
Normal file
After Width: | Height: | Size: 244 B |
BIN
src/img/flags-of-the-world/cg.png
Normal file
After Width: | Height: | Size: 263 B |
BIN
src/img/flags-of-the-world/ch.png
Normal file
After Width: | Height: | Size: 150 B |
BIN
src/img/flags-of-the-world/ci.png
Normal file
After Width: | Height: | Size: 108 B |
BIN
src/img/flags-of-the-world/ck.png
Normal file
After Width: | Height: | Size: 367 B |
BIN
src/img/flags-of-the-world/cl.png
Normal file
After Width: | Height: | Size: 193 B |
BIN
src/img/flags-of-the-world/cm.png
Normal file
After Width: | Height: | Size: 160 B |
BIN
src/img/flags-of-the-world/cn.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
src/img/flags-of-the-world/co.png
Normal file
After Width: | Height: | Size: 124 B |
BIN
src/img/flags-of-the-world/cr.png
Normal file
After Width: | Height: | Size: 213 B |
BIN
src/img/flags-of-the-world/cu.png
Normal file
After Width: | Height: | Size: 258 B |
BIN
src/img/flags-of-the-world/cv.png
Normal file
After Width: | Height: | Size: 265 B |
BIN
src/img/flags-of-the-world/cw.png
Normal file
After Width: | Height: | Size: 237 B |
BIN
src/img/flags-of-the-world/cx.png
Normal file
After Width: | Height: | Size: 373 B |
BIN
src/img/flags-of-the-world/cy.png
Normal file
After Width: | Height: | Size: 283 B |
BIN
src/img/flags-of-the-world/cz.png
Normal file
After Width: | Height: | Size: 284 B |
BIN
src/img/flags-of-the-world/de.png
Normal file
After Width: | Height: | Size: 99 B |
BIN
src/img/flags-of-the-world/dj.png
Normal file
After Width: | Height: | Size: 352 B |
BIN
src/img/flags-of-the-world/dk.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
src/img/flags-of-the-world/dm.png
Normal file
After Width: | Height: | Size: 290 B |
BIN
src/img/flags-of-the-world/do.png
Normal file
After Width: | Height: | Size: 273 B |
BIN
src/img/flags-of-the-world/dz.png
Normal file
After Width: | Height: | Size: 274 B |
BIN
src/img/flags-of-the-world/ec.png
Normal file
After Width: | Height: | Size: 528 B |
BIN
src/img/flags-of-the-world/ee.png
Normal file
After Width: | Height: | Size: 114 B |
BIN
src/img/flags-of-the-world/eg.png
Normal file
After Width: | Height: | Size: 219 B |
BIN
src/img/flags-of-the-world/eh.png
Normal file
After Width: | Height: | Size: 284 B |
BIN
src/img/flags-of-the-world/er.png
Normal file
After Width: | Height: | Size: 304 B |
BIN
src/img/flags-of-the-world/es.png
Normal file
After Width: | Height: | Size: 392 B |
BIN
src/img/flags-of-the-world/et.png
Normal file
After Width: | Height: | Size: 314 B |
BIN
src/img/flags-of-the-world/fi.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
src/img/flags-of-the-world/fj.png
Normal file
After Width: | Height: | Size: 477 B |
BIN
src/img/flags-of-the-world/fk.png
Normal file
After Width: | Height: | Size: 560 B |
BIN
src/img/flags-of-the-world/fm.png
Normal file
After Width: | Height: | Size: 159 B |
BIN
src/img/flags-of-the-world/fo.png
Normal file
After Width: | Height: | Size: 171 B |
BIN
src/img/flags-of-the-world/fr.png
Normal file
After Width: | Height: | Size: 108 B |
BIN
src/img/flags-of-the-world/ga.png
Normal file
After Width: | Height: | Size: 99 B |
BIN
src/img/flags-of-the-world/gb-eng.png
Normal file
After Width: | Height: | Size: 128 B |
BIN
src/img/flags-of-the-world/gb-nir.png
Normal file
After Width: | Height: | Size: 304 B |
BIN
src/img/flags-of-the-world/gb-sct.png
Normal file
After Width: | Height: | Size: 281 B |
BIN
src/img/flags-of-the-world/gb-wls.png
Normal file
After Width: | Height: | Size: 910 B |
BIN
src/img/flags-of-the-world/gb.png
Normal file
After Width: | Height: | Size: 298 B |
BIN
src/img/flags-of-the-world/gd.png
Normal file
After Width: | Height: | Size: 376 B |
BIN
src/img/flags-of-the-world/ge.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
src/img/flags-of-the-world/gf.png
Normal file
After Width: | Height: | Size: 359 B |
BIN
src/img/flags-of-the-world/gg.png
Normal file
After Width: | Height: | Size: 206 B |
BIN
src/img/flags-of-the-world/gh.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
src/img/flags-of-the-world/gi.png
Normal file
After Width: | Height: | Size: 446 B |
BIN
src/img/flags-of-the-world/gl.png
Normal file
After Width: | Height: | Size: 251 B |
BIN
src/img/flags-of-the-world/gm.png
Normal file
After Width: | Height: | Size: 140 B |
BIN
src/img/flags-of-the-world/gn.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
src/img/flags-of-the-world/gp.png
Normal file
After Width: | Height: | Size: 574 B |
BIN
src/img/flags-of-the-world/gq.png
Normal file
After Width: | Height: | Size: 382 B |
BIN
src/img/flags-of-the-world/gr.png
Normal file
After Width: | Height: | Size: 123 B |
BIN
src/img/flags-of-the-world/gs.png
Normal file
After Width: | Height: | Size: 663 B |
BIN
src/img/flags-of-the-world/gt.png
Normal file
After Width: | Height: | Size: 267 B |
BIN
src/img/flags-of-the-world/gu.png
Normal file
After Width: | Height: | Size: 322 B |