5 Commits

Author SHA1 Message Date
Adrian Vollmer
0c594fdc0b Fix bug in file transfer logic 2024-04-27 19:36:32 +02:00
Adrian Vollmer
b40354235a Improve performance by using messages
Instead of inserting the entire global context into the iframe's HTML,
where we need to encode it to and decode it from JSON and base64, we
only insert a stripped global context, i.e. without the file tree and
the utils. If these are needed in the iframe, for example when a script
changes the DOM and needs to load an image, we use messages to
communicate with the parent document and retrieve the file in question.
2024-04-27 15:44:16 +02:00
Adrian Vollmer
6648b5e619 Fix fixLinks
Don't touch links starting with `javascript:`
2024-04-22 20:41:34 +02:00
Adrian Vollmer
4874a2552d Treat javascript href's not as virtual link 2024-04-22 20:28:23 +02:00
Adrian Vollmer
8aa570030b Rename some files; also finish some work from prev commit 2024-04-21 17:35:29 +02:00