Skip to content

Privacy rating is a simple way to assess the privacy of an online service.

License

Notifications You must be signed in to change notification settings

RNDRnl/privacy-rating

Repository files navigation

Version

value
stage Development
branch name master
release 11.08.2023
license MIT

Privacy Rating

preview Generate your own label

About

The privacy rating is a simple way to assess the privacy of an online service. It looks at how the service collects and shares user data, as well as on the amount of control users have over their data and the level of security provided to protect user’s data.

The Privacy Rating is based on extensive research into privacy regulation, standards and guidelines.

Privacy Rating is a project by the University of Twente, supported by NWO in collaboration with TNO, WODC, Centric B.V.

Design and implementation by RNDR

Development

Installation requirements

version
node >= 10.14.1
yarn >= 1.19.1

Scripts

command action
yarn install install needed packages
yarn dev run development mode
yarn build build package

Environment variables in package.json

variable description example
BASE_PATH custom base path /privacy-rating
DOMAIN_PATH flat domain name https://privacyrating.info
NODE_ENV current environment production

Deployment

  1. Set DOMAIN_PATH and BASE_PATH accordingly.
  2. After build the static html files can be found in the dist directory.
  3. Create a new file in the dist directory named privacy.rating.js and add the following content:
    function loadScript(url) {    
     var head = document.getElementsByTagName('head')[0];
     var script = document.createElement('script');
     script.type = 'text/javascript';
     script.src = url;
     head.appendChild(script);
     }
     loadScript('https://privacyrating.info/static/styles.7d22c0d22b37c790e9a1.js');
     loadScript('https://privacyrating.info/static/app.7d22c0d22b37c790e9a1.js');
    
  4. Replace styles.7d22c0d22b37c790e9a1.js and app.7d22c0d22b37c790e9a1.js in the file above to match those in your 'dist' directory
  5. Make sure to enable CORS so that generated labels can be displayed on other domains.

Contact

Contact us through our form

About

Privacy rating is a simple way to assess the privacy of an online service.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •