This commit is contained in:
ManeraKai 2023-02-01 12:22:15 +03:00
parent 21e87a6412
commit 19ef11ce99
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
9 changed files with 302 additions and 7 deletions

View File

@ -23,6 +23,7 @@ A web extension that redirects YouTube, Twitter, TikTok... requests to alternati
- TikTok <span>&#8594;</span> [ProxiTok](https://github.com/pablouser1/ProxiTok)
- Reddit <span>&#8594;</span> [Libreddit](https://github.com/spikecodes/libreddit#instances), [Teddit](https://codeberg.org/teddit/teddit#instances)
- Imgur <span>&#8594;</span> [Rimgo](https://codeberg.org/video-prize-ranch/rimgo)
- Reuters <span>&#8594;</span> [Neuters](https://github.com/HookedBehemoth/neuters)
- Medium <span>&#8594;</span> [Scribe](https://sr.ht/~edwardloveall/Scribe/)
- Quora <span>&#8594;</span> [Quetre](https://github.com/zyachel/quetre)
- IMDb <span>&#8594;</span> [libremdb](https://github.com/zyachel/libremdb)

View File

@ -6,7 +6,7 @@
"npm": ">=8.1.2"
},
"scripts": {
"start": "web-ext run --devtools",
"start": "web-ext run",
"start_ar": "web-ext run --firefox=/home/esmail/Downloads/ar/firefox/firefox --pref font.language.group=ar",
"build": "web-ext build",
"test": "web-ext lint",

View File

@ -0,0 +1,267 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 73.69671 73.69671"
fill="#ffffff"
fill-rule="evenodd"
stroke="#000000"
stroke-linecap="round"
stroke-linejoin="round"
version="1.1"
id="svg94"
sodipodi:docname="reuters-icon.svg"
width="73.696709"
height="73.696709"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview96"
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="6.9039705"
inkscape:cx="14.339574"
inkscape:cy="36.500735"
inkscape:window-width="1888"
inkscape:window-height="1060"
inkscape:window-x="32"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg94" />
<use
xlink:href="#F"
x="9.3409996"
y="9.3409996"
id="use2" />
<defs
id="defs79">
<linearGradient
id="A"
x1="40.08743"
y1="25.26118"
x2="22.376516"
y2="34.680659"
gradientTransform="scale(0.99293853,1.0071117)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-color="#ff9100"
id="stop4" />
<stop
offset="5%"
stop-color="#ff8d00"
id="stop6" />
<stop
offset="25%"
stop-color="#ff8300"
id="stop8" />
<stop
offset="50%"
stop-color="#ff8000"
id="stop10" />
<stop
offset="75%"
stop-color="#ff8300"
id="stop12" />
<stop
offset="95%"
stop-color="#ff8d00"
id="stop14" />
<stop
offset="100%"
stop-color="#ff9100"
id="stop16" />
</linearGradient>
<linearGradient
id="B"
x1="45.429384"
y1="33.273694"
x2="19.314299"
y2="25.853212"
gradientTransform="scale(0.98286426,1.0174345)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-color="#ff9100"
id="stop19" />
<stop
offset="5%"
stop-color="#ff8d00"
id="stop21" />
<stop
offset="25%"
stop-color="#ff8300"
id="stop23" />
<stop
offset="50%"
stop-color="#ff8000"
id="stop25" />
<stop
offset="75%"
stop-color="#ff8300"
id="stop27" />
<stop
offset="95%"
stop-color="#ff8d00"
id="stop29" />
<stop
offset="100%"
stop-color="#ff9100"
id="stop31" />
</linearGradient>
<linearGradient
id="C"
x1="44.712879"
y1="42.381865"
x2="19.37669"
y2="17.365363"
gradientTransform="scale(0.99319606,1.0068505)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-color="#ff9100"
id="stop34" />
<stop
offset="5%"
stop-color="#ff8d00"
id="stop36" />
<stop
offset="25%"
stop-color="#ff8300"
id="stop38" />
<stop
offset="50%"
stop-color="#ff8000"
id="stop40" />
<stop
offset="75%"
stop-color="#ff8300"
id="stop42" />
<stop
offset="95%"
stop-color="#ff8d00"
id="stop44" />
<stop
offset="100%"
stop-color="#ff9100"
id="stop46" />
</linearGradient>
<linearGradient
id="D"
x1="40.455486"
y1="52.489434"
x2="22.145054"
y2="8.6782826"
gradientTransform="scale(1.0164746,0.98379237)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-color="#ff9100"
id="stop49" />
<stop
offset="5%"
stop-color="#ff8d00"
id="stop51" />
<stop
offset="25%"
stop-color="#ff8300"
id="stop53" />
<stop
offset="50%"
stop-color="#ff8000"
id="stop55" />
<stop
offset="75%"
stop-color="#ff8300"
id="stop57" />
<stop
offset="95%"
stop-color="#ff8d00"
id="stop59" />
<stop
offset="100%"
stop-color="#ff9100"
id="stop61" />
</linearGradient>
<linearGradient
id="E"
x1="30.883168"
y1="61.970756"
x2="30.883168"
y2="0.018566106"
gradientTransform="scale(1.030133,0.97074843)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-color="#ff9100"
id="stop64" />
<stop
offset="5%"
stop-color="#ff8d00"
id="stop66" />
<stop
offset="25%"
stop-color="#ff8300"
id="stop68" />
<stop
offset="50%"
stop-color="#ff8000"
id="stop70" />
<stop
offset="75%"
stop-color="#ff8300"
id="stop72" />
<stop
offset="95%"
stop-color="#ff8d00"
id="stop74" />
<stop
offset="100%"
stop-color="#ff9100"
id="stop76" />
</linearGradient>
</defs>
<symbol
id="F"
overflow="visible"
transform="translate(-4.493145,-2.993145)">
<g
stroke="none"
fill-rule="nonzero"
id="g91">
<path
d="m 28.509,21.28 c 0.318,0.616 0.112,1.364 -0.504,1.868 a 1.25,1.25 0 0 1 -1.7,-0.691 c -0.336,-0.598 -0.112,-1.364 0.504,-1.868 a 1.25,1.25 0 0 1 1.7,0.505 z m -6.203,9.827 a 0.75,0.75 0 0 0 -0.299,1.009 c 0.196,0.361 0.648,0.495 1.009,0.299 0.361,-0.196 0.495,-0.648 0.299,-1.009 a 0.75,0.75 0 0 0 -1.009,-0.299 z m -0.299,-3.045 a 0.86,0.86 0 0 0 -0.336,1.158 c 0.224,0.43 0.747,0.56 1.177,0.374 0.43,-0.186 0.561,-0.747 0.374,-1.177 a 0.86,0.86 0 0 0 -1.177,-0.336 z m 0.785,-2.914 a 0.99,0.99 0 0 0 -0.411,1.326 0.98,0.98 0 0 0 1.345,0.374 0.99,0.99 0 0 0 0.411,-1.345 0.99,0.99 0 0 0 -1.326,-0.392 z m 1.607,-2.522 a 1.1,1.1 0 0 0 -0.448,1.513 1.07,1.07 0 0 0 1.495,0.448 1.11,1.11 0 0 0 0.065,-1.924 1.11,1.11 0 0 0 -1.111,-0.037 z m -1.214,11.303 a 0.62,0.62 0 0 0 -0.243,0.841 0.62,0.62 0 0 0 0.841,0.243 c 0.292,-0.171 0.399,-0.541 0.243,-0.841 -0.079,-0.144 -0.212,-0.251 -0.37,-0.296 -0.158,-0.045 -0.327,-0.026 -0.471,0.054 z M 37.458,23.654 a 0.75,0.75 0 0 0 1.009,0.299 0.75,0.75 0 0 0 0.299,-1.009 c -0.196,-0.361 -0.648,-0.495 -1.009,-0.299 -0.361,0.196 -0.495,0.648 -0.299,1.009 z m -2.373,-1.569 c 0.224,0.411 0.747,0.56 1.158,0.336 0.411,-0.224 0.56,-0.747 0.374,-1.158 a 0.86093743,0.86093743 0 1 0 -1.513,0.822 z M 32.189,21.3 c 0.258,0.48 0.856,0.66 1.336,0.402 0.48,-0.258 0.66,-0.856 0.402,-1.336 -0.258,-0.48 -0.856,-0.66 -1.336,-0.402 -0.48,0.258 -0.66,0.856 -0.402,1.336 z m -3.027,0.112 c 0.139,0.263 0.377,0.459 0.662,0.543 a 1.1,1.1 0 0 0 0.851,-0.095 1.12,1.12 0 0 0 0.448,-1.513 c -0.289,-0.537 -0.958,-0.737 -1.495,-0.448 -0.537,0.289 -0.737,0.958 -0.448,1.495 z m 10.313,4.521 c 0.149,0.299 0.56,0.411 0.822,0.243 0.143,-0.075 0.249,-0.205 0.295,-0.36 0.046,-0.155 0.027,-0.322 -0.052,-0.462 -0.075,-0.147 -0.207,-0.258 -0.365,-0.307 -0.158,-0.049 -0.329,-0.033 -0.475,0.046 -0.28,0.187 -0.411,0.56 -0.243,0.841 z m -2.13,11.77 c -0.33,-0.609 -1.091,-0.835 -1.7,-0.504 -0.609,0.331 -0.835,1.091 -0.505,1.7 0.336,0.617 1.121,0.822 1.868,0.504 0.747,-0.318 0.841,-1.121 0.505,-1.868 z M 26.023,36.489 C 25.826,36.14 25.39,36.008 25.033,36.19 a 0.73,0.73 0 0 0 -0.295,0.986 0.73,0.73 0 0 0 0.985,0.297 0.73,0.73 0 0 0 0.3,-0.984 z m 2.504,1.588 a 0.86093743,0.86093743 0 1 0 -1.513,0.822 c 0.224,0.411 0.747,0.561 1.158,0.374 a 0.88,0.88 0 0 0 0.355,-1.177 z m 2.896,0.785 c -0.262,-0.486 -0.859,-0.654 -1.345,-0.374 a 0.99,0.99 0 0 0 -0.392,1.327 c 0.262,0.486 0.859,0.654 1.345,0.411 a 0.97,0.97 0 0 0 0.411,-1.345 z M 34.45,38.75 a 1.12,1.12 0 0 0 -1.513,-0.448 c -0.56,0.28 -0.747,0.934 -0.43,1.495 0.135,0.262 0.37,0.457 0.652,0.542 0.282,0.085 0.586,0.051 0.843,-0.093 0.56,-0.28 0.747,-0.934 0.448,-1.495 z m 6.875,-9.659 c 0.176,-0.092 0.308,-0.249 0.368,-0.439 0.06,-0.19 0.041,-0.394 -0.05,-0.57 -0.196,-0.361 -0.648,-0.495 -1.009,-0.299 -0.361,0.196 -0.495,0.648 -0.299,1.009 a 0.75,0.75 0 0 0 0.99,0.299 z m 0.131,2.989 c 0.411,-0.224 0.56,-0.747 0.336,-1.177 a 0.86,0.86 0 0 0 -1.158,-0.355 0.88,0.88 0 0 0 -0.355,1.177 c 0.224,0.411 0.747,0.56 1.177,0.336 z m -0.747,2.896 c 0.486,-0.262 0.654,-0.859 0.411,-1.345 a 1,1 0 0 0 -1.73,-0.046 1,1 0 0 0 -0.026,0.999 0.99,0.99 0 0 0 1.326,0.392 z m -1.588,2.503 c 0.56,-0.28 0.747,-0.971 0.448,-1.495 -0.299,-0.524 -0.971,-0.747 -1.495,-0.448 -0.537,0.289 -0.737,0.958 -0.448,1.495 0.289,0.537 0.958,0.737 1.495,0.448 z"
fill="url(#A)"
id="path81"
style="fill:url(#A)" />
<path
d="m 36.954,18.291 c -0.253,0.856 -1.152,1.346 -2.008,1.093 -0.856,-0.253 -1.346,-1.152 -1.093,-2.008 0.114,-0.61 0.565,-1.102 1.163,-1.268 0.598,-0.166 1.238,0.023 1.651,0.487 0.413,0.464 0.524,1.122 0.288,1.697 z m -15.506,3.811 c -0.423,-0.121 -0.864,0.121 -0.99,0.542 -0.069,0.402 0.174,0.793 0.566,0.907 0.392,0.114 0.807,-0.083 0.966,-0.459 0.131,-0.411 -0.112,-0.859 -0.56,-0.99 z m 2.802,-3.083 c -0.521,-0.155 -1.069,0.142 -1.224,0.663 -0.155,0.521 0.142,1.069 0.663,1.224 a 0.99,0.99 0 0 0 1.214,-0.673 0.99,0.99 0 0 0 -0.672,-1.214 z m 3.587,-2.167 a 1.27,1.27 0 0 0 -1.551,0.841 1.25,1.25 0 0 0 0.859,1.551 1.25,1.25 0 0 0 1.454,-0.87 1.25,1.25 0 0 0 -0.744,-1.522 z m 3.979,-0.897 a 1.4,1.4 0 0 0 -1.644,2.004 1.4,1.4 0 0 0 2.578,-0.266 1.4,1.4 0 0 0 -0.953,-1.756 z m -12.144,9.958 a 0.6,0.6 0 0 0 -0.678,0.419 0.6,0.6 0 0 0 0.341,0.72 c 0.318,0.093 0.654,-0.093 0.747,-0.411 A 0.6,0.6 0 0 0 19.671,25.894 Z M 43.96,29.5 c -0.114,0.415 0.127,0.843 0.541,0.962 0.414,0.119 0.845,-0.118 0.968,-0.53 0.123,-0.412 -0.108,-0.846 -0.518,-0.974 -0.423,-0.121 -0.864,0.121 -0.99,0.542 z m -0.934,-3.979 a 0.99,0.99 0 0 0 0.673,1.233 0.98164823,0.98164823 0 1 0 0.542,-1.887 0.99,0.99 0 0 0 -1.233,0.654 z m -2.335,-3.587 a 1.25,1.25 0 0 0 1.795,1.461 1.25,1.25 0 0 0 -0.245,-2.302 1.25,1.25 0 0 0 -1.551,0.841 z m -3.064,-2.802 a 1.4011818,1.4011818 0 1 0 2.689,0.789 1.4,1.4 0 0 0 -0.933,-1.742 1.42,1.42 0 0 0 -1.756,0.953 z m 5.829,14.386 a 0.6,0.6 0 0 0 0.392,0.747 0.6,0.6 0 0 0 0.808,-0.713 0.6,0.6 0 0 0 -0.471,-0.427 0.6,0.6 0 0 0 -0.729,0.411 z m -13.75,9.285 c 0.236,-0.574 0.124,-1.232 -0.288,-1.697 -0.412,-0.465 -1.052,-0.653 -1.65,-0.487 -0.598,0.166 -1.049,0.658 -1.163,1.268 -0.121,0.414 -0.074,0.859 0.133,1.237 0.207,0.378 0.555,0.659 0.969,0.78 0.859,0.243 1.756,-0.243 1.999,-1.121 z M 19.73,30.659 c 0.12,-0.285 0.066,-0.613 -0.139,-0.844 -0.205,-0.231 -0.524,-0.325 -0.821,-0.24 -0.297,0.085 -0.52,0.332 -0.572,0.636 -0.12,0.285 -0.066,0.613 0.139,0.844 0.205,0.231 0.524,0.325 0.821,0.24 0.297,-0.085 0.52,-0.332 0.572,-0.636 z m 0.934,3.979 a 0.98164823,0.98164823 0 0 0 -1.887,-0.542 0.99,0.99 0 0 0 1.189,1.345 0.99,0.99 0 0 0 0.698,-0.803 z m 2.167,3.587 a 1.27,1.27 0 0 0 -0.859,-1.569 1.2515651,1.2515651 0 1 0 -0.694,2.405 1.25,1.25 0 0 0 1.553,-0.836 z m 3.064,2.802 a 1.42,1.42 0 0 0 -0.953,-1.756 1.4102221,1.4102221 0 1 0 -0.785,2.709 1.42,1.42 0 0 0 1.756,-0.953 z m 16.198,-2.989 c 0.423,0.121 0.864,-0.121 0.99,-0.542 0.121,-0.423 -0.121,-0.864 -0.542,-0.99 -0.423,-0.121 -0.864,0.121 -0.99,0.542 -0.121,0.423 0.121,0.864 0.542,0.99 z m -2.802,3.083 c 0.521,0.155 1.069,-0.142 1.224,-0.663 0.155,-0.521 -0.142,-1.069 -0.663,-1.224 a 0.99,0.99 0 0 0 -1.233,0.673 0.99,0.99 0 0 0 0.673,1.214 z m -3.587,2.167 a 1.25,1.25 0 0 0 1.454,-0.87 1.25,1.25 0 0 0 -2.035,-1.289 1.25,1.25 0 0 0 0.582,2.158 z m -3.979,0.878 a 1.4,1.4 0 0 0 1.738,-0.953 1.4011,1.4011 0 1 0 -2.69,-0.785 1.4,1.4 0 0 0 0.953,1.737 z"
fill="url(#B)"
id="path83"
style="fill:url(#B)" />
<path
d="m 45.025,19.093 c -0.792,0.822 -2.1,0.849 -2.925,0.061 -0.825,-0.788 -0.859,-2.096 -0.074,-2.925 0.785,-0.829 2.092,-0.868 2.925,-0.087 0.839,0.79 0.88,2.11 0.093,2.952 z M 24.343,14.366 a 1.03,1.03 0 0 0 -0.736,-0.284 c -0.274,0.007 -0.533,0.123 -0.721,0.322 a 1.03,1.03 0 0 0 0.774,1.723 1.03,1.03 0 0 0 0.683,-1.76 z m 5.194,-1.98 a 1.27,1.27 0 0 0 -1.793,0.056 1.27,1.27 0 0 0 0.056,1.793 1.27,1.27 0 0 0 1.793,-0.056 1.27,1.27 0 0 0 -0.056,-1.794 z m 5.549,-0.374 c -0.646,-0.6 -1.655,-0.566 -2.261,0.075 -0.572,0.65 -0.527,1.636 0.103,2.23 0.63,0.594 1.617,0.583 2.233,-0.026 0.294,-0.311 0.451,-0.727 0.437,-1.155 -0.014,-0.428 -0.198,-0.833 -0.512,-1.124 z m 5.269,1.345 a 1.81,1.81 0 0 0 -3.004,0.9 1.81,1.81 0 0 0 0.519,1.735 c 0.728,0.685 1.873,0.652 2.56,-0.075 0.687,-0.727 0.652,-1.873 -0.075,-2.56 z m -20.401,4.484 c -0.149,-0.139 -0.346,-0.213 -0.549,-0.206 -0.203,0.007 -0.395,0.095 -0.534,0.243 -0.23,0.188 -0.331,0.492 -0.258,0.78 0.073,0.288 0.304,0.508 0.596,0.565 0.292,0.057 0.589,-0.059 0.765,-0.299 0.139,-0.149 0.213,-0.346 0.206,-0.55 -0.007,-0.204 -0.095,-0.395 -0.243,-0.534 z m 26.342,18.813 a 1.03,1.03 0 0 0 -0.284,0.736 c 0.007,0.274 0.123,0.533 0.322,0.721 a 1.03,1.03 0 0 0 1.401,-1.495 1.03,1.03 0 0 0 -1.457,0.037 z m 1.308,-5.287 a 1.27,1.27 0 0 0 0.056,1.775 1.2619162,1.2619162 0 1 0 1.737,-1.831 1.27,1.27 0 0 0 -1.793,0.056 z M 47.23,25.818 c -0.417,0.413 -0.577,1.021 -0.415,1.585 0.162,0.564 0.619,0.996 1.192,1.125 0.573,0.129 1.171,-0.065 1.559,-0.505 0.572,-0.65 0.527,-1.636 -0.103,-2.23 -0.63,-0.594 -1.617,-0.583 -2.233,0.026 z m -1.943,-5.156 a 1.81,1.81 0 0 0 1.362,3.065 1.81,1.81 0 0 0 1.179,-3.14 C 47.081,19.896 45.96,19.952 45.287,20.662 Z M 43.68,41.251 c -0.139,0.149 -0.213,0.346 -0.206,0.55 0.007,0.204 0.095,0.395 0.243,0.534 0.188,0.23 0.492,0.331 0.779,0.258 0.287,-0.073 0.508,-0.304 0.565,-0.596 0.057,-0.292 -0.059,-0.589 -0.299,-0.765 a 0.75,0.75 0 0 0 -0.55,-0.214 c -0.205,0.007 -0.398,0.098 -0.534,0.252 z m -22.045,2.672 a 2.0811559,2.0811559 0 1 0 -3.026,-2.858 2.0811559,2.0811559 0 1 0 3.026,2.858 z m -4.484,-20.42 a 1.03,1.03 0 0 0 -0.485,-1.766 1.03,1.03 0 0 0 -1.01,0.365 c -0.374,0.411 -0.374,1.046 0.037,1.439 a 1.01,1.01 0 0 0 1.438,-0.037 z m -1.308,5.287 a 1.27,1.27 0 0 0 -0.056,-1.794 1.27,1.27 0 0 0 -1.737,1.831 1.27,1.27 0 0 0 1.793,-0.056 z m 0.411,5.567 c 0.394,-0.421 0.533,-1.019 0.366,-1.57 -0.167,-0.551 -0.616,-0.972 -1.177,-1.102 -0.561,-0.13 -1.149,0.048 -1.543,0.468 -0.6,0.646 -0.566,1.655 0.075,2.261 0.654,0.617 1.868,0.561 2.242,-0.056 z m 1.943,5.156 c 0.685,-0.728 0.652,-1.873 -0.075,-2.56 a 1.81,1.81 0 0 0 -3.004,0.9 1.81,1.81 0 0 0 0.519,1.734 c 0.728,0.685 1.873,0.652 2.56,-0.075 z m 21.111,6.259 c 0.26,0.286 0.659,0.401 1.031,0.299 0.372,-0.102 0.657,-0.405 0.735,-0.783 a 1.03,1.03 0 0 0 -1.756,-0.91 1.03,1.03 0 0 0 -0.01,1.395 z m -5.194,1.962 c 0.504,0.486 1.308,0.448 1.794,-0.056 0.475,-0.511 0.445,-1.309 -0.065,-1.784 -0.51,-0.475 -1.31,-0.445 -1.784,0.065 a 1.27,1.27 0 0 0 0.056,1.775 z m -5.567,0.411 c 0.654,0.617 1.868,0.561 2.242,-0.056 0.418,-0.413 0.577,-1.021 0.415,-1.585 -0.162,-0.564 -0.619,-0.996 -1.192,-1.125 -0.573,-0.129 -1.171,0.065 -1.559,0.505 -0.6,0.646 -0.566,1.655 0.075,2.261 z M 23.316,46.8 c 0.721,0.677 1.855,0.642 2.533,-0.078 0.678,-0.72 0.645,-1.854 -0.075,-2.534 -0.72,-0.68 -1.853,-0.648 -2.534,0.071 -0.328,0.346 -0.505,0.809 -0.49,1.286 0.015,0.477 0.217,0.928 0.565,1.255 z"
fill="url(#C)"
id="path85"
style="fill:url(#C)" />
<path
d="m 53.451,23.503 c -1.274,0.547 -2.752,-0.037 -3.307,-1.308 -0.543,-1.268 0.043,-2.737 1.31,-3.284 1.267,-0.547 2.737,0.035 3.287,1.3 0.55,1.265 -0.027,2.737 -1.29,3.291 z M 35.796,7.511 a 1.3906606,1.3906606 0 1 0 -2.728,0.542 1.3906606,1.3906606 0 1 0 2.728,-0.542 z m 5.978,1.308 a 1.68,1.68 0 0 0 -2.849,-0.847 1.68,1.68 0 0 0 -0.402,1.688 1.68,1.68 0 0 0 2.849,0.847 1.68,1.68 0 0 0 0.402,-1.688 z m 5.455,2.429 C 46.883,10.144 45.708,9.529 44.604,9.875 43.5,10.221 42.885,11.396 43.231,12.5 c 0.346,1.104 1.521,1.719 2.625,1.373 1.104,-0.346 1.719,-1.521 1.373,-2.625 z m 4.372,3.737 a 2.3111688,2.3111688 0 0 0 -4.334,1.607 c 0.245,0.83 0.932,1.454 1.781,1.619 0.849,0.165 1.72,-0.158 2.257,-0.837 0.537,-0.679 0.651,-1.6 0.296,-2.389 z M 23.876,9.062 a 1.01,1.01 0 0 0 -1.864,0.031 1.01,1.01 0 0 0 1.341,1.295 C 23.857,10.164 24.1,9.566 23.876,9.08 Z m 25.184,33.33 c -0.618,0.444 -0.761,1.303 -0.322,1.923 0.439,0.62 1.298,0.769 1.921,0.332 0.623,-0.437 0.776,-1.294 0.343,-1.919 -0.211,-0.305 -0.536,-0.512 -0.901,-0.575 -0.365,-0.063 -0.741,0.023 -1.042,0.239 z m 2.765,-5.605 a 1.68,1.68 0 0 0 0.069,2.966 1.68,1.68 0 0 0 2.179,-2.399 1.68,1.68 0 0 0 -2.248,-0.567 z m 1.308,-6.09 c -1.004,0.568 -1.359,1.842 -0.793,2.847 0.566,1.005 1.839,1.363 2.846,0.8 1.007,-0.563 1.367,-1.836 0.806,-2.844 A 2.09,2.09 0 0 0 54.73,30.503 c -0.537,-0.151 -1.111,-0.081 -1.596,0.193 z m -0.075,-6.109 c -1.144,0.568 -1.612,1.956 -1.046,3.101 0.566,1.145 1.956,1.614 3.101,1.046 1.145,-0.568 1.614,-1.956 1.046,-3.101 -0.568,-1.145 -1.956,-1.612 -3.101,-1.046 z M 40.354,49.621 a 1.01,1.01 0 0 0 -0.221,1.756 1.01,1.01 0 0 0 1.025,0.093 c 0.504,-0.224 0.747,-0.822 0.523,-1.308 A 1.01,1.01 0 0 0 40.355,49.639 Z M 12.218,41.139 c 1.271,-0.555 1.855,-2.032 1.308,-3.307 -0.547,-1.275 -2.033,-1.86 -3.307,-1.308 -1.274,0.552 -1.86,2.032 -1.308,3.307 0.552,1.275 2.033,1.855 3.307,1.308 z m 2.429,-23.503 c 0.404,-0.287 0.624,-0.768 0.577,-1.261 -0.047,-0.493 -0.353,-0.924 -0.803,-1.13 -0.45,-0.206 -0.977,-0.156 -1.381,0.131 -0.624,0.444 -0.771,1.309 -0.327,1.934 0.444,0.625 1.309,0.771 1.934,0.327 z m -2.765,5.605 a 1.68,1.68 0 0 0 -0.526,-3.063 1.68,1.68 0 0 0 -1.791,2.54 1.68,1.68 0 0 0 2.317,0.523 z m -1.308,6.09 a 2.1,2.1 0 0 0 0.044,-3.636 2.1,2.1 0 0 0 -2.903,2.833 2.1,2.1 0 0 0 2.858,0.803 z m 0.224,6.09 c 0.779,-0.344 1.307,-1.088 1.374,-1.938 0.067,-0.85 -0.338,-1.667 -1.055,-2.128 C 10.4,30.894 9.489,30.862 8.743,31.274 7.658,31.873 7.236,33.22 7.786,34.331 c 0.55,1.111 1.878,1.591 3.012,1.091 z m 17.244,17.263 c 0.146,0.667 0.757,1.127 1.439,1.084 a 1.4,1.4 0 0 0 1.084,-1.644 c -0.15,-0.748 -0.877,-1.233 -1.625,-1.084 -0.748,0.149 -1.233,0.877 -1.084,1.625 z m -5.978,-1.308 a 1.68,1.68 0 0 0 3.075,0.454 1.68,1.68 0 0 0 -1.861,-2.49 1.68,1.68 0 0 0 -1.214,2.036 z m -5.661,-2.653 c 0.352,1.099 1.528,1.706 2.628,1.355 1.1,-0.351 1.708,-1.525 1.359,-2.626 -0.349,-1.101 -1.522,-1.711 -2.623,-1.364 -1.104,0.341 -1.723,1.512 -1.383,2.616 z m -4.39,-3.736 a 2.3,2.3 0 0 0 2.97,1.364 c 1.111,-0.5 1.645,-1.775 1.221,-2.918 -0.424,-1.143 -1.659,-1.762 -2.828,-1.417 -1.195,0.446 -1.804,1.774 -1.364,2.971 z m 33.068,1.868 c -0.469,0.371 -0.549,1.053 -0.177,1.523 0.372,0.47 1.053,0.549 1.523,0.178 0.47,-0.371 0.549,-1.053 0.178,-1.523 -0.371,-0.47 -1.053,-0.549 -1.523,-0.177 z m -10.163,4.39 c -0.591,0.089 -0.999,0.639 -0.911,1.231 0.088,0.592 0.638,1 1.23,0.913 0.592,-0.087 1.001,-0.637 0.915,-1.228 -0.042,-0.285 -0.195,-0.542 -0.426,-0.714 -0.231,-0.172 -0.522,-0.244 -0.807,-0.202 z M 29.481,7.511 C 29.392,6.92 28.842,6.512 28.25,6.6 c -0.592,0.088 -1,0.638 -0.913,1.229 0.087,0.591 0.637,1.001 1.228,0.915 0.285,-0.041 0.542,-0.195 0.714,-0.426 0.172,-0.231 0.244,-0.522 0.202,-0.807 z m -10.911,4.11 c -0.177,-0.23 -0.439,-0.379 -0.727,-0.414 -0.288,-0.035 -0.578,0.047 -0.805,0.227 -0.467,0.371 -0.547,1.049 -0.178,1.518 0.369,0.469 1.047,0.552 1.517,0.185 0.47,-0.367 0.556,-1.044 0.192,-1.517 z"
fill="url(#D)"
id="path87"
style="fill:url(#D)" />
<path
d="m 60.587,33.292 c -1.77,-0.01 -3.198,-1.45 -3.195,-3.22 0.003,-1.77 1.437,-3.204 3.207,-3.207 1.77,-0.003 3.209,1.425 3.22,3.195 0,0.856 -0.341,1.676 -0.948,2.279 -0.607,0.603 -1.429,0.94 -2.284,0.935 z M 48.164,5.53 C 48.297,4.909 48.09,4.264 47.619,3.838 47.148,3.412 46.486,3.27 45.881,3.464 45.276,3.658 44.822,4.161 44.689,4.782 a 1.78,1.78 0 0 0 1.364,2.111 1.78,1.78 0 0 0 2.111,-1.364 z m 6.352,4.54 a 2.15,2.15 0 0 0 -1.791,-2.45 2.15,2.15 0 0 0 -2.454,1.785 2.15,2.15 0 0 0 3.386,2.075 2.15,2.15 0 0 0 0.86,-1.41 z m 5.119,5.904 z m 3.176,6.819 c 0.088,-1.63 -1.163,-3.023 -2.793,-3.111 -1.63,-0.088 -3.023,1.163 -3.111,2.793 -0.057,1.055 0.453,2.059 1.338,2.636 0.885,0.577 2.01,0.637 2.952,0.159 0.942,-0.478 1.557,-1.422 1.613,-2.477 z M 33.348,1.308 A 1.3,1.3 0 0 0 32.041,0 1.29,1.29 0 0 0 30.752,1.289 1.29,1.29 0 0 0 32.041,2.578 1.3,1.3 0 0 0 33.349,1.27 Z m 12.704,51.975 c -0.621,0.133 -1.123,0.588 -1.318,1.192 -0.195,0.604 -0.052,1.267 0.374,1.737 0.426,0.47 1.071,0.679 1.692,0.545 a 1.78,1.78 0 0 0 1.364,-2.111 1.78,1.78 0 0 0 -2.111,-1.364 z m 5.978,-4.969 c -1.176,0.186 -1.979,1.29 -1.794,2.466 0.185,1.176 1.29,1.979 2.466,1.794 1.176,-0.185 1.979,-1.29 1.793,-2.466 -0.186,-1.176 -1.29,-1.979 -2.466,-1.793 z m 4.633,-6.501 a 2.69,2.69 0 0 0 -1.417,4.766 2.69,2.69 0 0 0 4.369,-2.375 2.69,2.69 0 0 0 -2.952,-2.391 z m 2.989,-7.23 a 2.97,2.97 0 0 0 -2.802,3.101 c 0.088,1.63 1.48,2.881 3.111,2.793 1.631,-0.088 2.881,-1.48 2.793,-3.111 a 2.97,2.97 0 0 0 -3.12,-2.802 z m -27.65,22.98 a 1.29,1.29 0 0 0 -1.289,1.289 1.29,1.29 0 0 0 2.406,0.645 1.29,1.29 0 0 0 -1.116,-1.934 z M 3.232,33.274 c 1.77,-0.01 3.198,-1.45 3.195,-3.22 C 6.424,28.284 4.989,26.85 3.22,26.847 1.451,26.844 0.01,28.272 0,30.042 0.01,31.82 1.454,33.255 3.232,33.255 Z M 18.178,6.857 c 0.461,-0.098 0.864,-0.376 1.12,-0.773 0.256,-0.397 0.343,-0.878 0.244,-1.338 -0.207,-0.957 -1.151,-1.566 -2.109,-1.36 -0.958,0.206 -1.567,1.15 -1.361,2.107 0.206,0.957 1.148,1.568 2.106,1.363 z m -5.978,4.97 a 2.15,2.15 0 0 0 1.779,-2.459 2.15,2.15 0 0 0 -2.454,-1.785 2.15,2.15 0 0 0 -0.931,3.86 2.15,2.15 0 0 0 1.606,0.383 z M 7.567,18.329 A 2.69,2.69 0 0 0 7.006,12.986 c -0.954,0.1 -1.783,0.702 -2.173,1.579 -0.39,0.877 -0.284,1.895 0.28,2.672 0.564,0.777 1.499,1.193 2.454,1.093 z m -2.989,7.23 A 2.97,2.97 0 0 0 7.38,22.439 2.95,2.95 0 0 0 4.26,19.637 c -1.63,0.088 -2.881,1.48 -2.793,3.111 0.088,1.631 1.48,2.881 3.111,2.793 z M 16.086,54.61 c -0.205,0.958 0.406,1.901 1.363,2.106 0.957,0.205 1.901,-0.404 2.107,-1.361 0.206,-0.957 -0.402,-1.901 -1.36,-2.109 -0.461,-0.1 -0.942,-0.012 -1.339,0.244 -0.397,0.256 -0.674,0.659 -0.773,1.12 z M 9.734,50.07 a 2.15,2.15 0 0 0 1.794,2.466 2.15,2.15 0 0 0 2.45,-1.791 2.15,2.15 0 0 0 -1.785,-2.454 2.15,2.15 0 0 0 -2.459,1.779 z M 4.447,44.166 c -0.155,1.475 0.916,2.797 2.391,2.952 1.475,0.155 2.797,-0.916 2.952,-2.391 A 2.69,2.69 0 0 0 7.399,41.775 2.67,2.67 0 0 0 4.447,44.166 Z M 1.084,37.403 a 2.95,2.95 0 0 0 2.802,3.101 C 4.941,40.561 5.945,40.05 6.522,39.166 7.099,38.282 7.159,37.156 6.681,36.214 6.203,35.272 5.259,34.657 4.204,34.6 a 2.97,2.97 0 0 0 -3.12,2.802 z m 37.851,19.168 c -0.736,0.202 -1.169,0.962 -0.968,1.698 0.201,0.736 0.96,1.17 1.697,0.97 0.737,-0.2 1.171,-0.959 0.971,-1.696 -0.092,-0.358 -0.324,-0.664 -0.643,-0.85 a 1.38,1.38 0 0 0 -1.057,-0.14 z m -14.199,0 a 1.3910607,1.3910607 0 0 0 -0.71,2.69 1.39,1.39 0 0 0 1.697,-1.71 1.39,1.39 0 0 0 -0.987,-0.98 z M 40.616,2.672 C 40.806,1.935 40.364,1.183 39.627,0.99 38.89,0.797 38.137,1.236 37.941,1.972 c -0.196,0.736 0.24,1.491 0.975,1.69 a 1.38,1.38 0 0 0 1.7,-0.99 z M 25.745,1.906 a 1.3910607,1.3910607 0 1 0 -2.69,0.71 1.3910607,1.3910607 0 1 0 2.69,-0.71 z"
fill="url(#E)"
id="path89"
style="fill:url(#E)" />
</g>
</symbol>
</svg>

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -383,7 +383,15 @@ function redirect(url, type, initiator, forceRedirection) {
}
return `${randomInstance}${url.pathname}${url.search}`
default:
return `${randomInstance}${url.pathname}${url.search} `
return `${randomInstance}${url.pathname}${url.search}`
case "neuters": {
const p = url.pathname
if (p.startsWith('/article/') || p.startsWith('/pf/') || p.startsWith('/arc/') || p.startsWith('/resizer/')) {
return null;
}
return `${randomInstance}${p}`;
}
}
}
@ -519,6 +527,7 @@ function initDefaults() {
options['facil'] = [' https://facilmap.org ']
options['osm'] = ['https://www.openstreetmap.org']
options['breezeWiki'] = ['https://breezewiki.com']
options['neuters'] = ['https://neuters.de']
browser.storage.local.set({ options },

View File

@ -446,7 +446,7 @@
"privateBin": {
"name": "PrivateBin",
"instanceList": true,
"url": "https://privatebin.info/"
"url": "https://privatebin.info"
}
},
"targets": [
@ -459,6 +459,25 @@
"imageType": "svgMono",
"embeddable": false,
"url": "https://paste.libredirect.invalid"
},
"reuters": {
"frontends": {
"neuters": {
"name": "Neuters",
"instanceList": true,
"url": "https://github.com/HookedBehemoth/neuters"
}
},
"targets": [
"^https?:\\/{2}(www\\.)?reuters.com\\/"
],
"name": "Paste Text",
"options": {
"enabled": false
},
"imageType": "svg",
"embeddable": false,
"url": "https://reuters.com"
}
}
}

View File

@ -6,6 +6,5 @@ html(id="elementToShowWithJavaScript" lang="en")
div#pages
include /src/pages/options/widgets/general
include /src/pages/options/widgets/services
include /src/pages/options/widgets/about
script(type="module" src="./index.js")

View File

@ -2,7 +2,7 @@ each val, service in services
section(class="option-block" id=service+"_page")
div(class="some-block option-block")
h1
a(target="_blank" href=services[service].url data-localise=`__MSG_${service}__`)=services[service].name
a(target="_blank" href=services[service].url)=services[service].name
hr

View File

@ -12,7 +12,7 @@ section(class="links" id="links")
img(class='light' src=`/assets/images/${key}-icon-light.svg`)
else
img(src=`/assets/images/${key}-icon.${services[key].imageType}`)
span(data-localise="__MSG_"+key+"__")=services[key].name
span=services[key].name
div(class="title")
a(target="_blank" href="https://libredirect.github.io")

View File

@ -6,5 +6,5 @@ each val, service in services
img(class='light' src=`/assets/images/${service}-icon-light.svg`)
else
img(src=`/assets/images/${service}-icon.${services[service].imageType}`)
h4(data-localise="__MSG_"+service+"__")=services[service].name
h4=services[service].name
input(class=service + "-enabled" type="checkbox")