Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
apostrophe-browser-requirements
Advanced tools
Display a polite message telling users with browsers that are too old that they must upgrade or switch browsers to view the site. Use only when necessary.
npm install --save apostrophe-browser-requirements
In app.js:
modules: {
apostrophe-browser-requirements: {
minimums: {
// currently only supports IE detection
ie: 9
},
// optional, should be something simple, not SVG
logo: '/images/my-custom-logo.png'
}
}
And optionally, in your CSS:
#apos-browser-requirements {
background-color: #somethingthatmatchesyourlogonicely
}
If you don't configure a logo, it looks a little "unofficial," so we recommend providing one.
You can override views/content.html
at project level if you need to change the text or don't want to link to browsehappy.com
.
This module can't help IE6 and IE7 users because their JavaScript and CSS support is too weak to cope. If you need to display messages to those, use IE conditional comments.
FAQs
Politely require certain minimum browser versions
The npm package apostrophe-browser-requirements receives a total of 18 weekly downloads. As such, apostrophe-browser-requirements popularity was classified as not popular.
We found that apostrophe-browser-requirements demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.