From 2609b5b466f2fe8255fafc6d98f9c57aea267ce0 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Mon, 19 Aug 2024 12:24:26 +0300 Subject: Added LiteXiv https://codeberg.org/LibRedirect/browser_extension/issues/123 --- src/assets/javascripts/services.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/assets/javascripts/services.js') diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index aa381459..c9f391e7 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -410,6 +410,7 @@ function rewrite(url, frontend, randomInstance) { } return `${randomInstance}${url.pathname}${url.search}` } + case "liteXiv": case "pixivFe": { const regex = /\/[a-z]{1,3}\/(.*)/.exec(url.pathname) if (regex) { @@ -827,6 +828,7 @@ const defaultInstances = { laboratory: ["https://lab.vern.cc"], binternet: ["https://bn.bloat.cat"], pixivFe: ["https://pixivfe.exozy.me"], + liteXiv: ["https://litexiv.exozy.me"], indestructables: ["https://indestructables.private.coffee"], destructables: ["https://ds.vern.cc"], safetwitch: ["https://safetwitch.drgns.space"], -- cgit 1.4.1