Hi,
I've got some code that lies in a browser, and wrote C++ plugins for both IE (COM/ActiveX) and firefox (NPAPI).
I now have to get this code work on Mac OS X. I found some input on apple's site, but it's written in Objective C.
I also read about SIMBL, but it seems to deal with Objective C code only, isn't it?
So here are my quest...
I am debugging a Safari-specific javascript issue, and I can't get console.log to output to the error log. This is a documented feature of Safari (I'm using version 4.0.3). These statements in my code just seem to be ignored, however. Any ideas why? I'm not finding leads through Google.
...
If I do something like
map = new GMap2(document.getElementById(mapCanvas));
directions = new GDirections(map);
directions.load("SOME DIRECTIONS HERE");
Under firefox on LInux it works great!
Under safari it displays the map but not the directions.
What gives?
...
I believe I have found a bug in WebKit. It involves outerWidth(true) (and I assume outerHeight(true) ) in jQuery.
In every browser but Safari and Chrome, the third box is 200. In Safari and Chrome, it is (almost) the width of my screen.
Click here to see my results:
You can test is for yourself here: http://ramblingwood.com/sandbox/w...
Safari on iPhone has a feature that lets you create a shortcut on your home screen for a web page. Is it possible for other apps to implement similar functionality? I'd like to give my users a quick way to jump to a specific item in my iPhone application.
...
I'm messing around with some jQuery stuff for a mockup and noticed some odd behavior. I'm hoping someone here can shed some light on it.
This is all mockup / test code, so please excuse the sloppyness.
So I have a table that I'm using in conjunction with the jQuery datatable plugin:
http://www.datatables.net/
My table markup is as...
<input type="text" name="user" class="middle" id="user" tabindex="1" />
Basic text input in html, when you tab or focus into it, Safari will put a blurry blue border around it. For the layout I am working on, this is distracting and does not look right.
FireFox does not seem to do this, or at least, will let me control it with border...
Ok, Now I want to add a menu in the safari menubar. I Create a Cocoa bundle project in Xcode .and then change the target extension is "webplugin" .and then add WebPluginMIMETypesFilename
com.example.webplugin.plist
to the info.plist.but I don't know the is right?. I make the prinpical class is my main plugin class SafariPlug . and then ...
My app (under development) uses Safari 4.0.3 and JavaScript to present its front end to the user. The backend is PHP and SQLite. This is under OS X 10.5.8.
The app will from time to time receive chunks of HTML to present to the user. Each chunk is the body of an email received, and as such one has no control over the quality of the HTML...
Hi,
I am creating web page in c#.net. I am using HtmlTable and HtmlAnchor tag in my page. also I am giving Href to anchor. It is working fine in IE and FireFox but it is not working in safari. Please let me know what is the problem?
...
I have a payment page where a customer is entering their credit card details. I have removed all of the non-relevant sections.
What's weird is that my front-end validation works fine on FF, IE, and Safari for windows. It only is failing on Safari in Mac OSX.
Specific user agent strings that have had issues:
Mozilla/5.0 (Macintosh;...
Any idea as to why this is??
Here's the code:
$(".main_search_big_button").click(function() {
$('.Search.input').focus();
$('.theme_classic_search-box').css({'border-color': "#0078E5", 'border-width': '3px'});
$('.container, .theme_classic_footer').fadeTo('slow', 0.5, function() {
$('.main_remove_button').fadeIn('fast');
})...
Recently we've been looking at a few exceptions captured in our Stack Overflow logs and have discovered an issue for Safari users.
I noticed this HTTP header in one of the exceptions we have captured:
HTTP_X_PURPOSE preview
Does anyone know what action triggers this header or the meaning of HTTP_X_PURPOSE?
...
Hi
I'm no jQuery expert but managed to get the effects running I required for my WordPress site frontpage at http://www.bringmyshuttle.com
View in FF and all works fine; the other filters reset to 'all' when one option is selected, and the correct thumbs are faded out/retained.
In IE or Safari, nothing... I built on FF and Safari on M...
I have written the following javascript code to catch F5 key press and prevent the user from refreshing:
(I understand this is not a good idea but i am stuck with this whether any one likes it or not. Also the question i ask pertains to why the script below does not work with safari 4 but works for other browsers.)
var fn = function (e...
So i'm toying around with HTML 5 and the localStorage and i'm noticing that my values only get stored when i run the page in Firefox on the local host (i.e. http://127.0.0.1:8000/test/index.html) when i run the file locally (file:///C:/test/index.html) my values won't get stored. Safari 4 has no problems with both setups.
So does anybody...
Safari 3.0.x doesn't support the document.compatMode property to detect whether the document is rendered in standards or in quirks mode. Safari 3.1 and newer do support it. How do I detect the document mode in Safari 3.0.x if document.compatMode is not available?
...
I am trying to make a auto complete box using ruby on rails, jquery and a plugin that combines the two called jrails_auto_complete. It works fine in FF but in safari 4 the keyboard select doesn't work. I would love to try and fix this for my application but cannot seem to do it. I don't know much java script, maybe someone can help. Is t...
I have kind of a weird problem ..
Something that isn't working on ff & safari but IS working on IE on itself is already pretty weird but I can't seem to figure out this problem..
On my site http://www.turnkring-excelsior.be there are links to social media in the top right corner (youtube, facebook and flickr), on IE they are linked, on...
Hi,
I'm trying to make a link tracking script. It should work like Google Analytics only it should make posts to our own server. I'm using jQuery for this. The code i have written so far is the following:
jQuery(document).ready(function() {
var opts;
jQuery.fn.trackAllLinks = function(settings) {
settings = jQuery.extend({}, jQuery....