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

privacy_cookie

Package Overview
Dependencies
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

privacy_cookie

Notice about use of cookies

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-33.33%
Maintainers
5
Weekly downloads
 
Created
Source

npm version

Скрипт добавляет на сайт уведомление об использовании файлов cookie. Демо

Установка

npm install privacy_cookie --save

Использование

1. Подключить скрипт в секции <head>:

<script defer src="/node_modules/privacy_cookie/dist/privacy_cookie.js"></script>

2. Создать объект cookiePanel, с параметром link:

<script>
	var cookiePanel = {link: '/link-to-privacy/'};
</script>

Параметры

NameDescParam
linkссылка на страницу Политики конфинденциальности{link: '/link-to-privacy/'}
textпараметр полностью заменяет текст по умолчанию{text: 'some text'}

FAQs

Package last updated on 29 Oct 2018

Did you know?

Socket

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.

Install

Related posts

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