Fixed pinterest. Made popup width dynamic.

This commit is contained in:
ManeraKai 2024-08-22 10:22:59 +03:00
parent c8ee9fc782
commit 0b7e38f0be
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
3 changed files with 3 additions and 2 deletions

View File

@ -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 = ""

View File

@ -88,7 +88,7 @@
<style>
:global(html, body) {
width: 280px;
min-width: 260px;
height: min-content;
min-height: auto;
margin: 0;

View File

@ -27,7 +27,7 @@
<Row>
<div
class="interactive"
class="interactive margin margin_{document.body.dir}"
on:keydown={null}
on:click={() =>
browser.tabs.create({ url: browser.runtime.getURL(_config.services[serviceKey].url) }, () => {