
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
no-mouse-days
Advanced tools
Ever wanted a package that disables the mouse cursor one day a week so you can test keyboard accessibility as a team? No? Well here you go anyway.
This package can be installed into a modern JavaScript app to inject a CSS styling developer tool that disables the mouse cursor, with a banner to notify developers of its use. It's intended to encourage development of better keyboard support through regular browser testing (you are testing, aren't you?).
Read about No Mouse Days on the Accessibility Project: https://www.a11yproject.com/posts/2020-10-15-no-mouse-days
npm install no-mouse-days --save-dev
import "no-mouse-days"
if (process.env.NODE_ENV === 'development') {
import("no-mouse-days")
.then((data) => {
// no-op
})
}
let date = new Date()
let dayOfWeek = date.getDay()
if (dayOfWeek === 1) {
import("no-mouse-days")
.then((data) => {
// no-op
})
}
This project includes a small example that you can use to test the No Mouse Days script locally in a browser.
Go into the example directory and install dependencies:
cd example
npm start
With a server successfully running, you can then visit the provided localhost URL such as http://localhost:1234.
You can also view the example on GitHub pages: https://marcysutton.github.io/no-mouse-days/example/index.html
FAQs
A package to disable the mouse cursor
We found that no-mouse-days demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.