← Back
Editing: deepl_app.php
<?php /* Template Name: DeepL App */ ?> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>DeepLink</title> <style> body { background-color: black; } </style> </head> <body> <script> document.addEventListener("DOMContentLoaded", function () { var isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; var isAndroid = /Android/i.test(navigator.userAgent); if (isIOS) { var deepLinkIOS = "https://apps.apple.com/br/app/bretas/id1513420924"; window.location.href = deepLinkIOS; setTimeout(function () { window.location.href = "https://apps.apple.com/br/app/bretas/id1513420924"; }, 2500); } else if (isAndroid) { var deepLinkAndroid = "https://play.google.com/store/search?q=bretas&c=apps&hl=pt_BR"; window.location.href = deepLinkAndroid; setTimeout(function () { window.location.href = "https://play.google.com/store/search?q=bretas&c=apps&hl=pt_BR"; }, 2500); } else { window.location.href = "https://play.google.com/store/search?q=bretas&c=apps&hl=pt_BR"; } }); </script> </body> </html>
Save File
Cancel