Historical runtime source
Use the runtime as a primary source when studying the original interface.
The files below are an unmodified copy of the original public-domain runtime from the author's public repository, dated 12 June 2017 in its header. The source notice remains intact. These pages do not execute it.
- adsafe.js: historical runtime source.
- adsafe-min.js: compatibility path serving the same readable source. It is intentionally unminified.
Source revision: 43cd3dd6ba0f708c1258ff21a5195b584120d37d. Both local files contain the same source bytes. The minified filename is retained for older links, without claiming to reproduce an archived minified release.
Study before use
The source is supplied without a current security review or compatibility assurance. For provenance, compare it with the pinned upstream file. For context, read JavaScript widget boundaries.
Read alongside the source
The API reference identifies implementation details and documentation differences. Read the source-led history for dates and provenance, and the security limits before interpreting a source file as a sandbox.