Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@mangoweb/hiding-header
Advanced tools
The manGoweb HidingHeader component. Hides and reveals header on scroll.
npm install @mangoweb/hiding-header @mangoweb/scripts-base
This is a @mangoweb/scripts-base
component.
…
<body>
<div class="hidingHeader" id="hidingHeader">
<div class="hidingHeader-in">
<!-- Your header -->
</div>
</div>
<script>
window.initComponents = (window.initComponents || []).push({
name: 'HidingHeader',
place: '#hidingHeader',
})
</script>
…
</body>
…
.hidingHeader {
position: relative;
--hidingHeader-height: auto;
--hidingHeader-bounds-height: auto;
z-index: 10;
height: var(--hidingHeader-bounds-height);
margin-bottom: calc(var(--hidingHeader-height) - var(--hidingHeader-bounds-height));
pointer-events: none;
}
.hidingHeader-in {
position: relative;
position: sticky;
top: 0;
pointer-events: auto;
}
FAQs
Hides and reveals header on scroll.
We found that @mangoweb/hiding-header demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.