forked from dimdenGD/OldTwitter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
83 lines (82 loc) · 2.15 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "Old Twitter Layout (2023)",
"description": "__MSG_ext_description__",
"version": "1.8.1.8",
"manifest_version": 3,
"homepage_url": "https://github.com/dimdenGD/OldTwitter",
"background": {
"service_worker": "scripts/background.js"
},
"default_locale": "en",
"permissions": [
"storage",
"declarativeNetRequest",
"contextMenus",
"scripting",
"unlimitedStorage"
],
"host_permissions": [
"*://*.twitter.com/*",
"*://twitter.com/*",
"*://twimg.com/*",
"*://*.twimg.com/*"
],
"declarative_net_request": {
"rule_resources" : [{
"id": "ruleset",
"enabled": true,
"path": "ruleset.json"
}]
},
"web_accessible_resources": [
{
"resources": [
"layouts/*",
"images/*",
"fonts/*",
"libraries/*",
"_locales/*"
],
"matches": [
"*://*.twitter.com/*"
]
}
],
"icons": {
"16": "/images/logo16.png",
"32": "/images/logo32.png",
"48": "/images/logo48.png",
"128": "/images/logo128.png"
},
"action": {
"default_icon": {
"16": "/images/logo16.png",
"32": "/images/logo32.png",
"48": "/images/logo48.png",
"128": "/images/logo128.png"
},
"default_title": "Open settings"
},
"content_scripts": [
{
"matches": ["https://twitter.com/*?*newtwitter=true*"],
"js": ["scripts/xIconRemove.js"],
"all_frames": true,
"run_at": "document_start"
},
{
"matches": ["https://twitter.com/*?*newtwitter=true*"],
"js": ["scripts/newtwitter.js"],
"all_frames": true,
"run_at": "document_end"
},
{
"matches": ["https://twitter.com/*"],
"exclude_matches": ["https://twitter.com/*?*newtwitter=true*", "https://twitter.com/settings/download_your_data", "https://twitter.com/i/flow/login*", "https://twitter.com/i/tweetdeck", "https://twitter.com/i/communitynotes"],
"js": ["scripts/blockBeforeInject.js", "scripts/config.js", "scripts/helpers.js", "scripts/apis.js", "scripts/injection.js"],
"css": ["libraries/viewer.min.css"],
"all_frames": true,
"run_at": "document_start"
}
]
}