-
Notifications
You must be signed in to change notification settings - Fork 12
/
manifest.json
47 lines (41 loc) · 1.47 KB
/
manifest.json
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
{
"manifest_version": 2,
"name": "Aliexpress GAGA helper", // Название расширения
"version": "1.0", // Номер версии
"description": "Aliexpress GAGA helper", // Описание расширения
"permissions": [
"tabs", // Разрешить расширению работать с вкладками
"http://gaga.aliexpress.com/*", //Разрешить расширению обращаться к указанному адресу
"http://escrow.alibaba.com/*",
"https://login.aliexpress.com/*",
"https://login.alibaba.com/*"
],
"background": {
"scripts": ["background.js"]
},
"content_scripts": [
{
"matches": [
"http://gaga.aliexpress.com/*",
"http://escrow.alibaba.com/*",
"https://login.aliexpress.com/*",
"https://login.alibaba.com/*"
],
"js": [
"jquery.min.js",
"content.js"
],
"run_at": "document_end"
}
],
"browser_action": { // Элементы браузера
"default_title": "GAGA", // Название кнопки
"default_icon": "images/aliexpress.ico", // Иконка для кнопки
"popup": "popup.html" // Всплывающее окно
},
"web_accessible_resources": [
"jquery.min.js",
"main.js"
],
"options_page": "options.html" // Страница настроек
}