Follow-up to Just a goofy thought: a way to get javascript into a Tiddler 
<https://groups.google.com/g/tiddlywiki/c/BVokrn0VQa8/m/57vB6HYbBgAJ>

The "Hello World" alert box sample:

Download the attachment and drag into TiddlyWiki.com


The content of the "Hello World" tiddler:

```
<$vars this_html={{{ [[data:text/html,<script>alert('Hello World !!! 
\n\n]addsuffix[Today is ]addsuffix<now "DDD, DDth of MMM, 
YYYY">addsuffix[.]addsuffix[');</script>]] }}} >
<iframe srcdoc={{{ [<this_html>] }}} sandbox="allow-scripts 
allow-popups-to-escape-sandbox allow-same-origin allow-modals" 
 style="display:none;"></iframe>
</$vars>
```

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2c9b475d-c60f-4f61-aa84-fd8ea3657ac2n%40googlegroups.com.

Attachment: Hello World.json
Description: application/json

Reply via email to