UNPKG

cookieguard

Version:

Handle third party services in compliance with the GDPR

17 lines (13 loc) 270 B
export default class Service { constructor(domain, path) { this.path = path || '/'; this.domain = domain || window.location.hostname; this.cookie = { domain, path }; } enable() { // } disable() { // } }