Ulf Adding client-side javascript adds security issues. But if your wiki is running in a secure space; that could be ok.
You can find an example of client-side javascript injection in https://jspwiki-wiki.apache.org/Wiki.jsp?page=Chartist This behavior converts wiki tables into graphic representations. Parameters are passed to the %%chartist behavior as JSON like objects. But it is also support JS functions ! => look at the example of the PIE chart. (The CHARTIST behavior is not part of the standard distr. ; so you'll have to install it locally to see it work.) Hope you find this helpful. dirk On Tue, Jun 23, 2020 at 10:13 AM Ulf Dittmer <ulf.ditt...@googlemail.com.invalid> wrote: > > > > You may want to check an older plugin ( > > https://www.ecyrd.com/JSPWiki/wiki/JSPluginScripts) > > who allows you to do this, but not sure if this would still work. > > > > That executes JavaScript on the server using Rhino, but I'm trying to add > client-side JavaScript so it can interact with the browser and other > JavaScript code, e.g. Google Maps. I had written a plugin for that purpose > -which works fine- and was wondering if there were other ways of adding > arbitrary JavaScript code to a page. >