Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
32ae08ef
Snippets written in JavaScript. Majorly for our website.
Depreciated: We have moved to isplib, and this package is no longer maintained.
The package itself is under CC0 license, but please note that some of the works cited therein have non-commercial restrictions.
Use it at your own risk. If necessary, you should consult a lawyer.
Awesome background images for web pages.
It is recommended that you replace
latestwith a fixed version name to prevent your pages being interfered by breaking changes.
You can load the file (minified by default) from jsDelivr
<script async src="https://cdn.jsdelivr.net/npm/32ae08ef@latest/loadBackground.js"></script>
or UNPKG
<script async src="https://unpkg.com/32ae08ef@latest/loadBackground.js"></script>
There are even more choices in China, but the speed and reliability cannot be guaranteed, and they may deliver outdated files.
知乎
<script async src="https://unpkg.zhimg.com/32ae08ef@latest/loadBackground.js"></script>
饿了么
<script async src="https://npm.elemecdn.com/32ae08ef@latest/loadBackground.js"></script>
Now You can assign to window._imgPlace to customize where to load the background image, which will be displayed behind document.body by default.
const imgPlace = document.getElementById('example');
window._imgPlace = imgPlace;
const divName = 'example';
window._imgPlace = imgPlace;
This file is expected to work well with the latest version of Chrome / Firefox. If not, please contact us.
We are using dynamic import() to load subscriptscript.
See also: import - JavaScript | MDN
As the CacheStorage API is only available with a security context, we provide a file withoutCache.js for users without secure connection.
See also: CacheStorage - Web APIs | MDN
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
Source distribution
{
"shasum": "7a4889506ae2e03cdc6717fdf6856312c961afd4",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.0.10-beta.tgz",
"integrity": "sha512-5xzaMbyhi6I8ULN/htxIdn5EjoXGHQSAWOxem9KzAi8CqL7XRw4b1euXXeAmkoUJj1EjQR9qCBVkZ+zMMvHImg==",
"fileCount": 16,
"unpackedSize": 17133,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBBZoCRA9TVsSAnZWagAAhmEP/3KB9zqh8pTGKjz2NPcf\nmmTdfbwHr+OIY15T7FoWocq+p8ou+hP3E3QWX9ed4N11lS7PJu3si7EW/dd4\nAT5n7DCncV2UxycVz4xLOTKTSgCbIq2F/LDOSe4vUZjamuPUTJl5RZfj3sab\n2gvi3UmQFSB8r9Zw04JYxhy315Ov+rpexzpBEUEJeVkYZRlZm6rzK9A8Keq4\nOG/hKWAnChLDrwT43ubFAEDP+ZrK7LiOSzUu6Wv3snesYqfMzVr9o6tNM/Um\n293gw8dzCEltrbu+dwz4dWtHjbvPvj8EiioBfINDFgWGtFnE2ypCI+hjtxlW\n8SusW+//haCjyJvqg5gMFehPbl2vpxactiQoCJyXrWgSPQYJLYPZc4+dd7H7\n5obEyI31AXvsVNNJw+sZjM+UBr/wen7As0uygDH0E6PQHxDIUNy2Jx6Jb/xa\nyJU2SGT+40MXuCWxMLvp39W6RErUi6lAqGQB5BGXqzq0Gu/oPRp/CxXZJq9+\nRUH4BMPLnj+LvbLjDboZAWJkdlI9CAMoq886ui3vhm3kKzHvUYQIHs5/MEBi\ns5Fs77LkqcAvhcUjSAsCOUsLOdfZL9mCX/jxqLTscn1UGg+k/P16CbuCh9FM\nL9Gei8jfyNzH8DJPrR/0PcJxDzwxeOY1qQfd50usN+ri0DS+fGEvd4CyAwda\n00iB\r\n=GuHS\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIEfERK/n9Fa7Om1kEt/b+LJ4XbNFpbcyXJeHfzgFLwMNAiB647wm94pTBoAGX3nBQCirC05rsT5c/yAQhjNqBH+7PQ=="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:951a05a4791a0f5cfe7655aa9300d9248be3eaab144fc322971cd9b3b1913d32