API: Webpage 1.0

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Webpage 1.0 No None No 3 Worlds Starter Worlds

This API is for Worlds with no canvas. That is, the World is a web page with regular HTML elements. This site is about uploading JS (not HTML) to make a World which normally "runs" on a canvas element on a page. This API allows you make a World with no canvas.

This API has the following features:

  • It gives you a blank page, and you use JS to insert whatever data and HTML tags you want on the page.
  • The API sets a page title.
  • There is no run header, so as not to interfere with your page layout.
  • You reload and close the page like any other tab.
  • Includes jQuery 3.3.1.

  • The screenshot does not assume there is a canvas. Instead it takes a screenshot of the HTML.
  • It uses the html2canvas library to build a screenshot of your page using JS.
  • The html2canvas library has some limitations and may not be able to accurately screenshot your page.

Related APIs



Examples of Worlds that use this API:

Flickr World
By Starter user  
Demo of "Web page" API. Just use JS to make a web page. This page gets images from Flickr using ...

The background is a program, showing the JavaScript graphics used on this site.

© Ancient Brain Ltd. All rights reserved.

Ancient Brain ™ is a trademark of Ancient Brain Ltd.

Beta      Bug bounty      Contact      Stats      The name      Terms and conditions