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": "c8da4545f96772833a52df6ecb18123bc703f6b3",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.0.11-alpha.tgz",
"integrity": "sha512-yh9UWUNcsHjaSGI7pzlqJemMDc3Wo1xKiuqeg33LPxnb+LWDwNmBfA0yi7J8QMQZ0IBPGZ6DxuDSrkgjGJRXEQ==",
"fileCount": 16,
"unpackedSize": 17517,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBC7kCRA9TVsSAnZWagAAcKcP/2TnAuVI+/fny8/jbw4V\nTqy1gnQfVANH6Fw5d+qCO8PUkJUeGwzCdgB6z+PKUisCUu6yKkreccNm/YG0\nzbOFJDqpcvdro1BnPt0ZAwMjuZYCMm8yfPa/MwUQS70a9N4d2lEI5NhWF21X\nAenm1xUUKLpihlHE3rY9SgiOsFHur62ypmcPMzqUBOByaRjtXjAB0V/3XNsk\njcJwkRmIgJZVWS5OF0EYAYhy1hyUV36VoXkNIdOS2F5tqzTf4I3bb2wiHJr0\nCKM8bRot4e7db4JxFnEVKxBaGbbq9O+iS8KwUnJfpNxnOmboIWHTf15Omsij\n5dRx5TV+oS2czTfwE/WQyUItICWlY8l+VHBxB0v8TTXD8xj/4keeZR6LoLz8\nOejNbFdZKAvKPOdt5DKfKXirQsuU40QoioyBttjZ9bdSt5mrP/9ZHNvSwr2l\nyDTiRSuBA9blvDW2/X9nGsn4S18TYPpvg8JP6XmCJpfifZTGovcFgWIN//cS\nTSQQNxG7w3ydAO7QB9iCnWIXi2/BNZW6LgwI9cdo50epyDhptbS1mtMDaJCw\nRsvElKuay7gtM4vPPpXrZLNZxM1vNAWwrzgK3GEv4U1TkQXBnd5rYubZTEeG\n6A83H+ZMyFAxDXkj2G9v1VNJdkAWdlHr1M8k3E/Jovn59451mFb7bs9ZqB8j\nx5Js\r\n=awH6\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIQCisIu8GFQEZcerFOgTrajDy8Ygoo2pKfVInDejZPdwkAIgLztUMU0He956RgpN7SHS70bB/5LtHqGw6sTTjqvILU4="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:103ba6dbb3a32e89bafb0d99cbd1985f34fd7716c5dc09326be3ae0ca2211d25