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-iGeAwPRN+nj75JPvRBSLL3N3lk8P5qWf3ayyDZK/wfIsRKGR742J7n4DwWmOzwHvCllLOg3BwnFwrD9TPAzuwg==",
"shasum": "820d67a3280ba996df238d47bf0463aef170a689",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.3-beta.tgz",
"fileCount": 19,
"unpackedSize": 27385,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBdd/CRA9TVsSAnZWagAAa/sQAIEIdCYo9oBDmL544iVi\nV+QZ9MoNGQtaNNv9LeXVY34MaEiMvfwaU2wKwQfhocoE/th1bmMRXuSJg6w3\nRkstMshqhYmokbTRUIcbkesG9WF36eGFB2fP52pz3etixMjJZ2aE8Pm6BwHM\nNhb5q9TQ2Fma5ULprKSW4AS6YNBad0KE1j7Z4sd4h8TPoTlpgdnLXMQrEkII\ngsaLk9XAPuON/KnSnbJuf3J4mMVWNtq47VhwvJE3rxBtEPpXj/Mo96EApxtL\ncW/FKK/sxb08cfVkC3VJ3GIPadknlKnba369f4SfKQAyNxOq3Q9tro8lvxeF\nupjnXAoybh9DpnnSZx3fKabFGDwCtD8+vCDAMslr/A+OochQuXnd40W+HyW7\nBACl9hEWCZ6zB8Dwko8XreRMJ7Nq1mUSBliYoRhokVluVyX1eyqOQ4JNnQvu\nEfVchpua+he2XtOoImr/jD+67Qp2EUCEzQljxXST1WtYxMqmEa1utoLwK2VN\nCx+BxIyYzGlEVYIA4BG3MccR2+YpcdmEe29hEidB9KNARH6wwOE4iBuhP3Cb\nmSCbF1sC4DNzAEpLSnJztA9xt5HDL2CN4JJ/ZgTwDldZtQMCAyrkxgDVA1lx\nWr4hmW4KecDFtXyG9dvFFjFaOB8OViyHANio58ifC9q7TRAbB8DHI57L6Yu8\nSZR8\r\n=5Adw\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIBjQToH6FIJHoqAkAe3rfVYmGRuSm2HdfDDqn6Cm8M03AiB1trtlR2pt4Apm2OLNwPe4bFKErERAt8aahbXSlp40QA=="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:1503d07f31efcb8727b36f27fa3c9d323705bb5a1e5ebad7ca07c6bc764dae52