From 0b7e38f0bee164a2d5d7d26bae95f5f67e273bbb Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Thu, 22 Aug 2024 10:22:59 +0300 Subject: [PATCH] Fixed pinterest. Made popup width dynamic. --- src/assets/javascripts/services.js | 1 + src/pages/popup_src/App.svelte | 2 +- src/pages/popup_src/components/Switch.svelte | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index c9f391e..e50b7bf 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -396,6 +396,7 @@ function rewrite(url, frontend, randomInstance) { } case "binternet": if (url.hostname == "i.pinimg.com") return `${randomInstance}/image_proxy.php?url=${url.href}` + return `${randomInstance}${url.pathname}${url.search}` case "laboratory": { let path = url.pathname if (path == "/") path = "" diff --git a/src/pages/popup_src/App.svelte b/src/pages/popup_src/App.svelte index 2bd1616..8f958a3 100644 --- a/src/pages/popup_src/App.svelte +++ b/src/pages/popup_src/App.svelte @@ -88,7 +88,7 @@