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-LyqXRsvyqym27aVudGfUOr0ou0D1xgALpIz/GB8pmXLptrFQMZbfoGg1uSsTS61iT91LRdWsqMM0E2m+xB0JoQ==",
"shasum": "dcf440fd5adb47253c045bdd61a8963ac0065e86",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.6-alpha-fix-6.tgz",
"fileCount": 7,
"unpackedSize": 13216,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBs3ECRA9TVsSAnZWagAA/ZMP/igbRaCAw+935n/nmmFc\nafFVxNkcKCcRy8D9i7DtC40JRuIhx6cY9y68ZdQhTxKRQCl35PZhMGkAxJZv\nh8sOemRnlhHxMuYctbZByvc4R0wnF2ddPana6XdFrrpv8kIfNIABzFloo0QF\n3e62Hf6zDG26FTI4FTiYud1B/m527cS6XNW0NHRzycD530Ncn5qqd+wGONTY\nnjgrtxhYic6O8wAnQXxNkEmfBq50159BwJtBWsmLWwowoOi65BHsmHlD36wg\nGt6qVlh7nj/0JBzeuAhp6LBsMUhaoniCoVBtUO7FpEy6iZ73kwouPVz+kJ0R\n89oZf2nMdDy5YyHJQRSJfb7lxFg9Q3dd10QXmxfYFSzqoDrzOuYB2vVeSmMH\nYhqdMT0kSMCOJp5p1AT1t3f/iEgxhIT6lgjpVnypBX6+JO9C10tT/vwM+3/0\nkhNvOhDW3qS3iiWj+HRSqccwc7Vs+51UDrElbVM0MxKDXCU7j5puGsITA8em\nTmSthqYC6kelOpAYnL8vKwAeYfvnE1k4yxZG2YEx/FvF0l0CfPpWmLMNEhNT\nuGCv8cjCH74qT6tPRuvCAqg77pQ300Iw5EiObR3tGroaChQvt4Vnf83RkFvE\nAipo4SoKrAm368RZ6Mz8KSWJc+ODyEW5hxHQUFIya7Bob0PPNEW3OsQy5SxN\n/W7U\r\n=mLI2\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIEPhciau/Oa/x3PvSehNFH+4uN7aPKaJWNH+rFoYjs2lAiEA7FHbBJbTtEdfMI6eugBnDz1dWwMRTs1i39/sj/tyKa8="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:cccc45a9d7e5e1df107088a59e9904e5ed0c8509ba7a35360fc0fa17de0fd6d7