safari

CodeIgniter session issue on Opera and Safari

I am using codeigniter 1.7.2. In my web app after logging out, on clicking the back button of the browser the page is reloaded in the logged in page. This issue is occuring on Opera and Safari only. I have disabled cache using meta, but that doesn't help. :( <meta http-equiv="PRAGMA" content="NO-STORE" /> <meta http-equiv="Expires" c...

AJAX SOAP request - Safari changing POST to OPTIONS

I'm trying to send a SOAP action from a js running on my local machine to another device on my network. I notice that Firefox is successful, but Safari changes the header to say OPTIONS instead of POST. Any ideas? ...

Map URL in app goes to Safari, not native map app

I am trying to use a URL to launch the native maps application. My build is for 3.1.3 and later. When I run the following code, safari launches with the URL instead of google maps: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://maps.google.com/maps"]]; Any suggestions? Thanks! ...

get safari to not show broken image symbol

is there a way to get safari not to show the "broken image" symbol, when an image was not found? firefox does this by default. i'd preferrably do this with css, but i think javascript will be the way to go... i am using jquery already, eg something like this would be great: $(document).ready(function(){ $('img').broken().hide(); })...

Smooth jQuery animations in firefox vs safari

I love how the following animates in Safari, but hate how it does in firefox (click an event name, then click "previous post" or "next post" at the bottom of the page). Is there a way to "smooth out" the animation like it does it in Safari? EDIT: In firefox there is kind of a "flash of white" as the two images cross each other. It looks...

HTML: force PDF download

hi, I've a link to a pdf file in my page. Safari opens the pdf file directly in the website. I would like to download it instead. I've tried to add target="_blank" to the element, but it doesn't work if the pop-ups are disabled in the browser settings. How can I solve this ? thanks ...

If Chrome and Safari are both based on WebKit, does that mean I don't have to test both browsers?

If Chrome and Safari are both based on WebKit, does that mean I don't have to test both browsers? ... or are there certain situations where I should explicitly test both Chrome and Safari? ...

php session doesn't work in safari

I have a simple login page. Everything works fine in Mozilla and IE. When I try to login in Safari, the session is empty, just a white page. If i check the session id, it gives me the id, but shows nothing else. echo session_id(); If I copy the page URL and then go to another page, and paste the URL, the browser shows the page.If I refr...

Parsing headers in Safari - something similar to Live HTTP Headers for Firefox?

I need to resolve a weird issue with Safari playing back mp3 files as streaming files although the entire length of the content and all of the content is provided to the browser... Apparently, I will have to address Range headers, which is a new topic for me. How would I monitor the headers being sent and received in Safari? Is there ...

CSS hover problem on chrome and safari

I have this strange issue with css hover, on chrome and safari (on opera and firefox it works just fine). Here you can find a demo of the problem http://cgi.di.uoa.gr/~grad1054/bug/ In chrome when the mouse is over the html area tag, it somehow misses that is continues to hover over the general div, and so the css rule for the hover is...

CSS: menu bar shifted to right in Safari

For some reason, my menu bar is shifted to right in Safari: http://www.danydiop.com/danydiop/ In Firefox it is correct. What should I change in the css code ? thanks ...

Does anyone know how to link from Safari on iPad to the "Top Charts" tab of the App Store application?

I have tried using the iTunes Link Maker, and also copying the links out from iTunes on OSX (which works in Safari on the desktop but not on the iPad). ...

Why doesn't Safari honor my cache-control directive?

There is a particular page that I would like the browser to always load, particularly when the user presses the browser back button to get to it. So I use the following 'Cache-Control' directive in the header for this page (taking the PHP directly from my code). $headers['Cache-Control'] = 'no-store, no-cache, must-revalidate, max-age=...

cnnmobile.com viewport width 320px, even though there is no meta viewport tag

iPhone seems to render cnnmobile.com with a viewport width of 320px, even though the site doesn't have a meta viewport tag. I would expect it to be rendered using the default width of 980px. How come? ...

Background image of Anchor not working with Safari/Firefox

Hi, I have following Css where i have used back-ground image. Then i am generating Anchor and assigning css class which has image. It works fine with IE but does not work with Safari,Firefox and Chrome. Can anyone help me on how to fix it. I have given details below. Thanks, Chandan Css .HOME { BACKGROUND-IMAGE: url(../images/ho...

JQuery $.ajax calls success method on timeout, instead of error, running in Safari

Hello, I've noticed this weird behaviour of jQuery in Safari. After setting up the call like this: $.ajax( { 'url' : url, 'dataType' : 'json', data : reqdata, timeout: 20000, //10 secs of timeout success : function(data, textStatus, XMLHttpRequest) { console.log("success"); if ((data === null) || (d...

Opening and Closing Sized Popup Window Using SafariBrowserWindow Class

Hey -- Having great success using PhoneGap/HTML5 to develop basic iPad apps. However, I'm coming across something I can't quite crack, given my limited Javascript chops, and need help with ASAP. It's pretty simple functionality in the normal browser world -- I want to popup a window of a given width and height and simply have the abili...

Can use JSONP in Safari, but not Safari Moble!

Hi, I am trying to get an iphone webapp that uses ajax to work. I have developed the code using the latest Windows 7 version of safari and it works fine. The same code does not work in Safari Mobile for iOS 4... $.ajax({ dataType: 'jsonp', data: "somedata=34", jsonp: 'jsonp_callback', url: 'http://www.siteName/dl.php...

How to use function in extension-bar.html?

I am using extension bar and there are two javascript files in my extension. extension.js in the global.html and ui.js included in the bar file which is named extension-bar.html. 1.extension.js ExtensionName.Extension = { startup: function(){ ExtensionName.UI.startup(); } } 2.ui.js ExtensionName.UI = { startup...

Issues with link on Watir and Safari?

Hi there, I am new in using watir but I can only imagine this to be a bug: require "watir" Watir::Browser.default = 'safari' b = Watir::Browser.new b.goto() => nil b.link(:title, "Start").click Leads me to the next page as expected but on the following page no link works even they are there b....