safari

facebook canvas app authentication single sign on does not work on safari 5

Hi, I have been using single sign on authentication for my facebook canvas iframe app. It works fine on IE, Firefox, Chrome(all latest). But doesn't work on Safari 5. I know safari doesn't allow cross-domain cookies, and that's the reason it's not working. Facebook sets cookie for my app's domain that I can use as single sign on mechan...

Safari and iPhone Safari play as "live streaming" with finite file size (MySQL, PHP)

I read the following question and answer http://stackoverflow.com/questions/1995589/html5-audio-safari-live-broadcast-vs-not Still unclear how to resolve the issue in my situation: The audio files (mp3) I am working with are stored in mySQL and pulled into the browser by a PHP script that sends the Content-length and Content-type heade...

Prevent Safari from Caching Top Sites

I have found what I think to be a big security flaw with Safari's Top Sites image cache. For those who don't know, Safari basically takes a snapshot of every page you visit and this is supposed to be somehow useful to the user. My problem with it is that it even takes snapshots of parts of my site that are password protected. So if someo...

Safari PDF viewer does not recognize referrer?

My goal is to have user-uploaded files (mostly PDF) available for download only via a link from the host website. I've protected user-uploaded files with an .htaccess file that resides in the uploads directory. .htaccess checks the referrer against the hard-coded domain name, and if the referrer matches, it allows access. Otherwise ac...

how to play encrypted video from Http Live Streaming Server

I can play video from my Http Live Server on my ihone . The server contains unencrypted video But when I try to put encrypted video on my server, I can't play them. I know I must deliver key file to client, and use the key file to decrypt segmented files which listed in .m3u8 file. But I don't know how to handle the client. what s...

$.getJSON for progress bar NOT working in Safari and Chrome (but OK in IE6+ and FF)

Hi folks This one's perhaps a little long-winded, but it's really baffling me and a couple of other people. We've got a progress bar that's updated during file uploads. The JS is here (too much to paste into this body). Basically, the form submit event starts a timer loop which, every 2 secs, fires a $.getJSON() call to the server to ...

Want to use https request in phonegap application on iphone

Hi Guys I am trying to call https request in phonegap iphone app using jquery's method getJSON(),though it work fine in normal safari,but in mobile safari,it gives error like Download Failed-Safari cannot download this file Please suggest me... Thanks ...

jcarousel not loading in Safari and Chrome after .fadeOut

I have a page that displays a particular DIV which fades out using .fadeOut revealaing another DIV which also then fades out, revealing a 3rd DIV which contains a horizontal jCarousel (strange I know, but given the constraints I am working with this was the optimal solution). After all of this .fadeOut business finishes, the jCarousel ...

Can somebody tell me what is wrong with the code in this page? The layout does not work properly in Safari browser

I do some work on on old tables based site. It is being replaced but I would like it to work for now. One of the pages in question is http://www.gdsofusa.com/marantec_garage_door_openers.html. When this page (and some others) is viewed in Safari 5.0 (7533.16) and probably others, the page content is off to the right. I just need to fix...

Safari: Prevent two print dialogs when printing an Iframe

My site has a "print this page" button. I load a static print template HTML file into a hidden iframe, copy the HTML into that page using jQuery, and call window.print() from the Iframe page. All is well, except on Safari, which wants to print the parent frame as well, so I get two print dialogs opening. I've tried calling window.print...

Issue with Selenium RC with safari4 or safari5 on Mac

I'm using Selenium RC with Safari4 on Windows. What my tests do : launch Safari browser, fill 2 fields click on a button wait for the page is loaded verify that some words are present on the page* *Instruction can't be ok because it is executed before that the page is loaded and tests get failed. Following is the part of code where ...

checkbox size in safari ?

<style> input.checkbox { width:300px; height:300px; margin:0px 0 0 0px; } </style> <body> <input type="checkbox" class="checkbox"/> Iwant to increase the checkbox size, but this code is properly work in Internet Explorer, but not in Safari. ...

Safari not submitting on 2nd click

I have an image that when you click it its suppose to call another function and open a window. It works the first time you click it but when you close the window and click on it again nothing happens. I've checked the script debugger it does infact get into the method the 2nd time but nothing happens even when i step through. Markup: ...

Programmatically selecting text in an input field on iOS devices (mobile Safari)

How do you programmatically select the text of an input field on iOS devices, e.g. iPhone, iPad running mobile Safari? Normally it is sufficient to call the .select() function on the <input ... /> element, but this does not work on those devices. The cursor is simply left at the end of the existing entry with no selection made. ...

How can I rotateY an element without dipping underneath the page in 3d space?

I'm attempting to achieve a CSS 3 effect where when you click on an image in a bank of images, it expands to all the available area and flips over at the same time. The way I was able to accomplish this was to clone the element and absolutely position it on top of the original then transform that. In the code below the cloned image is a...

ASP.NET MVC: Default model binder not working on Safari (but does work for Firefox)

Very strange issue... I have something like this in my Controller: public ActionResult Initialize(IEnumerable<MyModel> Requests) { ... } I generate form elements in my submitting View that look like this: Requests[90ed54f6-4650-44c7-8cc2-c4d225a9a334].Name Requests[90ed54f6-4650-44c7-8cc2-c4d225a9a334].Address Requests[db67e8e5-94f8...

Redirection Before Page Load

I have an injection script--a start script--whose ultimate goal is to redirect to a different URL. That injection script needs to access the extension settings, so it sends a message to a global HTML file. That global file checks the settings and redirects to the appropriate URL by setting the safari.application.activeBrowserWindow.activ...

Question about alert in webapp iphone

Hi, I write a webapp, I need to modify or catch automatic alert of safari such as "cannot open page. SAFARI cannot open the page because the address is invalid". is possible this?? Another question is: how to cache title of alert javascript? Best regards Samantha ...

Webpage displays to left on safari

Hello, I am having a problem displaying a webpage on Safari. It will not display center, but will instead displays the page to the left and has a huge amount of empty space to the right of it. I don't get this behaviour with Firefox, IE, or Chrome. Can anyone tell me what is going on and how to fix it. The website can be viewed at: digi...

Aquiring specific characters surrounded to specific tag

A simple tool to store and display texts longer than a few lines. The search button<div id="xyz">will highlight all</div> the words matching the name of objects that are members of the classes listed in searchedClasses, itself a member of the KeySet class. The highlighted words are hypertext. I want to retrieve characters which are su...