mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 14:07:13 +03:00
Fix help link on popup
This commit is contained in:
@@ -135,7 +135,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<a href="https://discord.gg/QnmVMpU" target="_blank" rel="noopener">Discord</a> |
|
<a href="https://discord.gg/QnmVMpU" target="_blank" rel="noopener">Discord</a> |
|
||||||
<a href="https://matrix.to/#/+sponsorblock:ajay.app" target="_blank" rel="noopener">Matrix</a> |
|
<a href="https://matrix.to/#/+sponsorblock:ajay.app" target="_blank" rel="noopener">Matrix</a> |
|
||||||
<a id="helpButton" href="#">__MSG_help__</a>
|
<a id="helpButton" style="cursor: pointer;">__MSG_help__</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<button id="showNoticeAgain" style="display: none" class="dangerButton popupElement">__MSG_showNotice__</button>
|
<button id="showNoticeAgain" style="display: none" class="dangerButton popupElement">__MSG_showNotice__</button>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ chrome.runtime.onMessage.addListener(function (request, sender, callback) {
|
|||||||
chrome.runtime.openOptionsPage();
|
chrome.runtime.openOptionsPage();
|
||||||
return;
|
return;
|
||||||
case "openHelp":
|
case "openHelp":
|
||||||
window.open(chrome.runtime.getURL('help/index_en.html'));
|
chrome.tabs.create({url: chrome.runtime.getURL('help/index_en.html')});
|
||||||
return;
|
return;
|
||||||
case "sendRequest":
|
case "sendRequest":
|
||||||
sendRequestToCustomServer(request.type, request.url, request.data).then(async (response) => {
|
sendRequestToCustomServer(request.type, request.url, request.data).then(async (response) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user