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.
easycookieconsent
Advanced tools
This is an easy Javascript for cookie acceptance popup on your website. You can modify text, text-color, urls, popup position and more. After clicking the "Got It" button, the acceptance will be remembered in the browser cookie.
https://tungdmctv.github.io/easy-cookie-consent/
<script src="https://unpkg.com/easycookieconsent@1.0.6/cookieAccept.min.js"> </script>
<script>
const cookieConsent = new CookieAccept({
domain: "https://yourdomain.com",
dayExpire: 60,
url: {
privacyPolicy: "https://yourdomain.com/privacy",
cookiePolicy: "https://yourdomain.comv/cookie",
target: "_blank",
},
align: "right",
});
cookieConsent.init();
</script>
// ALL Config value
const config = {
domain: "https://yourdomain.com",
dayExpire: 60,
text: {
header: "This website uses cookies",
body: "We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.",
privacyPolicy: "PrivacyPolicy",
learnMore: "Learn More",
accept: "Got it!",
},
bgColor: "#F3F4F6",
textColor: "#1F2937",
buttonColor: "#6366F1",
buttonTextColor: "#FFFFFF",
buttonBorderColor: "#FFFFFF",
linkColor: "#2563EB",
url: {
privacyPolicy: "https://yourdomain.com/privacy",
cookiePolicy: "https://yourdomain.comv/cookie",
target: "_blank",
},
align: "right", // left center right
};
const cookieConsent = new CookieAccept(config);
cookieConsent.init();
// ค่า Default ทั้งหมด
const cookieConsent = new CookieAccept({
domain: "localhost",
dayExpire: 60,
text: {
header: "เว็บไซต์นี้ใช้คุกกี้",
body: "เราใช้คุกกี้เพื่อวิเคราะห์การเข้าใช้งาน และทำความเข้าใจว่าผู้ใช้งานมาจากที่ใด สามารถเลือกตั้งค่าความยินยอมการใช้คุกกี้ได้ โดย “ตั้งค่าคุกกี้ใน Browser ของคุณ”",
privacyPolicy: "นโยบายความเป็นส่วนตัว",
learnMore: "เรียนรู้เพิ่มเติม",
accept: "ยอมรับ",
},
bgColor: "#F3F4F6",
textColor: "#1F2937",
buttonColor: "#6366F1",
buttonTextColor: "#FFFFFF",
buttonBorderColor: "#FFFFFF",
linkColor: "#2563EB",
url: {
privacyPolicy: "https://video.dmc.tv/privacy",
cookiePolicy: "https://video.dmc.tv/cookie",
target: "_blank",
},
align: "right",
});
cookieConsent.init();
FAQs
Easy Cookie Consent Popup
We found that easycookieconsent 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.