EDIT VERY SIMPLE CODE (DEEPLINK/OPEN APP ON PHONE)
- 진행 현황: Closed
- 상금: $10
- 응모작 접수(건수): 13
콘테스트 개요
Please look at the following code, if you are on laptop it works as it should directing you to the "Please subscribe)
But if you are on smartphone, it doesn't work- Please get back to me if you think you can help :)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script type="text/javascript">
window.onload = function() {
var desktopFallback = "https://bit.ly/IPFIXYT",
mobileFallback = "https://www.youtube.com/channel/UC91cTahWYcGDZVvAJYNZFqg?sub_confirmation=1",
app = "vnd.youtube://https://www.youtube.com/channel/UC91cTahWYcGDZVvAJYNZFqg?sub_confirmation=1";
if( /Android|iPhone|iPad|iPod/i.test(navigator.userAgent) ) {
window.location = app;
window.setTimeout(function() {
window.location = mobileFallback;
}, 25);
} else {
window.location = desktopFallback;
}
function killPopup() {
window.removeEventListener('pagehide', killPopup);
}
window.addEventListener('pagehide', killPopup);
};
</script>
</body>
</html>
<!-- /wp:html -->
추천된 기술
이 콘테스트의 최상위 응모작
-
mizan128398 Bangladesh
-
ShahjahanWork Pakistan
-
qwertykg South Africa
-
prantogpi Bangladesh
-
rishabhkanhaiya8 India
-
rishabhkanhaiya8 India
-
tangilalopa2000 Bangladesh
-
abhiaspro India
-
daniilkurka Ukraine
-
wedecoder Benin
-
wedecoder Benin
공개 설명 게시판
콘테스트를 시작하는 방법
-
콘테스트 등록 신속하고 간편한 절차
-
응모작 접수 세계적인 참가 범위
-
최우수 응모작 선정 자료 파일의 다운로드(초간단!)