I use TW5 as a Document Management system, with a lot of tiddlers generated containing references to various local files. Organization is done with fields/tags within TW5. I also have a small web server running locally, that answer to requests by opening the correct application directly on the desktop (a pdf opens in the pdf reader application, not in the browser). This web server sends no HTML back.
Currently, I use the [[somelink|http://127.0.0.1:2701/path/of/file]] link syntax. TW5 opens a new tab to make the request, the application opens as expected, but there is an empty tab open that stays around. What I wanted to do is to generate a specific <a> link with an asynchronous AJAX request to my local web server. This would avoid tabs opening all along. However, my first tests showed that a macro could generate links easily, but that adding "onclick=" javascript is not allowed (TW5 seems to remove this). Are there ways to make this work (configuration tweak of some kind) ? I have no security concern as all this runs locally. Suggestions are welcome. -- Jean-Charles -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

