Difference between revisions of "MediaWiki:Mobile.js"

Jump to navigation Jump to search
no edit summary
Line 4: Line 4:
if (navigator.userAgent.toLowerCase().indexOf("android") > -1) {
if (navigator.userAgent.toLowerCase().indexOf("android") > -1) {
if (!$.cookie("smartBanner")) {
if (!$.cookie("smartBanner")) {
        window.location.href= "market://details?id=org.kiwix.kiwixmobile";
     if (confirm("Install Kiwix on your device?")) {
     if (confirm("Install Kiwix on your device?")) {
         window.location.href= "market://details?id=org.kiwix.kiwixmobile";
         window.location.href= "market://details?id=org.kiwix.kiwixmobile";

Navigation menu