safari

Bug in iPad's html5 canvas drawimage() implementation?

After some grueling debugging, I think I have found a bug in the iPad Safari's implementation of canvas.drawImage(). Specifically this overload: void drawImage(in HTMLImageElement image, in float sx, in float sy, in float sw, in float sh, in float dx, in float dy, in float dw, in float dh); When slicing an image and scaling it down, i...

iframe scrollbar issues on iPad Safari Browser

Anyone here know the fix for this? ...

Cufon displays an artifact in Safari when letter-spacing CSS attribute is used

You can see this problem for a while at: http://www.hopplayground.com/ I'm trying to display a cufon headline and nav system. The font I'm using is a little too widely kerned, so I'm trying to push the letters closer together with letter-spacing in the CSS: h1, h2, h3 { margin: 0; padding: 0; font-family: "DIN 1451 Std", Trebu...

Safari JavaScript debugger always blank

This is a problem I've encountered on both Windows and Mac for many, many months and it's driving me crazy. Whenever I drop in a "debugger" directive or set a breakpoint in the Safari scripts console, more than half the time the code breaks where it is supposed to, but the code view is blank; some of the JS files are also blank, but not ...

ASP.NET - Google Chrome caching DropDownList selections

I'm experiencing what seems to be a caching issue with Google Chrome and Safari on my cart page. In the cart there are 2 dropdown lists. When you hit the checkout button after changing the values in the dropdown lists, it commits what's selected in the lists to the database. It's a little bit hard to explain the unexpected behavior so I...

TextField Loading Bar like safari app {iPhone SDK}

Im looking for a loading (progress bar) like the one seen in the the mobile safari app. I want a bar to cross a uitextfeild using the actual loading data. Has this been done? Thanks! ...

Safari box shadow inset support

I have a box in one of my websites that has a these property: -moz-box-shadow:inset 0 0 50px #ecf4de; -webkit-box-shadow:inset 0 0 50px #ecf4de; box-shadow:inset 0 0 50px #ecf4de; This gives the box a nice gradient towards the center. However, Safari does not support the "inset" property and IE doesn't support box-shadow at all. I can...

Why does Safari not like the .trim() in JQUERY?

This works fine in FireFox: $("#listname").val().trim() But in safari it errors: $("#listname").val().trim() while this does work, $("#listname").val() Why is that? ...

Open URL in new Safari tab with AppleScript

Is it possible to use AppleScript to open a link in a new tab in Safari? Thanks in advance! ...

Opening safari in iphone app using HTTP post

I'm trying to open the Safari browser in my app using http post. I know how to do this using get, but I can't find anything for http post. Any help would be appreciated. Thanks! ...

iPhone Safari Web App opens links in new window

Hi there, I have problem with web after adding icon to Home Screen. If the web is launched from Home Screen, all links will open in new window in Safari (and lose full screen functionality). How can I prevent it? I couldn't find any help, only the same unanswered question. Please help. Thanks. ...

Anyone know how to lock a website (HTML) to portrait orientation on iPhone with (HTML) meta tags, javascript, etc?

Does anyone know how to either lock Mobile Safari's orientation to portrait, or to block landscape (via javascript or otherwise)? In other words, I want the web page to remain in portrait mode regardless of the orientation of the device. ...

How do I call javaScript from Objective C?

I'm developing a WebKit Safari Plugin with Xcode. How do I call JavaScript from -webPlugInStart? ...

HELP! How can I display one style in Safari and a different style in Chrome?

My client is starting to get antsy....so any help would be greatly appreciated. I am having issues with my secondary page header images shifting. It is displaying correctly in Firefox, I haven't been able to check in IE yet w/out access to a PC. It was displaying correctly in Chrome, but shifting in Safari. I added the "webkit hack" ...

Horizontal scrolling site

Hi I have a horizontal scrolling site that uses jquery to reverse the mouse axis on the scroll wheel on the mouse. This works fine on every browser apart from safari. The address of the page with the scrolling is here: http://www.jamesbells.com/index.php?page=alias Can anyone help - all I need is for the mouse wheel to scroll left and...

New tab in Safari window from Cocoa and Scripting Bridge

I'm trying to create a new tab in a Safari window from Cocoa using Scripting Bridge. My code looks something like this: SafariApplication *safari = [SBApplication applicationWithBundleIdentifier:@"com.apple.Safari"]; if ([[safari windows] count] == 0) { NSLog(@"No window found. Creating a new one."); ...

Set focus to textbox after alert in Safari

I'm trying to return focus to the textbox after showing message. Like the following code: <input type="text" id="text1" /> <input type="submit" id="submit1" onclick="alert('test');document.getElementById('text1').focus();return false;" /> It's not working in Safari. I've got version 4.0.5 for Windows. ...

Turn off iPhone/Safari input element rounding

My website renders well on the iPhone/Safari browser, with one exception: My text input fields have a weird rounded style which doesn't look good at all with the rest of my website. Is there a way to instruct Safari (via CSS or metadata) not to round the input fields and render them rectangular as intended? ...

Safari on iPhone: CSS Positioning off by 1px

Safari on the iPhone renders my {position: relative; top: 80px;} div 1px too low (all other browsers work fine) - is there any way to fix this via conditional css? ...

Tablesorter Pager not working in Safari or Chrome

Hi all. I am building an app using the tablesorter plug-in and it's pager plug-in. Things work perfectly fine in Firefox and IE, but in Safari (4.0.4 on a PC) and Chrome () I get errors when it hits the following code that binds the tablesorter pager. I took the pager binding out and it worked, so something is going wrong somewhere in th...