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-Pwy50TIhdmUPha5JxTopCFIW755lsVgwpARXWe0EyUDhM2FRnxb+YADj+ZvfCNnyKsfrLEMzumlNbGGWbp5F6g==",
"shasum": "4a2dbf7a5f14946b548a3b5569bba22d77a81643",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.6-beta.tgz",
"fileCount": 19,
"unpackedSize": 24798,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBtZ1CRA9TVsSAnZWagAAUkkP/A3oP3hkHRzNYMYqYR16\nCBD3SjcSjU834PvSnHO7vHvn3dB8jSIwpF2kQ7TYQBTUFuF1bsQ9LqSTDeEQ\nwUfp8AD9nXfcYkxsd9IWNrD1XGl7YfRbyeqJ9o2ncPKyMywZtSaOu6VSym1k\nr19ffZmiRB00e2UoUm2dKG2JVX46W3XNT/cqkxwsd6oMRU2PTtnlxLmypleF\ns+Scc0+zF0yQKIDUxdmZ81mvEDmVCdYR1+RCovpPkH7AoAA7WnD534vVmDbn\nqxZz9ruwNmf+aJuQd9G3+qWjdFM60mhzy1kJeEkSz6vPGJ3mDEYkw2Py59vA\npG/W51ckbw8pWCdCeBvb7gI4hWKYbFsRLsfEMF7m1cN5dDemhXlx5IMqg5XC\nXBSNPaLUzoi+r7e0LrCBqSYzlJlo4uRU8iom3RTa5OzJymbK7Qcp4UBEZ71S\nm4iVUjC+UxbikURTxQDq60z6iBAYkEaL1g5rhQXIcOJxNtCpnr5++vacYY7j\npMnyyf1oleF0Vc59L9Yq3qLxKpkB+SQjoxzkhloN0gsvjZK54mCwyUOHhk5X\n5RYkVQ7gmQl0KYEv60KPuUxW8Lhipn2DBuplhftIPxgeLFZPGW8gDcEDQoDg\nCbfiEW64mjiKY/Pk+RLR/vDVJZjs9cDADis7DPsPaIirGvnQDa6ejaNMruBY\nFqog\r\n=tEra\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIGvf7OHG9FrPx0aieG1q+4w/JtYuPicjW1+U0q4q9CfaAiA4vjdb8zv63aOKS8iyqjK8xWNkmfe1GQHLRabTb7ryjw=="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:39f5c75efa7d3c250378d3bdf7b70427ad331b4e9b08e9da2bee04113c52a963