Observed since 20 Oct, 19:25 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
{
"integrity": "sha512-3C9PDYweUISmI81vS7keyyAMAT8eowR9v/SlC5oHfQ9arSLpZBJQHPf36A4gyKTe+f6CNQcaithiSVGhXkXdBw==",
"shasum": "5fb990292d5b7a3d9d28f7d543cb6ace8883b5e2",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.12.tgz",
"fileCount": 22,
"unpackedSize": 24556,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCvSjCRA9TVsSAnZWagAAm1kP/0L4MTYJefbcaAejEvFU\n+meOjfwB0d1ttUu9DyN2BVnakdC6ZuScI0asPBfDoPzKZIMXjCy8/AvQ4RmC\nWGx2Z1coZYZpmAvB23Wc7RtbPle4jSIHzQuP3jrzEv7DsrsYIV+PGEt8rPS8\nImYDO24JDaoVL0NjNfBuc3tIh+XVGncUB6Bc8CJKEdqr28K+XatwD41cKxcZ\nlcK1VuziP826PisJE0M6mZ0Ir/xkFf4fQQ8JyXBotFmiFuZfDy5fWdbJHyVt\nv3zWgziBuCLM4hSgX/vqWIqJAxBUHqUgqfHkseMhPZ3TgneWAk5cldpFlV3i\nP+MlEgyBkeTDz5obyC6lzVtZ+ezUvx1M3ZnQFSjk4ZXFutIv4F7a4uXmhb2o\nsp19rdWkjPSFIj9uwwaHdNRf1g29Hr+ZQuC0z0IJ0JChCXHfB2FVh0jdQ4DV\n3cvTUBTAvzclF27AXlCt4SOKlw3RcYzemwu3u5hTWCb3VlIGFdyj+NuhmMeh\n/dEwQET6+hTKTzXaSoDJh/meXnMforfgfgmq+8yOEOMAyBa2xU6phkpzBS7U\nA2L5MzMhYiyTSgsalBbTs6RsVCv7Owzy9R70WGWrfi0ochvXOB4tQobr/owz\nsyli1GfDSQPmUs3jvM1uY+a9n2a7suNnQ1EeKCXDeZJ5+YWR1ckSI7LKaihA\nBFUb\r\n=ipYV\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEYCIQCPXkML25kwM0aEbOQOW3hRxUXsGhMN54S+5QdCoLPMgwIhAM7C+VCbw++GYbS8C0WK0WNgpg0dmvNEdT3dv6akoCyC"
}
]
}Observed since 20 Oct, 19:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:5a427952fe4e633f0eb6fe5f25de7a02830f41e8a29949cea98f0490309b9ed5