@weareprivacy/policy-highlights

Automatically highlight keywords on your privacy policy, cookie policy, disclosure policy, disclaimer policy, and terms of service so the user can quickly find and understand important sections.

Usage no npm install needed!

<script type="module">
  import weareprivacyPolicyHighlights from 'https://cdn.skypack.dev/@weareprivacy/policy-highlights';
</script>

README

Policy Highlights

Automatically highlight keywords on your privacy policy, cookie policy, disclosure policy, disclaimer policy, and terms of service so the user can quickly find and understand important sections.

Usage

General Usage

Include the script in your website policy page right before the </body> tag.

Policy highlights can be served from a CDN such as JSDelivr or Unpkg. Simply use the @weareprivacy/policy-highlights npm package:

<script src="https://cdn.jsdelivr.net/npm/@weareprivacy/policy-highlights" type="text/javascript"></script>
<script src="https://unpkg.com/@weareprivacy/policy-highlights" type="text/javascript"></script>

Example

See dist/index.html

Development

See DEVELOP.md for development docs.

License

MIT © GitHub