-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
55 lines (46 loc) · 1.29 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
48
49
50
51
52
53
54
// Das "Drumherum" des Add-Ons.
//
// Von hier aus wird bei passender Seiten-URL das eigentliche
// Content-Script aufgerufen, das dann die Seite verändert
//
// Der Code folgt jenem Beispiel hier:
// https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/content_scripts
// Danke, Ihr Mozilla-Leute!
{
"manifest_version": 2,
"name": "Stammgast in der TV-Thek",
"version": "0.0.6",
"description": "So wunderbare Addons!",
"icons": {
"48": "icons/.png"
},
"content_scripts": [
{
"matches": ["http://tvthek.orf.at/profile/*"],
"js": ["./data/jquery-2.1.3.min.js",
"./data/stammgast-in-der-orf-tvthek.js"]
},
{
"matches": ["http://oe1.orf.at/programm/*"],
"js": ["./jquery-2.1.3.min.js",
"./stammgast-beim-oe1-programm.js"]
},
{
"matches": ["http://www.arte.tv/guide/de/*"],
"js": ["./jquery-2.1.3.min.js",
"./stammgast-bei-arte-plus-7.js"]
},
{
"matches": ["http://www.3sat.de/mediathek/*"],
"js": ["./jquery-2.1.3.min.js",
"./stammgast-bei-der-3sat-mediathek.js"]
},
// Neue Web-Ext-Geschichten, neue Moeglichkeiten zum Matching!
// Hier z.B. http+https!!!
{
"matches": ["*://*.swrmediathek.de/player.htm?*"],
"js": ["./jquery-2.1.3.min.js",
"./stammgast-in-der-swr-mediathek.js"]
}
]
}