Observed since 20 Oct, 19:25 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-YAiTCtza64B8VIFSPAfMZVA+JVm+eCIhAXWoDXZztKrGCj6BMdC+H0bubMLk16gqxK58+jIArvhHqWaCy0coDQ==",
"shasum": "cad8848dc641fb79921302a7c32ceeecf3704475",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.16-alpha.tgz",
"fileCount": 9,
"unpackedSize": 13619,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDEeqCRA9TVsSAnZWagAAfpsP/RMG7VCG7fTov2Kd9cxt\nAfawK4Vol4qv0jKLLDi7FK+xHhHxYfudoIovIJIlDThCKfasC10uPz6dOpMw\n3Y6/deYJ0TBHBiV6/RP5cmQb1QHSJbDZCy7e2GaK9Ss+611Jvpjz/oBsRyzp\nA33HnjxD5M1l4gBq2jzRDqcTw4AQ+9p3oFp0vc4dRII8yoORfw2RaBYR8MNZ\nf3I7zbYyR0uK94N8C3l0z5MTvs5cAGAmI32nhq5wKEDKQHstARzyprKEZFv9\n57+F28sBqrOEm8KW35VbW2AMkQ+IP8XmCEUnH5gW6ub/9usMyqGVrBQA7OAD\n+5G64eHIov8XXNsMVSDwEIS4iMedIetos5NR6HuboMcKc+UHU7psEIvcQOBK\n6qO8EWMKgKue25YihxGH/DGA0e3bLQvDHmtXXQXtoL8bY3yKKuszHgioNNhf\nnjHe/wG0pihXI8aNd5LBfyrp54HUJSAJqUZUygUvTG7H4avc9+W/HZiK8myv\nEDR0De2AdfVmHWW/DYRFe/vOVhtO9CZ2sWF/bIrAptbwZdaU0Nhd2dBlRL1T\nbr4JI5b4u2rqTF83tGauOcnf1IOssRvAK8jbKDSYiFoXI/OOmwOIYD35o4Pz\n5yrFXnqgpggM3f47TGDhGvfniMR865IWdtWJFNFmebjdKv/0OZdDBdT+bhjh\nuz0p\r\n=q3Fh\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIG9kM4+mo/76ClqzYTYcpqdmmhSkiWvMGBpbIDQHDxG4AiBIxsxJnSN7JHLNV8qDePm3E6qqGfuhTEqygWYOh1UqDA=="
}
]
}Observed since 20 Oct, 19:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:236feab42d27f051d2aecbb2b4354b47f050c7dbc994bdb93f751b798fe4136e