Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
awesome-cookie-consent
Advanced tools
A simple and responsive Cookie Consent Banner Webcomponent build with Stencil.
Include it in your project like this in the head of your index.html:
<script src="https://unpkg.com/awesome-cookie-consent@0.0.3/dist/awesome-cookie-consent.js"></script>
npm install awesome-cookie-consent --save
<script src='node_modules/awesome-cookie-consent/dist/awesome-cookie-consent.js'></script>
in the head of your index.htmlnpm install awesome-cookie-consent --save
import awesome-cookie-consent;
Add Webcomponent with your data to your html file just before the closing body tag:
<awesome-cookie-consent
url=""
link=""
headline=""
description=""
button=""
fontsize=""
buttoncolor=""
buttonbackgroundcolor=""
backgroundcolor=""
textcolor=""
headlinecolor=""
>
</awesome-cookie-consent>
URL link to your privacy policy page
Text which is shown at the privacy policy page link
Headline of the banner
Description text of the banner
Text which is shown at the accept button
Font size in pixel used for the banner ( e.g. 18px ), the fallback is 16px
Hex color code used for the button text ( e.g. #000000 ), the fallback is #ffffff
Hex color code used for the button background ( e.g. #000000 ), the fallback is #e74c3c
Hex color code used for the banner background ( e.g. #000000 ), the fallback is #34495e
Hex color code used for the banner text ( e.g. #000000 ), the fallback is #ffffff
Hex color code used for the banner headline ( e.g. #000000 ), the fallback is #ffffff
By bentzibentz
FAQs
Super Awesome Simple Cookie Consent
We found that awesome-cookie-consent 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.