mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-20 14:38:28 +03:00
Add matrix link and fix help button
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -830,7 +830,7 @@ async function runThePopup(messageListener?: MessageListener) {
|
||||
}
|
||||
|
||||
function openHelp() {
|
||||
window.open(chrome.runtime.getURL('help/index_en.html'));
|
||||
chrome.runtime.sendMessage({"message": "openHelp"});
|
||||
}
|
||||
|
||||
//make the options username setting option visible
|
||||
|
||||
Reference in New Issue
Block a user