From 1db0243134d12cfa108468b32a41dae625734a1c Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 9 Apr 2021 13:33:18 +0530 Subject: [PATCH] remove default privacy policy --- customize.dist/pages/privacy.js | 42 --------------------------------- customize.dist/privacy.html | 16 ------------- 2 files changed, 58 deletions(-) delete mode 100644 customize.dist/pages/privacy.js delete mode 100644 customize.dist/privacy.html diff --git a/customize.dist/pages/privacy.js b/customize.dist/pages/privacy.js deleted file mode 100644 index 3d33d6140..000000000 --- a/customize.dist/pages/privacy.js +++ /dev/null @@ -1,42 +0,0 @@ -define([ - '/common/hyperscript.js', - '/customize/messages.js', - '/customize/pages.js' -], function (h, Msg, Pages) { - return function () { - var whatWeKnow = Pages.setHTML(h('p'), Msg.policy_whatweknow_p1); - Pages.externalLink(whatWeKnow.querySelector('a'), "https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending"); - - var vpn = Pages.setHTML(h('p'), Msg.policy_choices_vpn); - Pages.externalLink(vpn.querySelector('a'), 'https://www.torproject.org/download/'); - - return h('div#cp-main', [ - Pages.infopageTopbar(), - h('div.container.cp-container.cp-privacy',[ - h('div.row.cp-page-title', h('h1', Msg.policy_title)), - h('h2', Msg.policy_whatweknow), - whatWeKnow, - - h('h2', Msg.policy_howweuse), - h('p', Msg.policy_howweuse_p1), - h('p', Msg.policy_howweuse_p2), - - h('h2', Msg.policy_whatwetell), - h('p', Msg.policy_whatwetell_p1), - - h('h2', Msg.policy_links), - h('p', Msg.policy_links_p1), - - h('h2', Msg.policy_ads), - h('p', Msg.policy_ads_p1), - - h('h2', Msg.policy_choices), - h('p', Msg.policy_choices_open), - vpn - ]), - Pages.infopageFooter() - ]); - }; - -}); - diff --git a/customize.dist/privacy.html b/customize.dist/privacy.html deleted file mode 100644 index f1cf1b429..000000000 --- a/customize.dist/privacy.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - CryptPad: Collaboration suite, encrypted and open-source - - - - - - - -