mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 14:07:13 +03:00
Change credits link to help.
More detailed credits are at the bottom of help.
This commit is contained in:
@@ -59,6 +59,7 @@ async function runThePopup(messageListener?: MessageListener) {
|
||||
// Options
|
||||
//"showNoticeAgain",
|
||||
"optionsButton",
|
||||
"helpButton",
|
||||
// More controls
|
||||
"submitTimes",
|
||||
//"reportAnIssue",
|
||||
@@ -130,6 +131,7 @@ async function runThePopup(messageListener?: MessageListener) {
|
||||
PageElements.setUsernameButton.addEventListener("click", setUsernameButton);
|
||||
PageElements.submitUsername.addEventListener("click", submitUsername);
|
||||
PageElements.optionsButton.addEventListener("click", openOptions);
|
||||
PageElements.helpButton.addEventListener("click", openHelp);
|
||||
//PageElements.reportAnIssue.addEventListener("click", reportAnIssue);
|
||||
//PageElements.hideDiscordButton.addEventListener("click", hideDiscordButton);
|
||||
|
||||
@@ -826,6 +828,10 @@ async function runThePopup(messageListener?: MessageListener) {
|
||||
chrome.runtime.sendMessage({"message": "openConfig"});
|
||||
}
|
||||
|
||||
function openHelp() {
|
||||
window.open(chrome.runtime.getURL('help/index_en.html'));
|
||||
}
|
||||
|
||||
//make the options username setting option visible
|
||||
function setUsernameButton() {
|
||||
//get username from the server
|
||||
|
||||
Reference in New Issue
Block a user