aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2024-03-14 14:03:10 +0300
committerManeraKai <manerakai@protonmail.com>2024-03-14 14:03:10 +0300
commitb9b2a53fd38a6573231ceee86b2c9ab2b55003e7 (patch)
tree6e0e66e56bed8747458af7898e68ea72a77b5830
parentAdded UNfunny https://github.com/libredirect/browser_extension/issues/888 (diff)
downloadlibredirect-b9b2a53fd38a6573231ceee86b2c9ab2b55003e7.zip
Added Soprano https://github.com/libredirect/browser_extension/issues/888
Diffstat (limited to '')
-rw-r--r--src/assets/images/tenor-icon.svg51
-rw-r--r--src/assets/javascripts/services.js1
-rw-r--r--src/config.json20
-rw-r--r--src/pages/stylesheets/styles.css2
4 files changed, 73 insertions, 1 deletions
diff --git a/src/assets/images/tenor-icon.svg b/src/assets/images/tenor-icon.svg
new file mode 100644
index 00000000..8cdc1214
--- /dev/null
+++ b/src/assets/images/tenor-icon.svg
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="116.94743"
+ height="116.94743"
+ viewBox="0 0 3704.8947 3733.9645"
+ version="1.1"
+ id="svg4"
+ sodipodi:docname="TENOR_VECTOR.svg"
+ xml:space="preserve"
+ inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
+ id="namedview4"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:showpageshadow="2"
+ inkscape:pageopacity="0.0"
+ inkscape:pagecheckerboard="0"
+ inkscape:deskcolor="#d1d1d1"
+ inkscape:zoom="3.89"
+ inkscape:cx="43.44473"
+ inkscape:cy="65.167095"
+ inkscape:window-width="1888"
+ inkscape:window-height="1060"
+ inkscape:window-x="32"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="g1" /><!-- Generator: Sketch 3.8.3 (29802) - http://www.bohemiancoding.com/sketch --><title
+ id="title1">TENOR_VECTOR</title><desc
+ id="desc1">Created with Sketch.</desc><defs
+ id="defs1" /><g
+ id="Page-1"
+ stroke="none"
+ stroke-width="1"
+ fill="none"
+ fill-rule="evenodd"
+ transform="translate(1743.8642,1673.0714)"><g
+ id="TENOR_VECTOR"
+ fill="#007add"><g
+ id="TENOR_GREY"><g
+ id="g1"
+ transform="matrix(31.928571,0,0,31.928571,-2118.0964,-2041.0893)"><path
+ fill="url(#svg_7ac8_a)"
+ d="M 130,70 C 130,36.863 103.137,10 70,10 36.863,10 10,36.863 10,70 c 0,33.137 26.863,60 60,60 33.137,0 60,-26.863 60,-60 z"
+ id="path1" /></g><path
+ d="m 155.99793,-429.63835 h 36.64818 405.94906 c 60.89235,0 110.50835,19.73363 142.08217,74.424 52.43508,91.90236 -1.12764,202.97453 -105.99781,218.76144 -16.35073,2.25526 -33.82909,2.81908 -50.74364,2.81908 h -391.8536 -36.08436 v 31.57382 1006.41539 c 0,67.65818 10.71254,132.49722 56.38182,187.75142 37.21199,45.1055 87.3918,64.2753 142.08216,72.7326 81.75363,12.9677 162.94344,6.2019 242.4418,-18.606 75.55163,-24.2442 149.97562,9.5849 175.34745,80.0621 25.9356,71.6049 -10.71255,142.0822 -80.626,175.9113 -94.72145,46.2331 -193.95344,66.5305 -298.82361,72.1687 -271.76035,13.5316 -515.89359,-183.8047 -557.05232,-453.3098 -5.63818,-34.9567 -7.32963,-71.04107 -7.32963,-106.56163 -0.56383,-335.47178 -0.56383,-670.94357 -0.56383,-1006.415357 v -38.903453 c -12.404,-0.56381 -22.55272,-1.69145 -32.13763,-1.69145 -62.02,0 -124.03998,1.12764 -186.05998,-0.56382 -101.48727,-2.81909 -166.89017,-78.93454 -151.66708,-174.78362 10.71255,-67.65818 72.16872,-118.40181 149.41181,-120.65708 60.89236,-1.69145 122.34853,-0.56382 183.24089,-0.56382 37.21199,0 37.21199,0 37.21199,-38.90345 v -391.8536 c 0,-95.84906 69.34963,-169.14542 161.81581,-170.27302 92.466174,-1.1277 165.19872,72.73249 165.76253,169.70922 0.56382,131.36963 0,263.30305 0,394.67267 0.56382,10.71254 0.56382,21.98891 0.56382,36.08436 z"
+ id="path3"
+ style="stroke-width:0.999997" /></g></g></g></svg>
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index 96595fda..dceb1c2d 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -718,6 +718,7 @@ const defaultInstances = {
'wikiless': ['https://wikiless.org'],
'suds': ['https://sd.vern.cc'],
'unfunny': ['https://uf.vern.cc'],
+ 'soprano': ['https://sp.vern.cc'],
'waybackClassic': ['https://wayback-classic.net'],
'gothub': ['https://gh.odyssey346.dev'],
'mikuInvidious': ['https://mikuinv.resrv.org'],
diff --git a/src/config.json b/src/config.json
index 808a32b9..cf4ed558 100644
--- a/src/config.json
+++ b/src/config.json
@@ -737,6 +737,26 @@
"imageType": "svg",
"url": "https://ifunny.co"
},
+ "tenor": {
+ "frontends": {
+ "soprano": {
+ "name": "Soprano",
+ "instanceList": true,
+ "url": "https://git.vern.cc/cobra/Soprano"
+ }
+ },
+ "targets": [
+ "^https?:\\/{2}(www\\.)?tenor\\.com\\/"
+ ],
+ "name": "Tenor",
+ "options": {
+ "enabled": false,
+ "unsupportedUrls": "bypass",
+ "frontend": "soprano"
+ },
+ "imageType": "svg",
+ "url": "https://tenor.com"
+ },
"urbanDictionary": {
"frontends": {
"ruralDictionary": {
diff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css
index 5de72477..e3212a66 100644
--- a/src/pages/stylesheets/styles.css
+++ b/src/pages/stylesheets/styles.css
@@ -131,7 +131,7 @@ section.links {
flex-wrap: wrap;
flex-direction: column;
width: 350px;
- max-height: 930px;
+ max-height: 970px;
}
section.links div {