safari

document.form.submit(); won't submit in safari

I'm using a javascript function to submit my form. This works in every browser except safari and I can't figure out why My javascript function looks like this function submitForm() { var selectBox = ''; sel_guide_options = document.subForm.sel_guides; if (sel_guide_options.type == "select-multiple") { for (var i...

Safari Ajax response size limit?

I am working on an iPhone mobile web app using jqtouch to make it feel more "native". It seems that safari chokes on large Ajax responses. Is there a limit on response size? Firefox is behaving normally and small responses are working just fine. Not sure where to start on this or what tools to use in safari to help troubleshoot. ...

Problem With HTML5 Application Cache Whitelist - Won't Ignore Items

I'm trying to use HTML5 Application Cache to speed some things up on an iPhone webapp. It works great for storing images, css and JS, but the problem is that it also tries to store the HTML. I haven't been able to get it to ignore the html and stop storing it in the cache. From what I've read, I have to "whitelist" the files and direc...

Safari and the z-index flash problem

Hi everybody, I don't know if it's a classic safari 4 bug, but apparently many people cannot display correctly a non-flash content (div, image, etc.) over a flash animation. I tried everything: The wmode (switching from "opaque" to "transparent"), the z-index and many other div "cheats". Did anyone know if there is a safari 4 patch/tr...

Getting Safari document title/location with Scripting Bridge does not work in full-screen mode

I'm trying to get the URL and document title from the topmost Safari document/tab. I have an AppleScript and an objective-c version using Apple's Scripting Bridge framework. Both versions work fine for most web pages, however when I open a Youtube video in full-screen mode, the Scripting Bridge based version fails. The Apple Script work...

How do I share Safari's NSURLCache store?

Background I'm building an app that links recent web pages you've visited together. To do this, I need to get the HTML for recent URLs using Cocoa. Right now, I'm using an invisible WebView to do this. As I understand it, if the URL isn't in the cache for my app, this is hitting web servers. What I want The chances are high that t...

how to set my 'div' element full of screen(width),when iphone Change direction,it also full screen(width)

and set the 'height' 1/2 of full screen. this is my code: <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" manifest="/m?manifest=1"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="v...

Cross Browser Font/Color Issues - Chrome/Safari

Hi, Hoping someone can assist as to what I maybe doing wrong as my css (style) for the website all looks fine in Firefox but in both Chrome and Safari, my fonts are coming out looking black color instead of the grey color as is, in Firefox. Can anyone pls assist as to why the fonts/color are different in Safari and Chrome - it looks li...

CSS problem with list elements in Chrome & Safarie (no problem in Firefox or IE)

I'm looking for suggestions for debugging... I'm kind of at a loss right now. If you view this site in Firefox or IE, it will look fine... check it in Safari or Google Chrome and the text contained within the list elements of the sliding panel does not display :( http://theatricalbellydance.com/home/ Any debug suggestions? here is my...

Bug in Safari: options.length = 0; not working as expected in Safari 4

This is not a real question, but rather an answer to save some others the hassle of tracking this nasty bug down. I wasted hours finding this out. When using options.length = 0; to reset all options of a select element in safari, you can get mixed results depending on wether you have the Web Inspector open or not. If the web inspector i...

Change in google and Safari behavior with command tab

I have a question of pure curiosity, though there has been a change in google behavior, and I would love to know what it is, and if there are any workarounds. I doubt many people know about this, are rely on it, though I do. In Safari, in you put your cursor in the top right google search field, enter in some text, and press command an...

Adding to the browser user agent string?

I have a plug-in that handles its own url schema (something like mystuf:// ). If a user clicks on such a link when the plug-in isn't installed (s)he gets an ugly error. So I extended my installer to write into the Registry (for Internet Explorer) and the user.js (for Firefox) to ADD a custom string to the user agent string. These additio...

Safari Textbox input with xcode

Hi, I am new to Xcode and would like to make a simple plug-in so that the plug-in can set the value to safari text box and get the id of the text box. Could someone please point me to the right direction? Thanks in advance. ...

setting user Credential permanently for safari browser

hi, Can any one tell how to set user credentials permanently for safari browser in iphone simulator? ...

Can you target Google Chrome? (Yes, you can)

Hi, I need to position this update button on www.euroworker.no/order (you'll have to add an item to the cart, use the Kjøp button to add and Handlevogn to view the cart). Works in FF and IE. (Although there is another alignment problems with IE) but not in Chrome or Safari. I had it working before, but the only thing I can think of to do...

Safari Extjs grid rendering issue

Hello: Here is a simple illustration of what I mean. It works in IE, and FF, but not in Safari. I have four panels which are dynamically added to a tabpanel item. Three are grid panels, and one is a form panel. I need to preserve the grids proportions or sizes. I tried several layout methods (table, column, absolute etc), and nothi...

GridView Paging, Controls not working in Google Chrome or Safari??

Hello, I have a gridview within an updatepanel which allows paging and has a linkbutton that when clicked shows a modalpopup for editing records. This works fine in IE, Firefox, and Opera but I do not get a postback in Chrome or Safari?? I have other linkbuttons on the page that are within updatepanels but are not within gridviews that ...

Safari Javascript parent.frames.length

I get a parse error from Safari with this code: for (var i=0; i<parent.frames.length; i++){...} doing alert(parent.frames.length); works and outputs the correct value which is 5. I also tried but failed: var len = parent.frames.length alert(len); //Correct for (var i=0; i<len; i++){...} //Parse Error When i type this code into ...

ASP.NET MVC jQuery ajax call returns status code -504 instead of 5xx on Safari 4

My MVC controllers return 5xx status codes to indicate errors when called using jQuery ajax. This works great on IE8 and Firefox. However, on my copy of Safari 4.0.5 running on Vista, this breaks. It looks like Safari is translating my 5xx status codes to -504. Successful ajax calls work fine, and I've already tried uninstalling and r...

How can Safari be prevented from scrolling an overflow:hidden iframe?

With Safari you can disable most iframe scrolling by setting style="overflow: hidden;" on the iframe. However, if you click in the iframe and move the mouse the content scrolls anyhow. Example: <html> <body> <iframe style="width: 100%; height:100px; overflow: hidden;" scrolling="no" src="scrollcontent.html"> </iframe> </bod...