Issue closing mobile safari's top webpage

Hi everyone,
I'm a webdeveloper and I'm facign some problems using JavaScript.
I have a routine that opens the navigator and reconfigure it(remove some bars, resize the navigator and another small things), it runs ok when I use Safari for PC and for Mac, but the situation doesn't repeat in Mobile Safari for iPad.
When I try to run the same routine in iPad, the page blinks and close itself when I allow the pop-up manager to open the webpage, I read in the internet that some navigators don't allow to close the pages that aren't opened by script, for example(window.open("url")).
How can I handle it?
I tried to use this alternatives:
- window.close()
- self.close()
- this.close()
- top.close()
- self.window.close()
- function anyfunction(){
     window.open('', '_self', '');
        window.opener = 'x';
        window.close();
Please, can anybody help me?
Thanks in Advance!
AlexPereira

I have the same issue on my phone and I think it may due to the latest software upgrade. I use to be able to add a safari shortcut on my home page by hitting the "+" key and then tapping on "Add to Home Screen". However this function is no longer available on my phone. My wife's phone still has it because she has not upgraded her software yet. I have restored my phone as a new phone but that did not solve the problem either. Would appreciate any help from the forum.

Similar Messages

  • Recent issues with mobile safari

    What the heck is going on with mobile safari !?! Super slow on loading most anything, have to refresh the page to finish loading it and can't like or comment on facebook either

    I think your problem is your network connection.  Are you using cellular data or Wifi when you notice the slowness?
    I suggest you reset your net work connections.

  • Anyone having this issue with mobile safari data lists not poping up?

    So I have my XML data source lined up and I binder it to my list as a data array. Then, I set up the text boxes so that they dynamically set up. All how it was meant to be right? Well all I get is a little line where the list is supposed to begin. No list or anything. What is interesting is that it works perfectly fine with a normal safari app. Same data, same steps. Difference is that it just doesn't work!? I tried a new project, maybe it's corrupted but again! Nothing! I force streched the box through the CSS file and to my surprise I found that there was nothing there! I thought it might have been something with the appearance but no, didn't work.
    Please try this yourself and let me know ith it works for you. Thanks! Oh and if you found a cure PLEASE PLEASE SAVE ME!

    I agree, and if you have a large amount of mail on the Gmail servers it might take over 24 hours to sync.  I have about 18 GB of mail on Gmail and it took over 24 hours to sync.  I went to Mailbox on the menu bar and forced the sync serval times, but I don't believe that speeded up the process.  I first upgraded my Macbook Air and compared it with my iMac.  There was a big differnce in the Inbox on my Macbook Air for several days.  Now a week after the upgrade, all folders appeat to have synced.  Next week I will probably upgrade my iMac to Mavericks.

  • Mobile Safari / Webview - closing quicktime media does not return to page

    Hello. I have noticed that recently, with the 4.3.1 update, when you click 'Done' in a quicktime player window invoked from a Mobile Safari or webView page, the player controls disappear, but the quicktime logo stays on the screen.
    In previous versions of IOS, when you click Done, it returns you to the calling page.
    Simple test: create a webpage with a link to a MP3 file. Load it in Safari, click it to invoke the Quicktime player. Pre-4.3.1, when you click Done, the player exists and returns you to the webpage. On 4.3.1, when you click Done, the player remains on the screen, and you have to use Mobile Safari's controls to navigate back to the page.
    Anyone know how to revert to pre-4.3.1 behavior?

    I haven't submitted a report nor feedback because, quite frankly, I seldomly venture into Apple's sites and I have not submitted a bug report to Apple before, nor would I know how to do so. I also assumed, perhaps incorrectly, that Apple has staff perusing these forums and taking notes and passing them to QA and their developers.
    But I agree, submitting a bug report/feedback is a great idea. I'll figure it out and do so tomorrow when I have more time.
    By the way, why did '*****,' appear in my post? I didn't use any obscene words.

  • IOS 8 Mobile Safari Issues

    Since upgrading to iOS 8 I have experienced issues when using Safari to log into my mobile bank. During the log in process, after entering the 3rd requested character of my password, the focus automatically 'tabs' from this field but the 'Continue' button is not responsive and a blue 'cursor' appears behind it. To continue I have to either click back into the last password character field and click 'Go' or click back into another field on the screen which then 'enables' the button.
    I did not have this issue in iOS7 and Chrome browser does not have the issue. The website has not been changed so why has it suddenly changed its behaviour since the upgrade?
    Further to this, since the iOS 8.1 upgrade, the 'scroll wheels' used to select, say, a date of birth do not 'remember' the value that you have scrolled to if you click on the next entry field without selecting 'Done'. Again, this was fine until the 8.1 upgrade.
    I don't think saying that websites aren't compatible with the Safari updates is good enough as all other browsers I've used do not have the issue.
    Any suggestions?
    I'm definitely taking the plunge and using Chrome from now on (any issues I've reported seem to have been fixed within a few days), if not moving away from Apple all together if an issue isn't acknowledged and/or fixed (I can see via Google searches that other people are experiencing issues).

    I've experienced something similar in that I was on vacation and trying to access the hotel's wifi. And what you expect to happen happened, click on the network to join and the terms and conditions page comes up. My  mobile safari even said 'done' as in that it was a success. But in reality the right page hadn't come up and while it showed that I was online,, I really wasn't. I had to open a different browser to get the proper terms page to come up.
    I do think there is an issue with how safari handles certain codes. Unfortunately I don't think there is much a user can do beyond have the work around (having browsers other than safari handy). If Apple decides to fix any coding issues with Safari, they'll just quietly do it and roll it out with an iOS update.
    You can send them feedback and let them know that your bank's site doesn't work but beyond that there's not much users can do.

  • Mobile Safari does not play videos

    http://naartjie.nanoson.com/movie.html
    Three videos on a simple HTML page[/URL] Check HTML source yourself - it's trivial!
    First video about Subaru plays well in Mobile Safari.
    About second Mobile Safari says, that it can't download video file! About third it says, that video can't be played.
    First I thought that video format is wrong, but! If all that 3 videos send via email to iPhone or upload to iDisk and use iDisk.app, all they can played without any errors! So what is my mistake? Are there any more strict limitations on video in HTML for Mobile Safari?

    K T, I'm not sure what you're talking about, but since this WORKED on the iPad but DID NOT work on ANY other version of Safari (including the iPhone/iPod version), I don't think that could possibly be the issue. Now, what it COULD be is that I processed these videos on an old PowerMac with Final Cut Studio 1 (so Compressor 2, not Compressor 3) . . . but I thought the H.264 standard has been unchanged for seven years, right? If so, I don't see how that could be it either. But I don't know much about this stuff.
    Would compressing the file for "streaming" rather than "download" on an older version of Compressor do anything to the resulting file that would somehow make it incompatible with Safari? And maybe they just tweaked the **** out of the iPad for the big launch and caught that bug, but haven't fixed it on other platforms yet? Like I said, I don't know much about this stuff, but that's the only thing I can think of that made the videos I processed, uploaded, and tested any different than the videos that WORK on all versions of Safari.
    To clarify, all the videos I have processed myself ONLY work on the iPad. Videos I download from the Internet, then upload and test with the exact same code, work on all up-to-date versions of Safari (and Chrome too).

  • Bookmarks bar and tab controls not working in mobile Safari on iPad2

    The bookmarks bar as well as tab controls in Mobile Safari on iPad 2 are not clickable. Only the topmost nav buttons work. This persists through reboots w/Safari closed via mem manager, and a system restore. What do?

    closing Safari via the taskbar
    or having done a reset (unless that is what you mean by a reboot)
    "This persists through reboots w/Safari closed via mem manager"
    That is obviously exactly what I meant. How does one reboot an iPad without "resetting" it? How does one do a system restore without "resetting" it?

  • Images saved from Mobile Safari are significantly degraded

    When I tried to use an image saved from Mobile Safari as my wallpaper I noticed that it looked horrible. It was blurry and more importantly the dynamic range of the image had been compressed, blowing out all the detail in the bright areas of the image and making it contrastier. This is especially bad on the type of photo I was trying to use, a high-key image, where most of the detail is in the light tones. Much of the image was simply displayed as blank white.
    As a test I tried emailing the image I had saved into Photos to myself and compared it to the original I had saved from the web. Sure enough, the image was blurrier and had less dynamic range so it's not just an iPhone display issue. Also, the image was only 27% smaller in file size and the pixel dimensions were actually slightly increased. A quick re-save in Photoshop with JPEG quality set to low (4) reduced the file size by 53% while still not affecting the image anything like what the iPhone did. So it doesn't make sense that the poor quality is only due to resizing for faster transmission.
    Can anyone else confirm this or replicate the issue? I've verified this with a 1st gen and 3G iPhone side by side, both running OS 2.1.

    No, it's not only you.
    I noticed it too. As a matter of fact, I just posted a really long post in a thread about iPhone/iPod Touch's photo quality.
    See: http://discussions.apple.com/message.jspa?messageID=8132098#8132098

  • Is Mobile Safari's in-app multitasking (audio stream in one tab, browsing in another) gone for good?

    I cannot remember the last iOS version this feature actually worked, but in the past, I used to be able to open a tab in Mobile Safari, begin streaming audio from a website, pinch in to bring up standard UI again, and then open up another tab within Safari itself and continue to browse the web. All the while the streaming audio is still playing in the background.
    Now (and actually for the last few iOS versions, it's been a while), you cannot browse Safari while listening to a Safari audio stream at the same time. To me this makes no sense at all, because it's just a simple backgrounding concept. I can go off and use any other app on my phone, but not Safari itself.
    There ARE a few ways to kind of trick Safari into allowing you to browse and listen, but it's a poor workaround. You can go to the website, tap-and-hold on the stream URL, then select Open in Background. Doing so will begin the stream and keep you in the current webpage and then allow you to open more tabs.
    HOWEVER, if you ever select that audio stream tab, you can't control it consistently, and most of the time you'll get stuck in that tab and your solution is broken.
    For YEARS I've been waiting for Apple to fix this silly limitation with each new iOS release, but every time I find that it's never fixed. I'm just surprised that I don't hear more people complaining about it, because it's been a huge source of frustration for me for so long.
    Does anyone else experience this frustration or know if this is intentional (which would be enormously depressing if Apple purposely designed these functions) or if there are any better solutions to it than what I've come up with?

    Thanks for the heads up.
    Odd that I can't just email their support department.
    I'll post back with my results.

  • Mobile Safari crashes on launch on both my iPad and iPhone.

    Since yesterday, Mobile Safari on my iPad AND my iPhone crashes upon launch.  If I try to access Safari from settings, the devices hang indefinitely.  I have tried restoring from a known good backup, but the problem persists.  Does anyone have ANY idea what is going on?
    By the way, Mercury Browser works absolutely fine; this is not an internet access issue.

    Try resetting Safari. Settings>Safari>Clear Cookies and data.

  • Fixed div in Mobile Safari

    Does any one know of a way to created floating div elements for mobile safari. Safari on the desktop of course supports this, but mobile safari and UIWebView do not seem to. Work arounds and suggestions welcome.
    Thanks in advance for all advice.
    Rakesh

    Yes. I have something along these lines:
    // In CSS file
    .navigation
    background-color: #336699;
    position: fixed;
    top: 80px;
    left: 0;
    height: 50px;
    width: 100%;
    padding: 5px;
    vertical-align: middle;
    // In HTML file
    <div id='navigation' class='navigation'>
    <span id='welcome'><a href='javascript:welcome()'>Welcome</a></span>
    <span class='separator'>|</span>
    <span id='rules'><a href='javascript:rules()'>Rules</a></span>
    <span class='separator'>|</span>
    </div>
    This works fine when I test with desktop Safari but not on the simulator (Safari or UIWebView).
    Thanks for all help.
    Rakesh
    Message was edited by: sptrakesh

  • Safari cannot load webpages.

    Safari cannot load webpages. It only shows blank page while other web browsers work well. How could I solve this?

    Glad you were able to get the issue resolved =)
    Linc Davis, I am curious where you were able to get the Safari 7.0.3 installer package from?? I thought that the only way you could reinstall Safari 6 and later was by reinstalling the OS?  Also, right-clicking on the Safari app and choosing show package contents did not show the installer.pkg. Just would like to know for future reference since reinstalling OS X for a minor issue such as this is obviously overkill =P

  • Installing certificate (.crt ) file through mobile safari browser

    Hi,
    I have requirement I need to download and install my server certificate through mobile safari browser.
    I tried it it is able to downlaod it but it is not installing automatically. It is asking for manual click to install that certificate.
    Is this iOS browser feature? is this happen with all server certificates ?
    Is there a way by which I can make it automatic install. NO manual click should be required.
    Thanks in advance.
    Regards
    iSPT

    That crash is caused by a bug. The easiest way to recover from it seems to be to install Safari 6; however, Software Update won't find it and there's no official download link. Unofficially, you can download the update from here:
    http://swcdn.apple.com/content/downloads/37/23/041-5058/lr5tynbldi18zcrqo8a8uq88 rnjushqliu/Safari6Lion.pkg
    If you don't have a working web browser and can't download the file on another device, proceed as below. You should have received a notification of this message in email. Retrieve that notification in Mail. If you don't get email notifications, mail a copy of this message to yourself.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    In your mail client, triple-click the line below to select it, then drag or copy into the Terminal window — do not type — and press return:
    cd Desktop; curl -O http://swcdn.apple.com/content/downloads/37/23/041-5058/lr5tynbldi18zcrqo8a8uq88 rnjushqliu/Safari6Lion.pkg
    The update package will download to your Desktop. When the download is complete, a new line ending in a dollar sign ("$") will appear below what you entered. Quit Terminal and double-click the package file.

  • Spry Dropdown Menu problem in Mobile Safari (iPad)

    I've used the stack SpryMenuBar.js in Dreamweaver to create a dropdown menu for a client (XponentMD.com).
    When I Did a pass to optimize the site for the iPad, I found that the menu does not work properly. When you touch the top-level category, you go directly to the linked page and don't trigger the dropdown categories. I believe is it because the touch screen interface does not recognize focus and blur events.
    It there and updated version of the SpryMenuBar.js that accommodates touch screen browsers like mobile Safari?

    Thanks for your answers.
    Looks like the browser on iPad simulator doesn't behave like the real touch device, because on iPad itself definitely all unmodified Spry 2.0 menus and also that example ( http://nwneighborhoodvet.com/ ) don't work properly. When I touch "About Us" on http://nwneighborhoodvet.com/, then it immediately loads http://nwneighborhoodvet.com/pages/about-us.html instead of displaying the drop down menu.
    Somehow I also don't understand your versioning scheme. I downloaded today again the so called Spry 2.0 Dropdown Menu with the Widget Browser and when I install it on my site the directory with the CSS and Javascripts inside is called Spry-UI-1.7. When this is supposed to be Spry 2.0, why don't you call it Spry-UI-2.7 or 2.0.7 or something similar? Or do I get the wrong version from that strange Widget Browser/Dreamweaver CS5?
    My test page (should be unmodified and it's not formatted properly at the moment) is http://www.safeexambrowser.org/Templates/main-D.dwt, also doesn't work properly on iPad.
    This is a example (jQuery Superfish) which is actually working on iPad: http://users.tpg.com.au/j_birch/plugins/superfish/#examples (see the menu below "The result:".

  • Mobile Safari and .gifs ?

    Hello community,
    was there a time when mobile Safari could actually play back animated gifs properly?
    Gif animations perform slow like a slide show or worse.
    My iOS history: 5.1.1 to 6.0.1

    Even after some time for loading went by, gifs are still not played back with normal speed.
    The more gifs are visible at once the slower they all play. If I zoom in on a gif it runs faster but still not "desktop speed". Where my desktop plays immediately the iPad loads frame by frame first and so it looks like the gif is accelerating in the beginning but it never reaches normal speed. The scroll response gets choppy and depending on gif fill rate of the screen, parts of the webpage will render again.
    I encounter these problems everywhere where there are gifs e.g. theverge.com comment sections or on GIF tumblrs.
    Maybe it's the scaling algorithm of safari which demands too much video memory due to the "retina" display? I don't know.
    regards

Maybe you are looking for