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-I301o5IlQSFPy0jh3EXJzDJSTmTu9CCMaDsIwgxMNY3bS5iFS9oayhNSa/G0WPCd/Na3vCB2mC2Roo29ZbvzYg==",
"shasum": "70e8bf7163e3d54a58a1245e17915e8db74b56bd",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.7.tgz",
"fileCount": 20,
"unpackedSize": 24807,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBy8mCRA9TVsSAnZWagAA5SMP/32vcsLbb0Zd3VByHD9L\nOi+x54cZoACmlw5+u1sNIMx4NkjCMwT3P94RiLmbiGR7yd/yTJbd9X0nyDlv\nA+pKgwi4XOE0mjZSo901CGL9gYIBGF5L1mnsd8nj7kHCGBweJdDCqcjLZk1P\nM7VlfKH3OZxTzUyDsH3deGoBDtZUxLUWqk/TPPx7Muh572kjjfxF3Gj/3r3w\nllzIJSNOX8dpJLw1MDgRYzN+nK7p6cTwKspu4mE7gXSbLtFcJNub1t1GWHAi\nCiJwOF010A+KG1HoWohTZkRx/0cpf37DRh2JLwwEaorUhtQeNzXteDpDqXd7\nJcb/M6B6lQSvvTGf/+Sae8hwU+ALMVmCVPJ72a9rXHY9zfAYyYFeCjPfDdr1\nUy50rAqc0TfcGrhk178loxTVK9jzEZh+FxMyGrYVCJtW2e5jX+GBsMZu+gX2\njBqyJ+nEfPGJZRUbgxMu8uRp5snTM1E5qnDlDNXrtJjkMRSpI9Vwv6Tax9Au\nGYJYGk9/zs6wStap81sKDxSE6VqwEEwQCNFwy4UvIjoGIrwpAzOVMJZ3P64o\nd75ZotWPmNe/UYS0RPTLEaPT/u7rfTCvVrzqDzQ47fxeyqXcL7c1iiwuDs/i\ntAvOfg3OptPR/3kro3IWc/Fz0R4c2NjicmqMWpw0LhU0aP4pPnlR8PXe6zN5\npqYf\r\n=Gfb8\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCICrJe3BeSln3EFRw2nnDku1bmvry7XKTIYb9y6eE0L27AiEAgIEcKz2tUTbQaqSQaoPXIjLmSg7s+AVbuuibQfgxsjo="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:19efa167cff81265ee98187eb6d1e0da7114ba8b09eaaf927c3cd6bc4fb1b9bc