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-otHIA0SIA8n+kkYbRtLUJEwCULscHVj+ESTGAmeGHiES2+5bB7snAelVIZQSMtXXDegk4Look1d9tTOE58/Z2w==",
"shasum": "9077c0620f1d867d219922af3a822c4395ca1d71",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.18-alpha-fix-8.tgz",
"fileCount": 9,
"unpackedSize": 15783,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDakSCRA9TVsSAnZWagAAeOEP/3v5vYaA1UCNS3ynS9cP\nEOACbyybY9umYwZ7gAw2+u8EZVjB88r9e66LPgguvozGKN7rnSTdhRldIzci\naV6mibyyTouX4e1ZoZQe2xJ/ZEo+UH+4iug7fouPjhRTVnIXW9M66PHF4hJj\n5Dn3756aO7zaNKxnd+oIQ4bYQvorGcRKiu/k/7agBWLhl5DvcoYYlFn7n40b\nRmGWKBErAVVTaxfUOIcT2LT9p3PEuCM/psKoPFHHlI9rIYf6NFk62FR1+sT1\nddRBIPjNZJ+8CpOdfyRU9IH9lE81y0Or0stIG2TRl/O/nMvUAFMSxb1YbimQ\nLj0VcxU42doNtQlwBDdltS/R1ghG0/h8PeFq3IuOvOD1sGgXZgh1mmrgfyvr\ntPA+YNoBZ5h88H+2VSDA/UjZsfbEgUSjLxM8msYVMbhQomXf2LG+fP6wiVuW\nWhhh2A4Ga7cIyqOQlvM3b0jdLFSVnqdAdgq5Jb4U4PmwdM3ZDMCa+14cdBmU\nhhP/wW+Aj9rjo/5MPbJs5bt1isOX944zis3f9qfCaW2H3aLxTZC//at+ohnl\nsSh4rSDU227OCfbC1gU5LIxT37Qu+JquT2bIG8ocsGRONHGmo9IhhRwukmzx\nSE5a09f4kAmNu+XC9Ir89WB2qlVRRE1+334PGBoyAU/MMlkXxg+PckkCWzq7\nMuk0\r\n=iJX6\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIBCvUgZ6KzdR2iI9NSB8+4XZlis0HOYjKhD1jSGEBz9nAiAsnnwY8bm/MkmA2ds75GWj0Fpf3YhsLtNctqhv+G7yYQ=="
}
]
}Observed since 20 Oct, 19:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:9b13b1757c3cc92a8a751f29abdd59d401615b70fe7f2ee667adc1b01b2be8d0