The Annual De-obfuscation
is upcoming on 5 Sept 2026.

Docs


APIs and CORS

JavaScript code can call remote APIs from the page. Here are some useful functions.


AI APIs

To call the GPT API from OpenAI, define the API key and prompt, and then:

 
AB.callGPT ( apikey, prompt, function ( reply ) { ... } );
    // The reply is the 'payload' extracted from the full API return data.
    // You define a function to do something with the reply. 
    // The full API return data is saved in AB.apidata 
If you want to write a customised API call, look at the code for this World:

Chat with GPT 5.6
15 runs ♦ 0 likes
By Starter user  
Created: 3 Sep 2026
Modified: 3 Sep 2026
JavaScript World to chat with GPT 5.6 (2026), the model used by ChatGPT as at 2026.

CORS

JavaScript can fetch resources (like images) from any site on the Internet if the site is CORS enabled. For sites that are not, you can go through a CORS proxy. Here is a handy function to get a CORS-enabled URL for your resource, using corsproxy.io.

 
AB.cors ( url );       // return CORS-enabled URL for this resource 

So fetching url into your JS graphics World may fail, but fetching AB.cors ( url ) may work.