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
{
"integrity": "sha512-xvgizVbljiauuM5nXC99xU7seW+WeUHb/z2/Lt7Hm1dLeCmr+1y08L4mmoiEC2j9qmmfO+CO3FuhlPXMD//bsg==",
"shasum": "f23d81e045eaaaa83b4430947981b21b45319501",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.5-alpha.tgz",
"fileCount": 19,
"unpackedSize": 25660,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBouSCRA9TVsSAnZWagAAzMsQAJ28lRoA5mpNTwe43bDE\nogF4bWngwkfIaLMmFgz9bZiGPpntrt8psQvFVOtAyfaaSbe4t+F+esqzVvKs\nWca46Uv2m4XTiiiZJLVQqaObNc3z/pDJDEzJoXo7GKt5mTsnhJgz2b66TQtP\nf78xX08ASztCmb5ic42uCrRGhgy9xrnFna/SgBrA9K3EJF42LTJ+oWKadBoy\nN7UXN9N4EYbIUdp7YEXPcLfM2daAhNk+DoLlUBWLQK3RXJ6El+j1ZbJyHOEK\nE6iDqO6umaZ6SnM39/9nc4RDgAom1Rz2ys2+Ov7mwOzTuN1OfQo6pLH4Eh0l\n3r3Wk7XzeI+2WNM3+Rz7dbu+uowmLIARrCmWVKcxuEvultMjYH+kNpPEzzta\nXr6p0RlNGPnY2CvAQjjX0L0NbLxuLDE4tSO2JF84+Uf0LqW3MSyVh1tsFyf+\nsa+hyDXCVqUPp0e35KM2vqTsigzjwR3fd4TYTIiu6jHtpv8afkjWeIzKwkw2\nc6f6EvupIXuURMwrX24ZPs+7sZeGeYJ4s/z5cmUQGe558X24g6xOzIYLWuHZ\nRK4U5AqW5zgFjQN740GC5VQOB36Of1g0xcFfM6W/9zIVvwtDj//mmXCvUS0o\niuWmFAlj+Qw88fLEkDXi+0/XeKC4Ixo+xsBVzgRB5CCLLsq9ZOlpg/cHHdQr\nPqG+\r\n=vB7o\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIQCglGwyAf1/osh7/UCXydGdO4rnF6ArrshGlD1uZ96TVwIgcfY93XXHY4MXlD+lFBr4F1lqDXk3bmVlbAH5RodRw0w="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:d30e3d9c03f6645ef8b8f53ea66a2bc404cf29e0d055938ae9ef55df081f2f0b