Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
gdpr-constent
Advanced tools
GDPR banner to comply with the European cookie law. Inspired by tarteaucitronjs.
Comply to the european cookie law. Inspired by AmauriC/tarteaucitron.js
The european cookie law regulates the management of cookies and you should ask your visitors their consent before exposing them to third party services.
Clearly this script will:
<link rel="stylesheet" href="gdpr-consent.css" />
<script type="text/javascript" src="gdpr-consent.js"></script>
<script type="text/javascript">
GDPRConsent.init({
"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
"cookieName": "tarteaucitron", /* Cookie name */
"timeExpire": 31536000000, /* Cookie expiration time */
"websiteName": "Les Jours", /* The name of the Website */
"highPrivacy": true, /* Disable auto consent */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"moreInfoLink": true, /* Show more info link */
"mandatory": false /* Show a message about mandatory cookies */
});
</script>
<script type="text/javascript">
/* Initialize gdprconsent.js job array */
GDPRConsent.job = GDPRConsent.job || [];
/* Add Google Tag Manager */
GDPRConsent.user.googletagmanagerId = 'GTMID';
GDPRConsent.job.push('googletagmanager');
/* Add Google Analytics (gtag.js) */
GDPRConsent.user.gtagUa = 'GAID';
GDPRConsent.user.gtagInitOptions = {};
GDPRConsent.job.push('gtag');
/* Add Socials Sharing Services : Twitter & Facebook */
GDPRConsent.job.push('twitter');
window.fbAsyncInit = function() { FB.init({}); };
GDPRConsent.job.push('facebook');
</script>
FAQs
GDPR banner to comply with the European cookie law. Inspired by tarteaucitronjs.
The npm package gdpr-constent receives a total of 0 weekly downloads. As such, gdpr-constent popularity was classified as not popular.
We found that gdpr-constent 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
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.