FAQ link added
This commit is contained in:
parent
0b132643a5
commit
f8644171a6
|
@ -170,6 +170,7 @@
|
||||||
<li><a id="link-changelog">Changelog (InApp)</a></li>
|
<li><a id="link-changelog">Changelog (InApp)</a></li>
|
||||||
<li><a id="link-donate">Donate (InApp)</a></li>
|
<li><a id="link-donate">Donate (InApp)</a></li>
|
||||||
<li><a id="link-codeberg" href="https://codeberg.org/nobody/LocalCDN" target="_blank" rel="nofollow noopener noreferrer">Source-Code (www.codeberg.org)</a></li>
|
<li><a id="link-codeberg" href="https://codeberg.org/nobody/LocalCDN" target="_blank" rel="nofollow noopener noreferrer">Source-Code (www.codeberg.org)</a></li>
|
||||||
|
<li><a id="link-faq">FAQ (In-App)</a></li><br>
|
||||||
<li><a id="link-website" href="https://localcdn.de" target="_blank" rel="nofollow noopener noreferrer">Website (www.localcdn.de)</a></li>
|
<li><a id="link-website" href="https://localcdn.de" target="_blank" rel="nofollow noopener noreferrer">Website (www.localcdn.de)</a></li>
|
||||||
<li><a id="link-website-test" href="https://localcdn.de/test" target="_blank" rel="nofollow noopener noreferrer">Test-Sites (www.localcdn.de/test)</a></li>
|
<li><a id="link-website-test" href="https://localcdn.de/test" target="_blank" rel="nofollow noopener noreferrer">Test-Sites (www.localcdn.de/test)</a></li>
|
||||||
<li><a id="link-translate" href="https://hosted.weblate.org/projects/localcdn/localcdn/" target="_blank" rel="nofollow noopener noreferrer">Translate (www.weblate.org)</a></li>
|
<li><a id="link-translate" href="https://hosted.weblate.org/projects/localcdn/localcdn/" target="_blank" rel="nofollow noopener noreferrer">Translate (www.weblate.org)</a></li>
|
||||||
|
|
|
@ -93,6 +93,7 @@ options._renderOptionsPanel = function () {
|
||||||
document.getElementById('link-welcome-page').addEventListener('click', options._onClickWelcomePage);
|
document.getElementById('link-welcome-page').addEventListener('click', options._onClickWelcomePage);
|
||||||
document.getElementById('link-changelog').addEventListener('click', options._onClickChangelog);
|
document.getElementById('link-changelog').addEventListener('click', options._onClickChangelog);
|
||||||
document.getElementById('link-donate').addEventListener('click', options._onClickDonate);
|
document.getElementById('link-donate').addEventListener('click', options._onClickDonate);
|
||||||
|
document.getElementById('link-faq').addEventListener('click', options._onClickFaq);
|
||||||
};
|
};
|
||||||
|
|
||||||
options._renderBlockMissingNotice = function () {
|
options._renderBlockMissingNotice = function () {
|
||||||
|
@ -349,6 +350,13 @@ options._onClickChangelog = function() {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
options._onClickFaq = function() {
|
||||||
|
chrome.tabs.create({
|
||||||
|
'url': chrome.extension.getURL('pages/help/help.html'),
|
||||||
|
'active': true
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the domain lists if the options page has no focus.
|
* Updates the domain lists if the options page has no focus.
|
||||||
* document.hasFocus() prevents problems with keyboard input.
|
* document.hasFocus() prevents problems with keyboard input.
|
||||||
|
|
Loading…
Reference in New Issue