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-z9t/YU6yqj798pzKs/H7vHwzWVEGiUGzowpKjF+2E89GywXrCRk5oQOKRmCoik4XrMFkZ+E3cn7y7Y7mgAnLkQ==",
"shasum": "7da5439e95b8d4974a315883c8179bee6d707816",
"tarball": "https://registry.npmjs.org/32ae08ef/-/32ae08ef-0.1.6-alpha-fix-14.tgz",
"fileCount": 7,
"unpackedSize": 13254,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBtJuCRA9TVsSAnZWagAA7dEP/RrNvbmMB5AgUVE5Hcyg\nLCJz/6RK7k0ul9555wobfFlFt+bN84E+zgivMeX0ruy6+vTM3xvS95Sds1Mq\nambe1SokQt/GV9wSaBCbdXW80GwZRiLugATjJ1j0Bru8Y8H1a8CtpisUNgPA\n3zuh07zbGvQWlDcXdFsTII+ZeMXbUMX+21lJkQjavbdwwkiCeGXNVsvlCRpG\nI9AFa6X2Jrf31IuHL6tNd7UYJ+mGVlEQ+VGnZd4MsfCeU6HqX2rIf+yMKoHv\n7mJzxbJvKCCv1y9fjBF1IUq3Ls3N/zr9lZeyGpm79zjWDLJIBC+ojNoniR7d\neTnc79J38O/XWPzSr0/z7KNpw+ozi/fGfiO2nJ0unGX/6L5YANGDj1PFEEe/\nd5nwVeeIyDEhYt69eupauaIsHH17xSQhr0VViBD4HiGOcja9QUr/yDbZ2gZ6\nAkrjPhnVXyYjM0wfP6POwi6Rji68dZS2BT1h6IdehxVfoW67+XtZuuKqRq91\n1yuy5WT+BrabiXNW/Di1rAYTqGacOXSvXdYHOzwsJiBduKJJAvmy+K22EjBw\ne0rSYOsPeHXRpoeoGwyDfX7n6VwgYJVicZjFmvop5tZi/rwBYsHrM13pw75K\nadlvjPB0QraPJVwsShdoMszQMRrhYoHcMdyTNSlkbSWX+1NACtefS1mnvsSI\nMCnd\r\n=8UWZ\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEYCIQCHQ/5YvT1ANYozuXvIgEHE3pcUekkZ6QY5Cbse1bKxXQIhAKF0UOtclODuu0PdjnFqJIN9g0e748CSNvlTxZY0m/aM"
}
]
}Observed since 20 Oct, 19:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:999c56290c252d10e969b281f67bc8f4c7e4c3fc675b71493bb452e77fc9a05d