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-6skbEGYDsct6fZWOUkdv4fTKJutLM9b8ovQL2Nc1LSu5aPpnAKUV7zbAVtyxbef6u+G0e5BOMqZphRwcX56fDA==",
"shasum": "05e753982533c98842d64dd4d4fc202e1517a793",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.14.tgz",
"fileCount": 22,
"unpackedSize": 25683,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCyFtCRA9TVsSAnZWagAA7iAQAJq2Wb7WZofNW2/YZz3k\nGz1jUa6eiAqX7xWLmizfcbUKl1YJzDWeENR9t0t8nr5Ur+A4RB48xM/vRr8S\n6uUrAy7aNv+Ni22KhBIKP1IaBF54ixd/tZASDGpf242WyB5x+Rj87sQAPGeV\nE2kPDywLtiCkgPzw1W5fe1n61QUpAJsLgC5WUV8Qlz2UePfkssHtteZV/S+z\nHbqG8wt538CZlfzwC720KblYee7dnZ30DE4ij7w8OZIfTDZGEXmNxrG7YUEM\nBQRi/ECD32ZXvDnHoEmoqEBYHysPDs85buCjCrv9xQuwhCIuFckCEKYiqTOk\ny9DWGtNZK3iAaKkmo8g21BdajsoLrpoAZvLhTc0p/EcRbKGYmzgg5VPsz7X3\nVmY0hZgnh8gt+Au7yNi5T6c6chugEwf9apVD1ZEUwAMWdGl7VS96nA+YU00I\neL2UTocRQaDC4b1llUXa87xAM8nY4S6dtr0tZPeDzXXMqDC6or5VDK0BKn7S\nG/dieh5kdvTd74g9UJHSeYR2xgaovPI/JI/qcih8kigcWHF5aUW0wtX/LbXR\n8HJ9iN9rpnhE2tG7TZCD3t7dANWaZJjGulL9b1o48F6RprRkPdoL0Ei01/ZW\nKsPrKhRNyuESQXddLVjY5wR0pGXJY2j0XIH9s+UamNPv5PjwhZjmHYLui4Qq\n9N7s\r\n=4MIJ\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIQC62GqUWpwk2hlCgOIzEOXsndtnya4zwHJIlTDBzTaKPAIgMmEkoILJdSP3ogduyjc2mjgr6UYB/QT4OF3nt9xFIeA="
}
]
}Observed since 20 Oct, 19:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:be9a2728bbcab4d125f7d54681a0fb2675fcf3eff6cc1b7ed428ef65d257607f