diff options
author | ManeraKai <manerakai@protonmail.com> | 2025-01-20 15:00:27 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2025-01-20 15:00:27 +0300 |
commit | f2f4e674bda71c0d6da1613f6b7a47391fee4fdf (patch) | |
tree | ac35dc08af3be221d6dfb82c487d1178e945cb83 | |
parent | Added Painterest https://github.com/libredirect/browser_extension/issues/1011 (diff) | |
download | libredirect-f2f4e674bda71c0d6da1613f6b7a47391fee4fdf.zip |
Added Offtiktok https://github.com/libredirect/browser_extension/issues/1018
-rw-r--r-- | src/assets/javascripts/services.js | 2 | ||||
-rw-r--r-- | src/config.json | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index c602b917..31325574 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -297,6 +297,7 @@ function rewrite(url, originUrl, frontend, randomInstance, type) { } return `${randomInstance}${url.pathname}${url.search}${url.hash}` } + case "offtiktok": case "proxiTok": if (url.pathname.startsWith("/email")) return randomInstance return `${randomInstance}${url.pathname}${url.search}` @@ -853,6 +854,7 @@ const defaultInstances = { lightTube: ["https://tube.kuylar.dev"], poketube: ["https://poketube.fun"], proxiTok: ["https://proxitok.pabloferreiro.es"], + offtiktok: ["https://www.offtiktok.com"], redlib: ["https://safereddit.com"], eddrit: ["https://eddrit.com"], troddit: ["https://www.troddit.com"], diff --git a/src/config.json b/src/config.json index 2f779b79..4fb40ae8 100644 --- a/src/config.json +++ b/src/config.json @@ -375,6 +375,12 @@ "instanceList": true, "url": "https://github.com/pablouser1/ProxiTok", "localhost": true + }, + "offtiktok": { + "name": "Offtiktok", + "instanceList": true, + "url": "https://github.com/MarsHeer/offtiktok", + "localhost": false } }, "targets": [ |