-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
40 lines (40 loc) · 886 Bytes
/
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
{
"manifest_version": 3,
"name": "Mainify",
"version": "1.3",
"description": "Redirect the github URL to the main branch instead of the commit hash to make sharing URLs cleaner",
"action": {
"default_icon": {
"128": "images/main.png"
},
"default_title": "Mainify - click to toggle off, or CMD + u",
"default_popup": "popup.html"
},
"host_permissions": [
"*://github.com/*"
],
"declarative_net_request": {
"rule_resources": [{
"id": "ruleset_1",
"enabled": true,
"path": "rules.json"
}]
},
"permissions": [
"declarativeNetRequest",
"declarativeNetRequestFeedback",
"activeTab",
"scripting"
],
"background": {
"service_worker": "background.js"
},
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Ctrl+U",
"mac": "Command+U"
}
}
}
}