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": "1f2981a6d34eb32e93f6be494a4e6bc1eb28f851",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.0.11.tgz",
"integrity": "sha512-t+Kd/Ah899K81Zccwv6eq9LYFVsmTH2pSef6YHqA0XVV/3r1zGN0oPBOTHK+kiLN8sYhYmdlmIvyqbDQPyGOgQ==",
"fileCount": 16,
"unpackedSize": 17533,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBDqPCRA9TVsSAnZWagAAJBkP/iEYGXMKk4KFor30Kjwm\nwYDhzpKoPTPLbGmPdySinZjOiga5kkTf+VGv0Wb5QTqQDE9QfCJ8TtYg6ZBx\nJq5HO5VhnHk6yz6nLRBJLCXCYzeBAu9KrUVODvmuendjmo37jKsgWr8+salY\nA36UKEwwvmbyD/79/q7JNi7tmCYKMyAvj9JNR+2qfsAxJ165CPpviA4MP9BW\nNHoC84wdBeBqK9Ti5ZvtQv7eEzFNIrAt2Gau0m1YsPv8RJ/GPk7v2do/MT2O\nvViu/SUJWfJbGIoCnKSZdj9gUqoZk8W8hOTwsQCBEy6lnZ6Ueb80ZkuhOZB6\nJ5PuuXEIMrb2hs2xRo2X54a9oVYVvBb6bVLJpuDfCg4lh/Dp5df3YG3w2uA8\nWD2xqdHtqmbCbq7072cZqsX4hYB2uZJ8wLN0Y4yt3qa3w3wA0cVNr4q2dFjU\nhJQf3pdgP8g+6tU0r3EaEotvClp3TwmbPxF+kjlWWt++Pk6v9Up2Dgxfkqvv\nNzDWtWaiFIL6MDssNZ+mWsFCk06TjFdKCJ2jquNQC9fBdyOWHQlr1PQt0SxP\ncFhdSAw5pbRVXj81EY5R9FbGuwEQUKS0CRHIAq4r5Sp/ZZXEckd3v2TNZMjc\n0ay45JtF+TwSj8SJfcl9eIcmvII73x7adH2tMvPR6z1U3DFvp3HxrlbjhcMX\nAuCn\r\n=Se09\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIC6c9oh6OxGAjG4j8H/NgWL8pDADTMVInbDxE7sw2LhoAiEAja7Ev9XxSbB5QWasE/YuD507lKV+1oqt9yYiIMyCkMc="
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:70dc04a6746ec3987b423b8962f7e5df9fcff6cf432e3e06fc756f9f0bf43caa