Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8800777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:40:45+00:00 2026-06-14T00:40:45+00:00

Currently implementing the smart app banner into a web app until i came across

  • 0

Currently implementing the smart app banner into a web app until i came across the problem where i can’t catch the close event.

<meta onblur="alert('close');" name="apple-itunes-app" content="app-id=123456789">
<meta onclick="alert('close');" name="apple-itunes-app" content="app-id=123456789">

Seems unlikely that these would work in the first place but just had to try 🙂

window.resize event is called after closing the banner but it takes up to 2-3 seconds before it is activated, in my case that’s to long.

My question: Is there a way to catch the closing event for the smart app banner?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:40:46+00:00Added an answer on June 14, 2026 at 12:40 am

    I don’t think that this is possible:

    Taken from apple’s description:

    They will appreciate that banners are presented unobtrusively at the
    top of a webpage, instead of as a full-screen ad interrupting the web
    content.

    The catch is, that it is not only on top of your webpage but on top of the actual webview of the browser. So any interaction with the SAB is not possible until Apple decides to provide a JS-API for this.

    I played around with the SAB myself and tried changing the app-arguments on runtime using JavaScript. But this won’t work either.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently implementing a non-renewable in-app purchase and am a little concerned over the
I'm currently implementing a profiling system into an application. I have a two macro
I'm currently implementing a IP-to-country feature for a client in the US. The problem
I am currently implementing a custom c# cache provider that I can plug in
I am currently implementing PrettyPhoto into a horizontal 1page website: http://www.basenharald.nl/3d (click foto &
I'm currently implementing a WCF REST service on a web role in Windows Azure,
We currently are implementing an inbox system into our website and want a user
I'm currently developing an app that uses a ViewPager, the problem is that the
I'm currently implementing a JavaScript library that keeps track of the history of changes
I'm currently implementing a very complex tree structure to allow for near-instant data access,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.