safari

Parent Page becomes ‘frozen’ in Safari after commandLink with target=“_blank” is pressed in JSF 1.2 mojara

On my webpage when i press command link its opening a new page perfectly on IE7/Firefox 3/Chrome/Safari 4.0.4 but after this none of the parent page's command buttons are not working ,this happens only in safari.I am using JSF 1.2 mojara. Following is the my command link code: <h:commandLink onclick="submitPrint('selectedAttributes',cr...

Random blank pages on Safari when developing webapp

Hey guys, I've been experiencing a safari problem while building a web application. The screen goes completely blank (white) and refreshing won't help. Going to another page on the site gives the same problem. Then magically, after a little while, everything goes back to normal and pages are rendered correctly! This started happening ...

Form submits correctly in Chrome/FF, but fails altogether in IE/Safari

I have a form with a css submit button. When a the submit button is clicked, i call a function that executes: document.forms["request"].onsubmit(); What should happen, then, is that the onsubmit method ought to be triggered. This works properly in Chrome/FF, but for some reason IE/Safari will bypass the onsubmit function and simpl...

Safari: search hidden text.

I have couple of block on the page which are hidden. So, when user tries to search text on the page using build-in browser search mechanism safari shows these hidden blocks. I dont want to allow user see these blocks before special event happened. Is there anyone who had the same problem? ...

Can I disable Safari's smooth image scaling?

I'd like to scale some pixel-art images up in-browser. Because they're pixel art it looks horrible if image smoothing happens. In Firefox I can disable smoothing with "image-rendering:-moz-crisp-edges". In IE there's "-ms-interpolation-mode:nearest-neighbor"... which is the default scaling mode anyway, mostly. But I can't find a way t...

Automatically install and launch a code-signed application from Safari

Is it possible and if so what are the steps necessary to package (or build) a Mac OS X application and code-sign it so that it can be downloaded with Safari and automatically launch? ... possibly after the user responds to some sort of dialog explaining that it is a signed application and the publisher has been verified. An example of t...

Transparent or translucid start page in Safari

Hi, is it possible and how? Thanks ...

Using of html5 <video> tag in web-based applications for iPhone

As you know iPhone plays video content from < video> tags in full-screen mode via internal media player. Here I have several questions: 1) is it possible to show custom text over video playing? something like subtitles appeared during movie playback. I tried several solutions like http://blog.gingertech.net/2008/12/12/attaching-subtitl...

HTML5 on iPhone Safari - data stored by localStorage does not always persist. Why?

Hi, I write a simple iPhone web app using HTML5's localStorage. Tests on a 2G device show that data stored using localStorage does not persist after the Safari process is killed although the opened Safari windows are remembered. The data is also lost in a case where I am on a different site on a different Safari window, then I change ...

HTML5 video (mp4 and ogv) problems in Safari and Firefox - but Chrome is all good

Hi folks, I have the following code: <video width="640" height="360" controls id="video-player" poster="/movies/poster.png"> <source src="/movies/640x360.m4v" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <source src="/movies/640x360.ogv" type='video/ogg; codecs="theora, vorbis"'> </video> I'm using Rails (Mongrel in developm...

Table not sitting within the a div correctly

There is a table on the bottom left of this screen which fits within each tab when you click on it. It works ok in FF & IE but for some reason Safari pushes it out to the right. http://www.yellostudio.co.uk/tm/# Any ideas would be very much appreciated? ...

Show/hide element using only CSS3 -- why won't this work?

I'm developing an offline web app that (for now) only targets Safari on the iPhone/iPod. Mostly for fun, but also as a way to lessen my dependency on jQuery event bindings (and thereby hopefully speed up UI responsiveness), I tried substituting some CSS3 for basic show/hide functionality. The following code is a simplified example that ...

Simulate Offline Mode for HTML5 Cache Testing

I have an HTML5 application that requires offline support. I am using a local Apache server for the application, and am trying to figure out what the best way is to simulate offline mode (currently, in Firefox I disable my Air-Port to simulate offline mode, but this is a pain). Any suggestions? I am open to using other browsers if a meth...

Safari 4.0.5 will not play any HTML5 (H.264) video

The html5test.com tells me that my browser does not support the <video> element, and when I try example page, I get the fallback message, usually "Your browser does not support HTML5 video." I know this should work in Safari. I am on Windows 7, 64-bit (running 32-bit Safari). Video works in Safari for everyone else in the office. (Wi...

iPhone/iPad. How do I launch an app from link in Safari?

I have an app that I want to be launchable either explicitly when tapped or when a parameterized URL is clicked on on a webpage in Safari running on iPad or iPhone. Can someone sketch the approach for me and/or point me to the relevant docs? Thanks so much. Cheers, Doug ...

Safari: how to load a file without getting Safari to stop the current Ajax request

I have a page where: At a regular interval (5s), an Ajax request is sent to the server to refresh the page. The page has links (<a href="...">) allowing the user to download documents. And this is what happens: In some cases, the user clicks the link to download the file while the Ajax request is in progress. The link points to a f...

jQuery code working in Safari and Chrome but not Firefox

I'm got a site that has a long list of tweets, and as you scroll down the right column follows you down, showing stats on the tweets. (See it in action at http://www.grapevinegame.com . Click 'memorise', then 'skip' to get to the list page. Works in Safari and Chrome). I'm using jQuery to update the top-margin of the right column, incre...

Controlling a browser using Python, on a Mac (Firefox or Safari or Chrome/ium or Opera)

I'm looking for a way to programatically control a browser on a Mac (i.e. not IE) using Python. The actions I need include following links, checking if elements exist in a page, and submitting forms. Which solution would you recommend? Thanks! ...

Extra padding in Chrome and Safari

Safari and Chrome seem to be adding extra padding/margins in regards to the text within the boxes at one of the pages within my website. What can I do to make it appear the same way it does in Firefox and IE? ...

Safari 4 Links Failing (Bug?)

I've encountered some bizarre behavior in Safari 4. I have a simple link in a web application that I'm working on that calls a Java servlet to log a user out of the site (invalidates the session and sends the user to the login page). For some reason, Safari will (apparently arbitrarily) decide to cut off the servlet name when sending t...