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-q2i/WAPkOv2YaX2K3pq2EOOjW4hF4W3Ad5W2yVFZBsUOe95wSoWZAQ+3Sp3528rvO6WXnnklznQ3tDHkDz41Zw==",
"shasum": "68041d2eb06f274722e54060b6c9fee4771d74df",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.10-beta-fix-0.tgz",
"fileCount": 9,
"unpackedSize": 12463,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCcLbCRA9TVsSAnZWagAAeLcP/2Tab86acZP0IHJb/kkq\niI0+5uIsxiz5knpAIZ/F7Wrsf7V8DmA87LqGnHhzxFcCne6mQB4885nfgCMr\nBmUwwbSDweI5AjWQpyerttV5SsD2CdV9WGmgxE1KTlcy+OQ/akhZKoqzeZVT\n2Eve8wPtWwlSU+UhX0Bvq/Q/OnSSWY9AVl4RZ88DuosPkIW5+skXdrxqM5Hs\nwygMBJ0fF2pWF+fQqyll6FNsaYuSVDWyUPOMzj1Y686NFvrRODXdfFYabpRz\nViy21KvaRZRRSnQc3/spcvLcbF09pWibQXoUYvKMPZYM1fh0jb7ua1bQE/Wc\nqV12U9fKfYTUYsqpZukbMobVr6s7gWDpl/VlhJzBQMJSTGAbeQYzjD3byDt1\ntE8AzQJsvv56FqhNo+Mt4c9SYL0RINpcH7M8freWKKzI4h8HpyAplhqmlJym\nO5iBSFFj5ZFyHTUNWDjyKE2icQw1wS0tGn6n1tVSTg6ql4jftBs1ZF7BsatC\nN3dHXH2rSw6rjniyaTwdAVwsjZmwRfclHTtDmfL2TDMlvZTiDbaOhRJ8S+69\nzZWmGIyLPKIJtjJS8pC6HNpiKMB3ITYKITUj/CE4F9Js3wtaBQ/S+XxT0xlc\nKMpQbXjoYgBcuq0+Y9SgCGkIMT1e9Jk8BiHsZxCXMBLdWXPIkfhk2T1HfrB1\nZJ/m\r\n=COnJ\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIHECPa7s/0yd0SZAsm1GG5guipPzx07h7Sxf0ufaDXyPAiAFntkWM/KowVumyy3ShPIuLXY+7ngINHNrYLYkfvii0Q=="
}
]
}Observed since 20 Oct, 19:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:c19ff2dd8b82f970af384947b6d88f3eb8e6cf4ae1878616bace2cc2219201f2