1
9
faboosh

@lemmy.world

faboosh 11 points 3 years ago

Lemmy is the first platform I've come across that I'm actually excited to use in many years. Being federated and not motivated by profits (with all the tracking and selling of personal information that it entails) makes me feel like I'm not the product.

path: 0 389098, hotness: undefined, score: 11, children: 3
faboosh 3 points 3 years ago

Really nice job so far! If you don't mind me asking, how did you manage to get around CORS? I've started tinkering with the official JS client and ran into issues.

path: 0 373923, hotness: undefined, score: 3, children: 0
faboosh 2 points 3 years ago

gravity defying sploot

path: 0 331268, hotness: undefined, score: 2, children: 0
faboosh 2 points 3 years ago

Didn't expect to see brennan referenced here, noice

path: 0 566720 567719 567976 568083 572140 573503 604327, hotness: undefined, score: 2, children: 0
faboosh 1 point 3 years ago

Also worth mentioning, iframes have a sandbox attribute which can be used to lock down which browser APIs it has access to (they can't access much out of the box anyway, but this allows further locking down).

Say you have a webserver rendering the Fumen sequence, you could have the step buttons just be links to the next/previous steps. This would require no JS to run within the iframe, which is a great step to harden security even further.

path: 0 387980 388041 388935, hotness: undefined, score: 1, children: 0
faboosh 1 point 3 years ago

I can't swear on it, but afaik iframes are fully sanboxed.

path: 0 387980 388041 388218, hotness: undefined, score: 1, children: 0
faboosh 1 point 3 years ago

I just saw the updates regarding encoding it as a video, there isn't a good way to provide a slideshow without at least some JS, which kind of defeats the purpose of compatibility/universality. My take is that the iframe + light JS to mount it is the least headache and the most compatible.

path: 0 387980 388041 388394, hotness: undefined, score: 1, children: 0
faboosh 1 point 3 years ago

omg her eyes!!!

path: 0 387673, hotness: undefined, score: 1, children: 0
faboosh 1 point 3 years ago

Just spitballing, but you might not even need to inject much JS on the lemmy side. This sounds like something that could load in an iframe, pointed to a server that can render the Fumen sequence. The injected Lemmy JS could then identify the Fumen sequence, and inject the iframe. Main issue I see with this is mobile users, where you can't really inject code at runtime.

EDIT: Saw that you mentioned using iframes already, I'm seconding that option. I also think it could be neat to use something like code blocks with tags, say !#fumen [insert fumen string here]

path: 0 387980, hotness: undefined, score: 1, children: 5

thanks for using Leebra!

go to feed...