Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
fslightbox
Advanced tools
Modern and easy plugin for displaying images and videos in clean overlaying box. Display single source or create beautiful gallery with powerful lightbox.
Modern and easy plugin for displaying images and videos in clean overlaying box. Display single source or create beautiful gallery with powerful lightbox.
Website: https://fslightbox.com
npm install --save-dev fslightbox
In your application .js file:
require('fslightbox');
In HTML file
<a data-fslightbox="gallery" href="https://i.imgur.com/fsyrScY.jpg">
Open first slide (image)
</a>
<a data-fslightbox="gallery" href="https://www.youtube.com/watch?v=xshEZzpS4CQ">
Open second slide (YouTube)
</a>
<a data-fslightbox="gallery" href="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4">
Open third slide (HTML video)
</a>
<a data-fslightbox="gallery" href="#vimeo">
Open fourth slide (custom source)
</a>
<iframe id="vimeo" src="https://player.vimeo.com/video/22439234" width="1920px" height="1080px"
frameBorder="0" allow="autoplay; fullscreen" allowFullScreen />
<script src="fslightbox.js"></script>
Available at: https://fslightbox.com/javascript
Available at: https://fslightbox.com/javascript/documentation
Browser | Works? |
---|---|
Chrome | Yes |
Firefox | Yes |
Opera | Yes |
Safari | Yes |
Edge | Yes |
IE 11 | Yes |
FAQs
An easy to use vanilla JavaScript plug-in without production dependencies for displaying images, videos, or, through custom sources, anything you want in a clean overlying box.
The npm package fslightbox receives a total of 7,064 weekly downloads. As such, fslightbox popularity was classified as popular.
We found that fslightbox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.