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
{
"shasum": "a233f1a8f27d9e2d329d8a65ec9ae6efad817232",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.0.9.tgz",
"integrity": "sha512-5MdQZXkyDgs5wLAvuXLFWBp6/icJikHaCZcERcl0UWmIe1R8dHJavfoNVumzfv7CrZ1P3ESklcO5na5cu6r7VA==",
"fileCount": 16,
"unpackedSize": 16934,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfA/ThCRA9TVsSAnZWagAApjwQAJx4VDRxclEvpFGGcoWG\nG2l0wUl/ujLq4pIEBLxz/D7FMt7pAWzU7tz3R0vbgoFlCc7p6rJJoo3svxCe\nwwpRT41vi+6tl8XHSwe8sdnwXYL14h18TE/ARCCb0Bm8c5nEBP4xBkE7Yl11\nZQHys3jr+XMeTp7ibKBdgsA6jwa/DNUNz1Cgyl/hUAFWLf2dtavhhW9QffpK\nOVJbWS69v3Nuvt1u/it0ka+QvYnoU+pW8eYz50T5VkHo4Mnaq7VW4r9QzoFE\n4buGL9oLItoVB1JqKB3xW2VxUG0wnoqvWB24BArEzUkYp4WraIeivQaASEuu\nvRLkQBEtepgvoPZOP0T6Zzpyc2/BoIZj5B/W2RUoRKud3o5CVUhsKdF0MQGW\nE7ordw0EFD+ExRqdrbxVjqaCrW4UhSe1V3iX4IapLCdB2aBHrK6QZ8oDPb83\nFdlW5Q/cQlpkn1Hdp2cksmR5O17vjx3HIOb38jaKCi+EvUHT7R4US3Ii2Z6I\nMYmun+xCY9m1BI5azoNfkCr9U3Oms1QUlqGlgS++sPf4bdkaYDItbWROmpW4\nmuqx2IDi9LvKvZ2jmHSOQi8/MHO6R59a7L/reIYcwK6QTM8DQb+B8Q8Y+c5t\nt67sSeqwAaA4teopZZAWTpG4hWXsuf9xfgmr4Ov6QF8ubtA6Rpm6A2+5l4NV\n5Pad\r\n=b/Ld\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIB5rD4v6uD3eQ/3AjtlDX6Iyx+tgZwre9yHEWYqW9q43AiA+unr45Z4jLfePjSDKsA5wiTVZQj3DWj1Al4dsV0UZOQ=="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:36d69bc551e2af27abca3067e9ee0cf9f5c099af1cd009fa1c4ee50ee9054e35