https://futureofcoding.org/ logo
#share-your-work
Title
# share-your-work
a

Arcade Wise

10/13/2023, 2:22 PM
Fully I CAN'T BELIEVE ITS NOT FORTH user interface!
the HTML output is actually a little iframe, which is quite nice for sandboxing
e

Eli Mellen

10/13/2023, 2:33 PM
can you target output outside of the iframe, or are you confined to that iframe?
my terrible guava thing lets you hit arbitrary parts of the dom and modify them and I think that was a design mistake on my part. I like the idea of using an iframe and sandboxing output to a well known area
a

Arcade Wise

10/13/2023, 2:41 PM
Oh yeah! It's sandboxed to the iframe, the render function writes the html directly, which is horrific, but this whole project is held together by wishful JS
a

Arcade Wise

10/13/2023, 2:51 PM
Oh my god we did the same thing! That's amazing.
Dang, you have a much cleaner implmentation! And in vanilla JS too.
e

Eli Mellen

10/13/2023, 2:55 PM
A lot of the bones were laid by felix, whose work I forked. It allows you to target any old dom element and modify it..which is fun in a hacky way, but not particularly safe. the pokedex word is useful for playing with that
a

Arcade Wise

10/13/2023, 3:01 PM
ooo
If you wanna play around with this, I just added url loading! https://arcades.agency/ICBINF/?loadfile=https://doggo.ninja/VoPUzO.icbinf