Compatibility and errors
Detect availability, handle failures and keep scripts recoverable.
Contract 1.0.0 · JavaScript executor documentation
Versioning
The game SDK contract is version 1.0.0 in private preview. The extension is a separate versioned product. Compatible changes may add optional data; consumers should check availability and avoid depending on unknown fields. Breaking public contract changes require a new documented contract version before release.
Error handling
The private SDK defines access-denied, disposed, unavailable, invalid-argument and owner-conflict errors. A failed method must not be retried in an unbounded loop. JavaScript syntax diagnostics are separate from execution errors. Runtime failures appear in the script console with the affected script, and other scripts retain their own resources.
Troubleshooting
- If Execute is disabled, check account capabilities, userScripts permission, Allow User Scripts and the intended game tab.
- If a syntax background remains, open the compact issues panel for the line, column and parser message. TypeScript must be compiled to JavaScript first.
- If a script needs full cleanup after a direct DOM change, reload the game.
- If licensing is unavailable, preserve your source and retry from Settings. A local enabled switch cannot activate paid access.
- If the game updates, wait for a supported integration; do not substitute guessed offsets or send unverified packets.