← Back
Editing: deepl_clubebretas.php
<?php /* Template Name: DeepL Clube Bretas */ ?> <!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/apps/details?id=com.cencosud.bretas"; window.location.href = deepLinkAndroid; setTimeout(function () { window.location.href = "https://play.google.com/store/apps/details?id=com.cencosud.bretas"; }, 2500); } else { window.location.href = "https://www.bretas.com.br/clube-bretas/"; } }); </script> </body> </html>
Save File
Cancel