In addition to the new openscript utility for interactive use, urls that
allow cross origin requests like GitHub does can be appended as follows

https://jsoftware.github.io/j-playground/bin/html2/#url=https://raw.githubusercontent.com/cdburke/simple/master/structural.ijs

Just add #url=.... to the playground URL

This may be a good option for sharing direct links to scripts



On Wed, Jun 1, 2022, 10:26 PM chris burke <cbu...@jsoftware.com> wrote:

> Bill
>
> I had a first go at this.
>
> There are some scripts in repo https://github.com/cdburke/simple.
>
> For example, to load the raw content in the playground, paste the following
> into the Term window:
>
>   openscript '
> https://raw.githubusercontent.com/cdburke/simple/master/structural.ijs'
>
> This writes the script to the Edit window and puts the cursor at the top.
> Then pressing Ctrl+Enter will step through the script.
>
> Please try this for your tutorial scripts. They should be in a github repo,
> like the above example.
>
> You may need to clear your browser cache first.
>
> Chris
>
> On Tue, May 31, 2022 at 11:42 PM William Szuch <bsz...@wsa-fincon.com.au>
> wrote:
>
> > Developers - J Playground
> > I would like to try to run simple tutorials in the playground  using
> > sp.ijs.
> > I am not able to load the addon ide/jhs
> >
> >    install 'github:jsoftware/ide_jhs'
> > |interface error: httpget
> > |   RESPONSE_httpget_    (1!:2)<p
> > |[-0]
> >    My guess is that the problem is with the manifest.ijs
> >
> > WHAT GREAT WORK BY THOSE IN THE PROJECT -WOW
> > Looking forward to the continued development
> >
> > Regards
> > Bill Szuch
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to