![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
eurocookie-js
Advanced tools
eurocookie-js is a full, yet simple to use, library to request consent for cookies
eurocookie-js is a full, yet simple to use, library to request consent for cookies. It doesn't allow cookies until consent is granted. It also comes with the translated messages prepared to be shown to the users.
Install with npm
npm install eurocookie-js --save
If you need to install the cookies import the module and call euroCookie
var ec=require("eurocookie-js");
ec.euroCookie("http://link-to-privacy-policy.com");
It will load all script tags with the class cookielike this
<script type="text/plain" class="cookie">
//CALLING GOOGLE ANALYTICS
ga.push(); ....
</script>
Remember that you must set the script type to "text/plain" to prevent the execution
eurocookie-js can also be used with a simple script tag. Put it at the very end of the HTML file.
<script type="text/plain" class="cookie">
console.log("We have cookie consent here");
</script>
<script src="eurocookie-js/index.js"></script>
<script>
euroCookie("http://link-to-privacy-policy.com");
</script>
</body>
</html>
FAQs
eurocookie-js is a full, yet simple to use, library to request consent for cookies
The npm package eurocookie-js receives a total of 2 weekly downloads. As such, eurocookie-js popularity was classified as not popular.
We found that eurocookie-js 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.