<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 9 janv. 2013 à 12:57, lecast a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I had a look at jsplugins and indeed it makes sense to use that in my context, although I would still keep my class for rendering static things or things that use css for interactivity.<div><br></div><div>However, the way I understand is that js in unwanted in the saved output because it may communicate with the kernel, and that in turn can do whatever. </div></div></blockquote><div><br></div><br><blockquote type="cite"><div dir="ltr"><div>Wouldn't escaping just such calls be an option too?</div></div></blockquote><div><br></div><div>I'm not sure I understand the question here. </div><div>Removing js evaluation and injection of script tag through IPython is not enough as one can actually forge</div><div>a file that have embedded js. So we need to be carefull</div><br><blockquote type="cite"><div dir="ltr">


<div>For the jsplugins to work I think there should be an install function within IPython where you point at some url that hosts the plugin.</div></div></blockquote><blockquote type="cite"><div dir="ltr"><div> And, there should be an easy way to extend plugins from within IPython so that the user doesn't have to have file system access to add a script.</div></div></blockquote><div><br></div><div>Yes, sure. Plugin will probably be mostly js that can be served from urls. So that shouldn't be too hard. </div><div>But I'm not sure user can have IPython access without filesystem access. I don't really see the point of </div><div>an online computing software if you can't store data or save your notebook... </div><br><blockquote type="cite"><div dir="ltr"><div style="">Also, the base of the code for my papers-style notebooks that extracts footnotes is at <a href="http://nbviewer.ipython.org/4492534/" target="_top" rel="nofollow" link="external">http://nbviewer.ipython.org/4492534/</a></div></div></blockquote><div><br></div><div>Great ! I'll have a look. </div><div>-- </div><div>Matthias</div></div></body></html>