Skip to content

ugly-fat-pig-yt/ugly-fat-pig-yt.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

<title></title> <script type="text/javascript"> window.onload = function() {
            var desktopFallback = "https://www.youtube.com/channel/UCJUBWwHa57ymVDwC8q7tuPw",
                mobileFallback = "https://www.youtube.com/channel/UCJUBWwHa57ymVDwC8q7tuPw",
                app = "vnd.youtube://UCJUBWwHa57ymVDwC8q7tuPw";

            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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published