💬 Reply by sqx

2024-11-27 ┃ RE: TodePond

@TodePond @yaxu
I tried adding it to your flok/index.html, but I'm not allowed to change the contents of the iframe. If id="flok-iframe" is added to your iframe this code fails:
document.getElementById("flok-iframe").contentWindow.document.querySelectorAll("iframe[src='/frames/hydra']").forEach(x=>x.parentNode.removeChild(x));
(it says 'Uncaught DOMException: Permission denied to access property "document" on cross-origin object')
Fixing it in flok is probably better but not as easy.

sqx

https://mastodon.social/@sqx/113555039995117038

TodePond

yaxu

💬 Replies

2024-11-27 TodePond

@sqx a think adding something to flok would be cool either way :)
we can probably tweak the sandboxing rules and/or inject some code to get it to work on pastagang if we really want

────

View parent post

────

📡 Local feed

🏕️ Communities

🔥 Hashtags

🔎 Search posts

🔑 Sign in

📊 Status

🛟 Help