
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
accept-cookie-popup
Advanced tools
Cookie consent notification plugin
Download the plugin and add it to your website. Alternatively, install via NPM:
npm i accept-cookie-popup
Below, initialize an instance of AcceptCookiePopup
:
new AcceptCookiePopup();
The plugin comes with default settings, but it can also accept a configuration object for customization. Below is a table of available configuration keys:
Key | Description (Type, Default Value)
----------------------|--------------------------------------
siteName | Website name (string, ~Hostname~)
linkCookiePage | URL of the cookie policy page (string, '/cookie-policy/')
showDelay | Delay before showing the popup in milliseconds (number, 2000)
showAnimationDuration | Popup show animation duration in milliseconds (number, 800)
hideMonthCount | Number of months until the popup reappears (number, 2)
cookieName | Cookie name (string, 'cookiePopup')
cookieValue | Cookie value (string, 'alreadyShowed')
popupName | BEM class name for the popup (string, 'cookie-accept-popup')
customCSS | Enable custom CSS rules (boolean, false)
btnText | Accept button text (string, 'Хорошо')
closeTitle | Close button (крестик) (string, 'Закрыть')
messageText | Custom message text. Default method returns string. (function)
FAQs
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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.