diff options
author | Ajay Ramachandran <[email protected]> | 2020-12-12 19:07:15 -0500 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2020-12-12 19:07:15 -0500 |
commit | a150a979911f427ad1d5329e7dd634c7463b2235 (patch) | |
tree | 64171a6d04c7d8f7537417b19b9d1b2b2efce415 /src/background.ts | |
parent | 637dcbee00e8356fbfcbe9aefe2202642e5f93d3 (diff) | |
download | SponsorBlock-a150a979911f427ad1d5329e7dd634c7463b2235.tar.gz SponsorBlock-a150a979911f427ad1d5329e7dd634c7463b2235.zip |
Add matrix link and fix help button
Diffstat (limited to 'src/background.ts')
-rw-r--r-- | src/background.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/background.ts b/src/background.ts index ec398d59..03afea42 100644 --- a/src/background.ts +++ b/src/background.ts @@ -31,6 +31,9 @@ chrome.runtime.onMessage.addListener(function (request, sender, callback) { case "openConfig": chrome.runtime.openOptionsPage(); return; + case "openHelp": + window.open(chrome.runtime.getURL('help/index_en.html')); + return; case "sendRequest": sendRequestToCustomServer(request.type, request.url, request.data).then(async (response) => { callback({ |