From b901a76e22e2b44576590b24d7b79b46938f68de Mon Sep 17 00:00:00 2001
From: AndrewUnderscore <71723495+UnderscoreX5@users.noreply.github.com>
Date: Sun, 19 Dec 2021 16:14:40 +0100
Subject: [PATCH 1/2] Add button for faq
---
Extensions/combined/popup.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Extensions/combined/popup.js b/Extensions/combined/popup.js
index fbdf776..e91343f 100644
--- a/Extensions/combined/popup.js
+++ b/Extensions/combined/popup.js
@@ -10,6 +10,7 @@ const config = {
github: "https://github.com/Anarios/return-youtube-dislike",
discord: "https://discord.gg/mYnESY4Md5",
donate: 'https://returnyoutubedislike.com/donate'
+ faq: 'https://returnyoutubedislike.com/faq'
},
};
@@ -26,6 +27,10 @@ document.getElementById("link_discord").addEventListener("click", () => {
chrome.tabs.create({ url: config.links.discord });
});
+document.getElementById("link_faq").addEventListener("click", () => {
+ chrome.tabs.create({ url: config.links.faq });
+});
+
document.getElementById("link_donate").addEventListener("click", () => {
chrome.tabs.create({ url: config.links.donate });
});
From 748073cc90ffdae148b884573dbfba3d2826435c Mon Sep 17 00:00:00 2001
From: AndrewUnderscore <71723495+UnderscoreX5@users.noreply.github.com>
Date: Sun, 19 Dec 2021 16:15:29 +0100
Subject: [PATCH 2/2] add faq button
---
Extensions/combined/popup.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/Extensions/combined/popup.html b/Extensions/combined/popup.html
index 9264240..1bf8737 100644
--- a/Extensions/combined/popup.html
+++ b/Extensions/combined/popup.html
@@ -19,6 +19,7 @@
+