
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
fslightbox
Advanced tools
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.
A vanilla JavaScript plug-in without production dependencies for displaying images, videos, or, through custom sources, anything you want in a clean overlying box. The project's website: https://fslightbox.com.
Just before the end of the <body> tag:
<script src="fslightbox.js"></script>
npm install fslightbox
And import it in your project's JavaScript file, for example through the Node.js "require" function:
require("fslightbox")
<a data-fslightbox="gallery" href="https://i.imgur.com/fsyrScY.jpg">
Open the first slide (an image)
</a>
<a
data-fslightbox="gallery"
href="https://www.youtube.com/watch?v=xshEZzpS4CQ"
>
Open the second slide (a YouTube video)
</a>
<a
data-fslightbox="gallery"
href="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
>
Open the third slide (an HTML video)
</a>
<a data-fslightbox="gallery" href="#vimeo">
Open the fourth slide (a Vimeo video—a custom source)
</a>
<iframe
id="vimeo"
src="https://player.vimeo.com/video/22439234"
width="1920px"
height="1080px"
frameBorder="0"
allow="autoplay; fullscreen"
allowFullScreen
></iframe>
Available at: https://fslightbox.com/javascript/documentation.
Available at: https://fslightbox.com/javascript.
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 9,477 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 1 open source maintainer 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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.