New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cookie-consent-js

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cookie-consent-js - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

2

package.json
{
"name": "cookie-consent-js",
"version": "1.1.8",
"version": "1.1.9",
"description": "A simple dialog and framework to handle the German and EU law (may 2020) about cookies in a website",

@@ -5,0 +5,0 @@ "main": "src/cookie-consent.js",

@@ -25,7 +25,8 @@ # cookie-consent-js

### Reset cookie settings
### Show the settings dialog again
```js
cookieConsent.reset()
```
Use this to allow the user to reconfigure the cookie settings, for example in your service navigation as "cookie settings".
Use this to allow the user to reconfigure the cookie settings, for example, in your
service navigation as "cookie settings".

@@ -37,6 +38,6 @@ ### Read the status

Use this function to disable tracking.
Suround for example the Analytics code with
Suround tracking code, like the Google Analytics code with
```js
if(cookieConsent.isTrackingCookieAllowed()) {
// Google Analytics code and other tracking code
// Google Analytics code and/or other tracking code
}

@@ -82,3 +83,3 @@ ```

#### Disable autoShow
You should disable `autoShowModal` in the privacy policy page to make this page readable.
You should disable `autoShowModal` in the privacy policy page to make that page readable.
```js

@@ -85,0 +86,0 @@ var cookieConsent = new CookieConsent({linkPrivacyPolicy: "privacy-policy.html", autoShowModal: false})

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc