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": "53c6f57985916bf472db1ed512ced5d976faaf7b",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.0.7.tgz",
"integrity": "sha512-MllfL7QEWlsOtcJZJi4AG9zxIhwBR/1opzvWi2qAG1gXaADooZhIQKlq3NzBYsCU5vjRMxiIYol7Jdor8vSR/w==",
"fileCount": 3,
"unpackedSize": 4924,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfAy6ZCRA9TVsSAnZWagAAmx8P/3hIp29mrKuFl4O6cjID\na5gqb4nPSljYvQYr2TXv0xTldGFb+VJokc8Oa1YSzUcCmOvMLXGBgg7lj0+p\nCHPKGv1NYzYQ/SzcfLeArTaPhrznX7RqEIm1bqebeJ1DMug4IPXYAXq8rM4+\n6juUF+HDFCBfIGM9mBLe7n7w2iMhCLBQtczyE0GlFfXzX9cUKL87v3GQgQir\nioE/g/DkbO24Y/AzyVxvU3GmIja2qimSdQDILXG9OzRom1BYFYA46ZdCNX83\n4Tp0+0TaoscCELgg/F1cBna3DXJ0OQXjlREVsDzlTjoICvgTj+R0t5QJrcvv\nt4ZwADrtGu3LCHGvf7+u6ZDuJzUKKSTh39WCJJYDfD0rWE7TiaxOG/ZzQhu8\ns0M7I6Esh/d92dahvUP8EVruRT/YPrCbb3HT/5h3wgqHcLEicMTOp4ee3XIc\nBJQQ8PjRpcmETsDfi7Pr0g3E8xNWQH3v9j7Z99IZs1hULMDQZ7KfcerqQgES\nmpO9yCl15I4QAubotvX6pn/NDtwbL64kITXsJlOCnJ02yDnslPrFBmf1JDC1\nMFphevkRYDJt6kXr5jgSP3daMJ9adot2oi5CrBKV3WNpiblemgFiWFlIYAl+\n/jUnaqdiWU52A5B4mJGCaHeSxIRGZRRXRWB6uwNmahrZALm1fHCwDz00xvom\n5CL/\r\n=Q5XT\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCICkgLuJ/Wom+bl4OtPPSMunHsYFfAyeGHtTCS+kaPMe2AiEApyNprROnq9pWrPvwNoQt9Yx7jr0Mc4mtYpOMvSRGNgE="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:c90200d1a143bb35f8163fc9e7598e49eec1e8a1af9f165fda8197483ff8d6ea