samp.js is a javascript client library for web applications that want to use SAMP, the Simple Application Messaging Protocol.

It is currently distributed and documented from a github site belonging to astro.js. See or go directly to the github sampjs documentation or repository pages.

I am currently (March 2016) doing some experimental work to get SAMP working over HTTPS (which is a whole different ball game to doing it over HTTP). For information and examples of that, see this SAMP for HTTP and HTTPS page.

Mark Taylor -- Astrophysics Group, School of Physics, Bristol University,
Phone: +44-117-928-8776
Post: H H Wills Physics Laboratory, Tyndall Avenue, Bristol  BS8 1TL, UK