aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2023-10-19 00:08:11 +0300
committerManeraKai <manerakai@protonmail.com>2023-10-19 00:08:11 +0300
commit27602cb94aa40a843f0eb67aee6fda708e345776 (patch)
tree903af24af9fa34c60cb09892d2d1be677c965c2d /src
parentAdded Invidious for YT Music https://github.com/libredirect/browser_extension... (diff)
downloadlibredirect-27602cb94aa40a843f0eb67aee6fda708e345776.zip
Re-added Send, Paste Text, and Jitsi https://codeberg.org/LibRedirect/browser_extension/issues/109
Diffstat (limited to '')
-rw-r--r--src/assets/images/meet-icon-light.svg39
-rw-r--r--src/assets/images/meet-icon.svg1
-rw-r--r--src/assets/images/sendFiles-icon-light.svg40
-rw-r--r--src/assets/images/sendFiles-icon.svg3
-rw-r--r--src/assets/images/textStorage-icon-light.svg40
-rw-r--r--src/assets/images/textStorage-icon.svg3
-rw-r--r--src/config.json62
-rw-r--r--src/pages/stylesheets/styles.css2
8 files changed, 189 insertions, 1 deletions
diff --git a/src/assets/images/meet-icon-light.svg b/src/assets/images/meet-icon-light.svg
new file mode 100644
index 00000000..1e0e1804
--- /dev/null
+++ b/src/assets/images/meet-icon-light.svg
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ height="24"
+ viewBox="0 96 960 960"
+ width="24"
+ version="1.1"
+ id="svg4"
+ sodipodi:docname="meet-icon-light.svg"
+ 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="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs8" />
+ <sodipodi:namedview
+ id="namedview6"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:showpageshadow="2"
+ inkscape:pageopacity="0.0"
+ inkscape:pagecheckerboard="0"
+ inkscape:deskcolor="#d1d1d1"
+ showgrid="false"
+ inkscape:zoom="32.416667"
+ inkscape:cx="17.861183"
+ inkscape:cy="12"
+ inkscape:window-width="1888"
+ inkscape:window-height="1060"
+ inkscape:window-x="32"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg4" />
+ <path
+ d="M0 816v-63q0-43 44-70t116-27q13 0 25 .5t23 2.5q-14 21-21 44t-7 48v65H0Zm240 0v-65q0-32 17.5-58.5T307 646q32-20 76.5-30t96.5-10q53 0 97.5 10t76.5 30q32 20 49 46.5t17 58.5v65H240Zm540 0v-65q0-26-6.5-49T754 659q11-2 22.5-2.5t23.5-.5q72 0 116 26.5t44 70.5v63H780Zm-455-80h311q-10-20-55.5-35T480 686q-55 0-100.5 15T325 736ZM160 616q-33 0-56.5-23.5T80 536q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T160 616Zm640 0q-33 0-56.5-23.5T720 536q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T800 616Zm-320-40q-50 0-85-35t-35-85q0-51 35-85.5t85-34.5q51 0 85.5 34.5T600 456q0 50-34.5 85T480 576Zm0-80q17 0 28.5-11.5T520 456q0-17-11.5-28.5T480 416q-17 0-28.5 11.5T440 456q0 17 11.5 28.5T480 496Zm1 240Zm-1-280Z"
+ id="path2"
+ style="fill:#ffffff" />
+</svg>
diff --git a/src/assets/images/meet-icon.svg b/src/assets/images/meet-icon.svg
new file mode 100644
index 00000000..170f1023
--- /dev/null
+++ b/src/assets/images/meet-icon.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 96 960 960" width="24"><path d="M0 816v-63q0-43 44-70t116-27q13 0 25 .5t23 2.5q-14 21-21 44t-7 48v65H0Zm240 0v-65q0-32 17.5-58.5T307 646q32-20 76.5-30t96.5-10q53 0 97.5 10t76.5 30q32 20 49 46.5t17 58.5v65H240Zm540 0v-65q0-26-6.5-49T754 659q11-2 22.5-2.5t23.5-.5q72 0 116 26.5t44 70.5v63H780Zm-455-80h311q-10-20-55.5-35T480 686q-55 0-100.5 15T325 736ZM160 616q-33 0-56.5-23.5T80 536q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T160 616Zm640 0q-33 0-56.5-23.5T720 536q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T800 616Zm-320-40q-50 0-85-35t-35-85q0-51 35-85.5t85-34.5q51 0 85.5 34.5T600 456q0 50-34.5 85T480 576Zm0-80q17 0 28.5-11.5T520 456q0-17-11.5-28.5T480 416q-17 0-28.5 11.5T440 456q0 17 11.5 28.5T480 496Zm1 240Zm-1-280Z"/></svg> \ No newline at end of file
diff --git a/src/assets/images/sendFiles-icon-light.svg b/src/assets/images/sendFiles-icon-light.svg
new file mode 100644
index 00000000..f2447a77
--- /dev/null
+++ b/src/assets/images/sendFiles-icon-light.svg
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ height="24px"
+ viewBox="0 0 24 24"
+ width="24px"
+ fill="currentColor"
+ version="1.1"
+ id="svg546"
+ sodipodi:docname="sendFiles-icon-white.svg"
+ inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
+ 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">
+ <defs
+ id="defs550" />
+ <sodipodi:namedview
+ id="namedview548"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:showpageshadow="2"
+ inkscape:pageopacity="0.0"
+ inkscape:pagecheckerboard="0"
+ inkscape:deskcolor="#d1d1d1"
+ showgrid="false"
+ inkscape:zoom="32.416667"
+ inkscape:cx="9.0077121"
+ inkscape:cy="12"
+ inkscape:window-width="1888"
+ inkscape:window-height="1060"
+ inkscape:window-x="32"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg546" />
+ <path
+ d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"
+ id="path544"
+ style="fill:#ffffff" />
+</svg>
diff --git a/src/assets/images/sendFiles-icon.svg b/src/assets/images/sendFiles-icon.svg
new file mode 100644
index 00000000..5557664e
--- /dev/null
+++ b/src/assets/images/sendFiles-icon.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor">
+ <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path>
+</svg>
diff --git a/src/assets/images/textStorage-icon-light.svg b/src/assets/images/textStorage-icon-light.svg
new file mode 100644
index 00000000..3ca7c595
--- /dev/null
+++ b/src/assets/images/textStorage-icon-light.svg
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ height="24px"
+ viewBox="0 0 24 24"
+ width="24px"
+ fill="currentColor"
+ version="1.1"
+ id="svg1191"
+ sodipodi:docname="textStorage-icon-white.svg"
+ inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
+ 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">
+ <defs
+ id="defs1195" />
+ <sodipodi:namedview
+ id="namedview1193"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:showpageshadow="2"
+ inkscape:pageopacity="0.0"
+ inkscape:pagecheckerboard="0"
+ inkscape:deskcolor="#d1d1d1"
+ showgrid="false"
+ inkscape:zoom="32.416667"
+ inkscape:cx="9.0077121"
+ inkscape:cy="12"
+ inkscape:window-width="1888"
+ inkscape:window-height="1060"
+ inkscape:window-x="32"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg1191" />
+ <path
+ d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"
+ id="path1189"
+ style="fill:#ffffff" />
+</svg>
diff --git a/src/assets/images/textStorage-icon.svg b/src/assets/images/textStorage-icon.svg
new file mode 100644
index 00000000..6eccd96b
--- /dev/null
+++ b/src/assets/images/textStorage-icon.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor">
+ <path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"></path>
+</svg>
diff --git a/src/config.json b/src/config.json
index 6cc38774..2bac1762 100644
--- a/src/config.json
+++ b/src/config.json
@@ -568,6 +568,48 @@
"imageType": "svgMono",
"url": "https://maps.libredirect.invalid"
},
+ "sendFiles": {
+ "frontends": {
+ "send": {
+ "name": "Send",
+ "instanceList": true,
+ "url": "https://gitlab.com/timvisee/send"
+ }
+ },
+ "targets": [
+ "^https?:\\/{2}send\\.libredirect\\.invalid",
+ "^https?:\\/{2}send\\.firefox\\.com\\/?$",
+ "^https?:\\/{2}sendfiles\\.online\\/?$"
+ ],
+ "name": "Send Files",
+ "options": {
+ "enabled": false,
+ "unsupportedUrls": "bypass",
+ "frontend": "send"
+ },
+ "imageType": "svgMono",
+ "url": "https://send.libredirect.invalid"
+ },
+ "textStorage": {
+ "frontends": {
+ "privateBin": {
+ "name": "PrivateBin",
+ "instanceList": true,
+ "url": "https://privatebin.info"
+ }
+ },
+ "targets": [
+ "^https?:\\/{2}paste\\.libredirect\\.invalid"
+ ],
+ "name": "Paste Text",
+ "options": {
+ "enabled": false,
+ "unsupportedUrls": "bypass",
+ "frontend": "privateBin"
+ },
+ "imageType": "svgMono",
+ "url": "https://paste.libredirect.invalid"
+ },
"reuters": {
"frontends": {
"neuters": {
@@ -851,6 +893,26 @@
"imageType": "svg",
"url": "https://www.instructables.com"
},
+ "meet": {
+ "name": "Meet",
+ "frontends": {
+ "jitsi": {
+ "name": "Jitsi",
+ "instanceList": true,
+ "url": "https://jitsi.org"
+ }
+ },
+ "targets": [
+ "^https?:\\/{2}meet\\.libredirect\\.invalid\\/"
+ ],
+ "options": {
+ "enabled": false,
+ "unsupportedUrls": "bypass",
+ "frontend": "jitsi"
+ },
+ "imageType": "svgMono",
+ "url": "https://meet.libredirect.invalid"
+ },
"wolframAlpha": {
"frontends": {
"wolfreeAlpha": {
diff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css
index 43b7ba83..225023ec 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: 800px;
+ max-height: 890px;
}
section.links div {