Fixed pinterest. Made popup width dynamic.
This commit is contained in:
parent
c8ee9fc782
commit
0b7e38f0be
|
@ -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 = ""
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
|
||||
<style>
|
||||
:global(html, body) {
|
||||
width: 280px;
|
||||
min-width: 260px;
|
||||
height: min-content;
|
||||
min-height: auto;
|
||||
margin: 0;
|
||||
|
|
|
@ -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) }, () => {
|
||||
|
|
Loading…
Reference in New Issue