safari

@font-face is deprecated on the iPhone version of Safari. What are my alternatives?

According to Apple's documentation, @font-face is deprecated for use on the iPhone version of Safari. The iPhone only includes 11 fonts, AFAIK, and, in any case, I need a nice blackletter font for an app I'm building. I'll be generating random text, so images are not an option. What alternatives do I have? Am I stuck with a JavaScript so...

Syntax error in CSET library

I am using CSET, a library for Unicode character classes for Javascript. It loads fine in Firefox, IE8, and Opera, but fails in Google Chrome and Safari 4 with a syntax error. Strangely enough, the syntax errors are different. From cset_production.js: Safari SyntaxError: Parse error (line 255) CSET=function(){ // ... var g=this ret...

Safari 4 Webpage Preview's, uses which hash function?

I've been looking at Safari 4's Webpage Previews (~/Library/Caches/com.apple.Safari/Webpage Previews/), the image names appear to use a 128 bit hash, but which hash function are Apple using? I found this page, Web Based MD5 / SHA1 / SHA-256 / SHA-384 / SHA-512 Cryptographic Hash Calculator Function, but, comparing some Webpage Preview i...

Safari does not work with forms on .htaccess site

I can't get Safari to submit forms to a page that is protected by .htaccess. I have reduced my test page to: <html> <body> <?php if(isset($_REQUEST["name"])) echo "<p>You entered: ", $_REQUEST["name"], "</p>"; ?> <form method='post' action='index.php'> <p><input type='text' NAME='name'> <input type='submit' name='send'...

download page interupting flash streaming in safari

I have a simple PHP page for downloading files that contains this code. header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="' . $name . '"'); readfile("$file"); This downloads the current bit of music I am listening to in a simple flash player. For some reason in the latest Safari 4.0 ...

jquery Label Insertion Problem in Safari

I am inserting a label after a field to show the user an error message. The problem is after it is first inserted, it's top half is cut off then when you tab out of the field it fixes itself. There is no problem at all in FireFox. I have deployed the form to: http://thredup.atomicvapor.com/regtest/index.html I have also posted the co...

misinterpreted png images in safari on mac.

I've created a png file with Autocad's rendering tool and published it on a website. The problem is that it does not show in safari on mac. It displays correctly on Firefox installed on the same machine and on windows. I tried to figure that out and when I was inspecting the img element I found a message in the safari console saying some...

how do you pop up the Save Image/Open in New Page/Copy menu on command in mobile safari?

I need to find out how to make the menu that appears in mobile safari on the iphone/touch when you tap & hold an element appear on a single tap without having to hold. how would i do this? preferably i would use webkit & no js. ...

Jcarousel lite not showing up on page load in safari and chrome

I have this plug-in in use on my home page which is running on WAMP. It works great in every browser except Safari and Google Chrome. In those browsers the carousel doesn’t show up when I first load the page, nor when I hit reload. When I navigate to the home page via the on page navigation link then it shows up. Any ideas what could be...

Is keyboard (arrow key) navigation supported in dijit.Tree 1.3 on Safari 1.3? Safari 1.3 onkeypress onkeydown question.

I first noticed apparent lack of keyboard support for navigation in dijit.Tree and am aware there were changes to keypress keydown behaviour around Safari 1.3.1 Also there was significant thought put in by dojo contributors on best way to go, e.g. trak 6876 Recently i have had issue with some of my own keydown handlers not firing (The...

Prevent table column from being selected and copied in Safari and Firefox?

I'm working on what is basically a small utility that displays a piece of sourcecode in a table which has two columns, one for line numbers and one for the actual source. I found that you can prevent the appearance of text being selected with the following CSS: table th { -moz-user-select: none; -webkit-user-select: none; } Unfortu...

Safari: Closing the movie player window doesn't kill the movie playback

Background I built a site for a film-production client. They needed a way to demo their showreels to the public and agreed upon a modal <iframe> approach (using jQuery and Fancybox) to showing their reels, all streamed via a third party provider. You can see the functionality in action here: http://groundglass.co.za/directors/ by click...

Multiple versions of Safari on Windows XP?

Is there any way to run multiple versions of Safari under Windows XP? I'm interested in running Safari versions 3.1 and 4. Specifically, i want to debug this type of problem with Safari 3.1 which does not occur on my current version: http://stackoverflow.com/questions/770669/invalidnodetypeerr-in-jquery-when-doing-multiple-selectors-on...

Delete row in Infragistics grid in Safari

How do you delete a row in an Infragistics grid in Safari? In IE and Firefox, you highlight the row, then hit the delete key (at least, that's how we implemented it). However, this does not work in Safari. ...

Showing content over a flash 9 swf?

Hi, I have a swf that requires flash 9, and I'm trying to show content over it. To facilitate this, I've set wmode to transparent. The problem is, this ONLY works when the user has flash 10 installed, and I really don't want to require flash 10 to view the content on the site I'm working on. When I pull up a div over the flash content wi...

Signed Java applet doesnt get permissions in Safari

Hi there, I've got a signed java applet (using a self-signed-certificate) which has to access the user's file system. I have to do it, so please no replies ala "you shouldn't do it" :) The thing is, when I execute the Applet from Firefox 3.0 / Mac, everything works as desired, I get all access just as it should. When I use Safar 4 / M...

top.location.replace creates history item in Safari/Chrome

At this point we have a photogallery which uses hashvalues to determine which picture is currently showed to the user, and to support sending the page to a friend and such. Something like: http://url/photos/#photo-4 When we have loaded the corresponding picture after clicking the next or previous button, we change the url according to ...

jQuery .hide() in Safari ?

Hi Guys, I am testing some jQuery in Chrome/Safari and I just cant seem to solve this error. Basically, I am doing: jQuery(':radio', '.some_class') .change(function() { jQuery('.special_class').show(); }) .blur(function() { jQuery('.special_class').hide(); }); ...

Safari: Ignoring a lot of CSS

We've began testing our site in different browser and all of them work fine, except Safari (Mac & windows). Edit: Removed url! On our page. The image doesn't float right, and the preface text is not bold. If I add style="float: right;" and style="font-weight: bold;" it works in Safari. The CSS for these elements are: .artic...

Obscure browser bugs to look out for

What are browser bugs that are obscure in the sense that they are hard to find or only occur under certain conditions, but can seriously bite you? Please also provide fixes or workarounds where available. Things like the IE6 float margin or PNG bugs are well known by now, please concentrate on rarer problems. This is a community wiki, ...