I have a page that makes the same JSONP request multiple times in a single page load. In most browsers this works fine, but Safari caches the response locally until such time as the page is reloaded. Even when I send back a Cache-Control: no-cache header on the response.
consider the following example code:
var plcbCnt = 0;
var plcb ...
Hey Folks,
First, any support and help on this is largely appreciated.
I'm trying to write a simple Bash script (completely new to this) to replace a file in a given directory.
Basically, I need to write a script to replace the safari preference file, here's what I have..and what's not working for that matter:
#!/bin/bash
find /Fi...
In Safari 3.1 and 3.2 on Windows I cannot get my CSS to work when wrapped in the media type @media print {} or @media screen {}.
I have moved all my print CSS into the master css file following Paul Irish's recommendations for boilerplate http://html5boilerplate.com/ to reduce http requests.
I have slightly modified the recommendation...
Hello
I'm adding some ajax features to a site and I have very strange problem.
On webkit browsers the ajax request aren't working.
I have no idea where is the problem.
I noticed that if I leave only one ajax request the Safari(windows) is doing it right, but that its not what is happening to the Safari(Mac) and Chrome(windows).
The javas...
This is my website for mobiles to visit : m.looa.com
If you got an Iphone,please visit it and you will find that the words don't break line .
This only happens in Iphone's browser, it looks fine for android and almost all browsers for PC,including
IE Chrome FireFox and even Safari(you can try that).
I know this must have something to...
Can I listen to hotkeys with safari extension?
I want to respond to Cmd+SomeKey with action done by extension, but I've read intro on apple developer and there is nothing about hotkeys.
You can add custom buttons to the Safari toolbar, create bars of your own, add contextual menu items, display content in bars or tabs, and inject sc...
Hello There,
I am using a jquery function to take the value of the hash tag in the URL and load that URL into a div id'd 'inload_content'. As seen at http://www.divethegap.com/update/community/ (# When testing only use the 2 test videos at the bottom as the others are not connected to URLs yet.
In Safari this works perfectly both on OS...
When doing new WebSocket('ws://server/'); Safari connects fine, but when using new WebSocket('wss://server/'); it completely fails (returns a null object). Worse, it fails silently - no errors in traceback (a custom Eventlet web server) or in the error console within Safari.
Chrome works fine with both the secure and non-secure host.
H...
attached javascript does not work in safari.
this script displays a confirmation message before navigating away from the current page.
surprisingly this works for the first time in safari (but not during subsequent submit).
Scenario:
user makes some changes and press submit button
confirmation message displayed to user
user decided ...
The above UIActionSheet is thinner than the normal one. I took the screenshot from Safari when I try to bookmark some website.
Mine or the default UIActionSheet in iPad looks like the following. It is thicker than the one in Safari, especially the border.
How can I make my own UIActionSheet look like the one in Safari?
Do I need to...
Using Safari browser and finding one hurdle to making it my default browser - there is no default setting for clearing/deleting all the stuff you find in the menu's Reset Safari panel.
I made an Automator routine using the 'Watch Me' to do this and quit safari - it works. But, I'd really like to not have the steps display while it's run...
I've got HTML code like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title></title>
</head>
...
Hi guys,
I currently have a browser project which will allows users to select a proxy server. I'm using WebKit .NET by the way. However, when I tried changing my proxy settings in Internet Explorer(Registry), it doesn't seem to recognize the new settings. My other browsers seem to acknowledge the proxy, even safari.
Anyone here tried ...
I have set in css the height of an image to a certain value and the width modifies automatically so that the aspect ratio is preserved. I'm using the .width() jquery function to get the width of the image after the css resized the image. in Firefox and internet explorer this works great but in chrome and safari the width returned is alwa...
Does onHashChange or hashChange work in Safari? I tested it with Safari 4.0.4 on Windows 7 and it doesn't work for me.
If it doesn't work, is there any solution to track if the hash has changed?
...
Hi,
I am getting a wierd furry edge in earlier versions of Safari when using border-radius.
I am using Panic Coda (I don’t know what rendering version they use) but it’s fine in my other version of Safari, which is version 5.
The style:
background: url(/images/arrows.png) no-repeat center right, -webkit-gradient(linear, 0% 0%, 0% 100...
Hey guys,
My question is very simple: Is it possible to pack plugins into extensions for Safari? For instance, the exact NPAPI plugins which work on Google Chrome also work on Safari. However in Chrome I'm shipping the plugins as a part of an extension (a CRX package). This is needed because HTML and JavaScript is injected into a specif...
Hey Guys,
Am having an issue with Safari. I have a basic script using jQuery that makes some changes to a form field and adds some behaviours to it. When I run this script on using the document ready method it's fine in Firefox but in Safari it doesn't always run the initial changes. I can hit refresh and get it running fine 4/5 times, ...
Hi. I have a javascript that, when you finish to watch a video, it redirect you in another website.
It runs good on IE and Firefox, but not run on Google Chrome and Apple Safari.
Can anyone help me to find the problem?
Many thanks.
var currentState = "NONE";
var previousState = "NONE";
var player = null;
function playerReady(thePlayer...
I have the below HTML file. I tried the code on Safari and it was working fine. But when I tried this on Firefox, it’s not working.Can anyone suggest how to make it working on firefox?
On click on undo button I want to retrieve contents from the jsp file. Thats working when I used this code on safari on my mac.. but when I open the same...