Auto-Open YouTube App from Instagram Bio: Blogger Direct Redirect Script


Why your Instagram Bio link is "Broken"

When a follower clicks your YouTube link in Instagram, they are trapped in the "Instagram Browser." They can't subscribe or like because they aren't logged in. The best way to fix this is to use a Blogger Redirect Page that forces the phone to open the YouTube App automatically.

What this Script does:

  • Zero-Click Redirect: The user doesn't have to press any buttons.

  • App Detection: It tries to trigger the YouTube app immediately.

  • Fallback: If the app isn't installed, it opens the YouTube website after 2 seconds.

  • Clean UI: Shows a professional "Redirecting..." message so users don't get confused.


How to Install the Auto-Redirect on Blogger

  1. Create a New Page: In Blogger, go to Pages > New Page.

  2. Title it: Give it a name like "Redirecting..."

  3. Switch to HTML View: Click the Pencil icon and select <> HTML View.

  4. Paste the Code: Delete everything and paste the code provided below.

  5. Update your Bio: Use the link to this Blogger page in your Instagram Bio.






The Auto-Redirect Code - 1

<script>
  var appLink = "vnd.youtube://www.youtube.com/@PIXELMALAYALI";
  var webLink = "https://www.youtube.com/@PIXELMALAYALI";
  window.location = appLink;
  setTimeout(function() {
    window.location = webLink;
  }, 2000);
</script>



The Auto-Redirect Code - 2 (if 1st code not work use this code)


<div style="text-align: center; font-family: sans-serif; margin-top: 50px;">
  <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibREfAOPnxgesB5NCkNbrFMhYtnbAxsrwFSalJNxkDirZqLWuLeJPzEZadrtfEzFtS4eluqNraH4-3sH1PaTf2VrtOxlw-vrPwt7Yo85SxrmMHySsjGnG5mOUTInKJ4QBA-oiiMeodJcSbpucXbW2lJ8F-I5azK83LKCRwhj1E1NlWcjjIzRbfrfBgniEw/s320/Icon%20copy%2023.png" width="80">
  <h2 style="color: #333;">Redirecting to YouTube...</h2>
  <p style="color: #666;">Please wait a moment while we open the app.</p>
  
  <div class="spinner"></div>
</div>
<style>
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ff0000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
</style>
<script>
/* AUTO REDIRECT LOGIC */
(function() {
  // Replace these with your actual links
  var appUrl = "vnd.youtube://www.youtube.com/@PIXELMALAYALI"; 
  var webUrl = "https://www.youtube.com/@PIXELMALAYALI?sub_confirmation=1";
  // Try to open the App immediately
  window.location.replace(appUrl);
  // If the app doesn't open in 2 seconds, go to the Web link
  setTimeout(function() {
    window.location.replace(webUrl);
  }, 2000);
})();
</script>

Post a Comment

Previous Post Next Post