v1.7.10/edge details release

This commit is contained in:
2021-03-18 09:31:23 -04:00
parent 55db429e3e
commit ebd1529270
5 changed files with 33 additions and 418 deletions
+33 -2
View File
@@ -155,9 +155,13 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
<script>
function checkBrowser() {
let userAgentString = navigator.userAgent;
let edgeAgent = userAgentString.indexOf("Edge") > -1;
let edgeDevAgent = userAgentString.indexOf("Edg") > -1;
let chromeAgent = userAgentString.indexOf("Chrome") > -1;
let firefoxAgent = userAgentString.indexOf("Firefox") > -1;
return {
edge: edgeAgent,
edgeDev: edgeDevAgent,
chrome: chromeAgent,
firefox: firefoxAgent,
};
@@ -183,7 +187,9 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
linkNode.classList.add("underlink");
linkNode.setAttribute("data-font", "sans-bold");
linkNode.innerText = "GET UPDATE";
if (whichBrowser.chrome) {
if (whichBrowser.edge || whichBrowser.edgeDev) {
linkNode.setAttribute("href", "https://get.edgewatchparty.com");
} else if (whichBrowser.chrome) {
linkNode.setAttribute("href", "https://get.chromewatchparty.com");
} else if (whichBrowser.firefox) {
linkNode.setAttribute("href", "https://get.firefoxwatchparty.com");
@@ -198,7 +204,9 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
linkNode.classList.add("underlink");
linkNode.setAttribute("data-font", "sans-bold");
linkNode.innerText = "GET UPDATE";
if (whichBrowser.chrome) {
if (whichBrowser.edge || whichBrowser.edgeDev) {
linkNode.setAttribute("href", "https://get.edgewatchparty.com");
} else if (whichBrowser.chrome) {
linkNode.setAttribute(
"href",
"https://chrome.google.com/webstore/detail/aelhknjjifbfkdclbekleabcokipdicf/reviews?utm_source=review_widget"
@@ -260,6 +268,29 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
>
</div>
</div>
<div class="info">
<a
href="https://get.edgewatchparty.com"
target="_blank"
class="info-card"
>
<img src="/media/logos/Edge.webp" />
</a>
<div class="info-text">
<h4 class="sub-title" data-font="sans-bold">MICROSOFT EDGE</h4>
<p class="body" data-font="sans">
Get update for Microsoft Edge. Try removing and re-adding if an
update option is not visible.
</p>
<a
href="https://get.edgewatchparty.com"
target="_blank"
class="underlink"
data-font="sans-bold"
>GET UPDATE FOR MICROSOFT EDGE</a
>
</div>
</div>
</div>
<footer>
<div class="link-section">