diff --git a/depictions/web/index.html b/depictions/web/index.html index c194141f..64b7e9fc 100644 --- a/depictions/web/index.html +++ b/depictions/web/index.html @@ -46,8 +46,8 @@ } ); - // Set target="_blank" for links if on Cydia - if (navigator.userAgent.includes("Cydia")) { + // Set target="_blank" for links if on Cydia or Zebra + if (navigator.userAgent.includes("Cydia") || navigator.userAgent.includes("Zebra")) { $("a").attr("target", "_blank"); } diff --git a/depictions/web/js/content-blocks-index.js b/depictions/web/js/content-blocks-index.js index 860b6df6..1101c4e8 100644 --- a/depictions/web/js/content-blocks-index.js +++ b/depictions/web/js/content-blocks-index.js @@ -10,7 +10,7 @@ function getContentBlocks() { type: "custom", source: "package>name", render: (element, source) => { - if (navigator.userAgent.search(/Cydia/) === -1) { + if (navigator.userAgent.search(/Cydia/) === -1 && navigator.userAgent.search(/Zebra/) === -1) { $(element).show(); } },