safari

ActionLinks doesn't always work in FireFox and Safari

I've been learning the new ASP.NET MVC framwork lately and I've developed a test site for a friend who runs a "light café" in Sweden. The plan is to release it within a week or so after performing some final adjustments and fixing some security issues. Yesterday I published the site to a webhost running IIS 6, so the first thing I had ...

Input button image - not work in Chrome & Safari?

I have the following code in my index.html <li> <select name="cmbtype" style="display:none" id="cmbtype" onChange="Changetype()"> <option value="0"> <input type="image" src="images/ocean.png" value="Play" onclick="previewplay(); " /> </option> </select> </li> In firefox, opera and IE 7 I see the ocean.png and am able to click it. W...

What are all the special iPhone / iPod Touch HTML tags?

After peeking at the SO source, I noticed this tag: <link rel="apple-itouch-icon" href="/apple-touch-icon.png" /> Which after a quick Google revealed an Apple "favicon" type thing for display on your homepage ("WebClip Bookmark" to be exact). The only other one that jumps to mind is the: <input type="search" results="5"/> This t...

Debugging javascript in Safari for Windows

Is there a way to debug javascript using Safari 3.2 in Windows Vista? I found a link to a debugger named Drosera but I can't get it to work because the information seams to be outdated. ...

Safari 3.2.1 sends POST followed by GET requests

I've a servlet running on Tomcat 5.5.27 and 5.5.26 and have a web form with POST method. If I use Safari 3.2.1 I see from the logs that Tomcat receives a POST followed immediately/contemporarily by GET and it fails. If I use Firefox 3.0.5 I see that it sends only POST and everything works. Trying to debug with Eclipse I see that when us...

Setting cross-domain cookies in Safari

Evernote's bookmarklet is able to do this, therefore the most upvoted answer does not answer this even though the bounty will go to it (in a non-productive manner). I have to call domain A.com (which sets the cookies with http) from domain B.com. All I do on domain B.com is (javascript): var head = document.getElementsByTagName("head"...

Programmatically open new pages on Tabs

Hi, I'm trying to "force" Safari or IE7 to open a new page USING A NEW TAB!. Sorry, It seems like an impossible task :( Programmatically I mean something like: window.open('page.html','newtaborsomething'); Thanks! ...

How do I make an iPhone web app mimic a non-web app?

I've been considering making a quick little iPhone web app. I started reading about and experimenting with the special meta tags and attributes documented at Apple's Web Apps Dev Center: viewport apple-mobile-web-app-capable apple-mobile-web-app-status-bar-style -webkit-border-radius -webkit-border-image autocorrect autocapitalize app...

How do you get rid of all scrollbars in an iframe in Safari/webkit?

I've tried scrolling="no" and overflow:hidden; Nothing seems to make the vertical scrollbar go away in iframes on Safari/webkit. Anyone know? ...

What's actually wrong with my XML?

I have an automatically generated XML file for the game that I run. It however apparently has an error. The file is at: http://woarl.com/myXML.xml And the error is apparently at line 520, here are lines 519-521 <type>Academy</type> <typeid>23</typeid> <completion>4</completion> Any ideas as to what the error is? ...

Add bookmark to Safari on iPhone when an application is installed?

I'd like to add a bookmark to a users Mobile Safari bookmarks when they install my iPhone application. I don't want the user to have to do it manually, i'd like my iphone app to install the bookmark (actually a javascript based bookmark, e.g. javascript:....)... Does anyone know of anyway to do this? Also, I know that an app can regi...

Why don't Django admin "Today" and "Now" buttons show up in Safari?

I'm developing a Django application that contains a model with a date/time field. On my local copy of the application, the admin page for that particular model shows this for the date/time field: This is as expected. However, when I deploy to my webserver and use the application from there, I get this: The application on the server...

Is it possible to tell Safari to repeat a table header on printed pages?

Is it possible to repeat table headers in Safari on every printed page? This code works in Firefox but not in Safari: <table> <thead> <tr> <td>Header1</td> <td>Header2</td> </tr> </thead> <!-- lots of rows --> </table> Edit: This doesn't change anything, therefore it can't be the same bug that IE has: the...

Tiny flash in safari - very strange bug!

We have a flash file that in every other browser displays at its correct size (which is something like 1600px) however, in safari it appears tiny. We have also noticed that sometimes when the flash file is not cached it appears at normal size, then after a soft refresh the flash goes tiny again. We are using mootools to include the fla...

Accessing third party cookies in Firefox

We're building a Facebook application here at work, using the iframe method. For the application to work, it needs to set cookies from within the iframe. Safari has third party cookies disabled by default, so we are currently redirecting the whole browser to our server, set the cookie required to track the session, and then redirect bac...

Is there a way to enable the JavaScript Error/Debug Console for Safari within Android?

I'm developing a JavaScript application that needs to run on the Google Android Phone OS. Is there a way to enable the JavaScript Error/Debug console within Safari on either the Android Emulator or an actual device? If so any instructions on how to do so would be appreciated. ...

JQuery Click event not being triggered in Safari?

I'm trying to do something when a user selects an option from a select box - As simple as can be right? I'm using JQuery 1.3.1 to register a click handler with the id of the select box. Everything was fine until I tested using Chrome and Safari and found it didn't work. Firefox 3.05 - YES I.E 7.0.5730.13 - YES IE6Eolas - YES Sarafi 3...

Margin ( or padding not sure ) problem in Chrome/Safari

Heres my link ( BE WARNED, its got autoplay audio - sorry...!) link text Its not the usual 'looks fine in FF but bad in IE' problem :) It looks fine in IE6/7 Firefox, but in Chrome & Safari it has big problems with what looks like either margin/padding, or positioning. ( That narrows it down eh? ) If you have a look you'll see what I...

Browser "drag and drop" events: Can anyone fill in the blanks?

I've never really had the need to use any drag functions until now, so let me fill you in on what I've discovered so far: Drag events are events that take place when the user is dragging an object. This is "proper" OS dragging, eg: hiliting some text and dragging it, or even dragging in something from outside of the browser. While dr...

ASP.NET web service does not work in Safari.

I have a WebForms page (.aspx) that accepts parameters via get / post and returns XML. This works in all browsers except for Safari where I get this gem: Safari can’t open the page [URL]. The error was: “unknown error” (CFURLErrorDomain:303) Please choose Report Bugs to Apple from the Help menu, note the error number, and describe wh...