-
Notifications
You must be signed in to change notification settings - Fork 35
/
cliqz-tab.js
78 lines (75 loc) · 2.42 KB
/
cliqz-tab.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*!
* Copyright (c) 2014-present Cliqz GmbH. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
const urls = require('./common/urls-cliqz');
const base = require('./common/system');
const id = 'khlmffibhhjkfjiflcmpiodjmkbkianc';
module.exports = {
platform: 'webextension',
specific: 'cliqz-tab',
baseURL: '/modules/',
pack: 'web-ext build -s build -a .',
key: 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv/H/u0CVZ3QL0zWfO5EVbeTlLs76Adp8PUh+teBSoE4iXRlextXu4+BRDtfmZOvDktUlioWNQkBjojY/3ByjNUpyZBK4PJ+SluG/ex/mOmlGHwlbC3HRB0iGagWg6G1/4p4kYQnJlxX3mJEWHGAD8GwU0bnvq20LAqBM9Di3Cte47qujvbHUR7T8pjdpiJDIlW7b2HeVnFwt51UUPk4pUWgE2LnmGgBv7bgLnI/cCmKmqDEBNDebyB5KH331dDlN5vnNjRXp0cWkO9V7neSSfMbO1HRKcjEHwVU0z1jb04fWxCyrx62W9rPAEtvb7MiW57wBU8xPdOWZdmcgqRCe7wIDAQAB',
versionPrefix: '9',
settings: Object.assign({}, urls, {
id,
appName: 'Cliqz',
name: 'appNameNightly',
channel: 'CT12', // Cliqz Tab Chrome Beta
MSGCHANNEL: 'cliqz-tab',
freshTabNews: true,
browserAction: 'quicksearch',
ALLOWED_COUNTRY_CODES: ['de', 'at', 'ch', 'es', 'us', 'fr', 'nl', 'gb', 'it', 'se'],
FRESHTAB_TITLE: 'Cliqz Tab',
telemetry: {
demographics: {
brand: 'cliqz',
name: 'tab',
},
},
}),
default_prefs: {
'modules.human-web.enabled': false,
'modules.hpnv2.enabled': true,
'freshtab.search.mode': 'search',
},
modules: [
'core',
'geolocation',
'search',
'dropdown',
'abtests-legacy',
'freshtab',
'news',
'offers-v2',
'human-web',
'hpnv2',
'webrequest-pipeline',
'webextension-specific',
'anolysis',
'anolysis-cc',
'overlay',
'control-center',
],
bundles: [
'hpnv2/worker.wasm.bundle.js',
'hpnv2/worker.asmjs.bundle.js',
'core/content-script.bundle.js',
'webextension-specific/app.bundle.js',
'freshtab/home.bundle.js',
'dropdown/dropdown.bundle.js',
'control-center/control-center-react.bundle.js',
'human-web/page.bundle.js',
'human-web/rusha.bundle.js',
],
builderDefault: Object.assign({}, base.builderConfig, {
externals: base.builderConfig.externals.concat('@cliqz-oss/dexie'),
globalDeps: Object.assign({}, base.builderConfig.globalDeps, {
'@cliqz-oss/dexie': 'Dexie',
}),
}),
};