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-XTh8r42Evu3YoZXHODHMo4QypIZ+ZnHCaqDTP9s58QUkQd/QOuqqS9nrp65B2TbBNgtKa9HFR8KJabPQYy7z7Q==",
"shasum": "0ae63e2a7999236ecb820f008a87f040d562df62",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.18-alpha.tgz",
"fileCount": 9,
"unpackedSize": 16127,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDZTPCRA9TVsSAnZWagAAgOAP/AhbKuAr2Fyd1QTwewwi\nCjoTHe7x+8fCiuIVXjHmWtXzGXdF4ckUZTEluKkd+60rSt8enH02ueYs6k14\nQY6FDpETRZD9hffvlbYjTaVeRHD+A3a0iQVQK4CPSpeLSgNggZQvH5k4AQjZ\nMz5TICpzLRMi4tR6BJNQ/xUJt3JknVNSP7A4M1guahttW9FiTzOvp836gcSI\nC0dkAlVTKTfIdhpv+/JPWH29pYPGmd6e3sT1WrHR/O1nOcW1TdcZCEDThLrq\nQVFYkNaxfGROxn3MRMg014uFPV9d1EbULU+dncc1J5oZQ6VchQmoFPa4xdON\nMzKU9o+U/B80oEZ4QuFD6pfK8UqFIfozdJyOEozhEs2JDTMDHUAiw4lSE09u\nhAPHoNqr0IfgJNxln3xNW3gRtJEEwxmoC+Q2/+zTC1GQ3Jw0avqJA+OSozBg\nN4+n9TYbDiK4Dq82ka2hRWKySyCO4mrKZSom6mHhP0m8J/9iQqH5RgZrayJd\nbQOvzg2hhYd7VdbaYRKR7kuVJ2kQOzwyGdqrcaLW9adEbMTf7MdjgpKpDd7r\ngTlMSMinfaXiLzzV1tqKGzKUUkFG3P3yC9KARNL601hBIA36Tm2MEQ/71aq/\nOD1sIoBbrlRI8nAVw+MYc0qpMdWpBILHaUmjA+DkV6s3VvqMD3VGvyEIxBy5\niN2e\r\n=PUoV\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEYCIQDwdOyQfNglCmXFCTBaT3WYKx2YtNr+DwJoJ3TMr+y37QIhAPf49T3PklrqvKmVr1PBGTb4FqhFBrbAtrylyWLQ716Y"
}
]
}Observed since 20 Oct, 19:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f88264c687c1fb93f9c3158e288d449d710467de81be1bc58d4e66660ebb5359