Hello,
I am trying to make a bookmarklet test.
Below code works on FireFox but couldn't on Safari 4.0.3.
Does anybody know how to make it work on Safari?
javascript:var s = document.createElement("script");
s.text = "document.write('hello');";
s.type = "text/javascript";
document.body.appendChild(s);
...
I have jQuery .click(function() event handlers attached to elements that I've selected by ID
example:
$('#deletethis').click(function() {
$(this).hide()
}
within my $(document).ready but this does not work at all with Safari, just nothing happens but it works fine with Chrome, Firefox, and IE. Console reports no javascript erro...
Hey guys, how do you access bookmarks with the sdk? I'm currently making a browser of sorts for iPad. I made the address bar and added the bookmarks button but I don't see any documentation on accessing bookmarks.
Basically, I would like to know how to access Safari Bookmarks. Anyone know how to do this?
Cheers!
...
I'm currently having a problem with CSS styles in Webkit browswers (Chrome 4.0.249.89 & safari 4.0.4) in which I have a modal window that has a list of labels, radio buttons and some more text describing the what each radio button does. The modal displays correctly in FF 3.5.7
Here's the html for inside the modal,
<div id="rta_top">
...
Hello all,
As a feature of the application I am creating - I wish to enable the importing of bookmarks from different browsers. I have two questions, the first is a bit silly:
Is it possible to import bookmarks from the browser using JavaScript - I am guessing no?
Does anyone know of any pre-written classes that I can make use of to a...
This code works in FF 3.5.7 and ie7 and ie8. I'm just adding and removing a class which has a background image (a subtle off-white gradient) to change the background image on hover. Can anyone help me get this working in Safari? Thanks!
the example page is @ http://cambridgeuplighting.com/home (look in the footer in the three colum...
Is there something unique about Safari that would render the code below useless? While it works as expected in all the other browsers, it fails in Safari, insomuch that the attribute isn't removed at all...
$('ul.nice-menu a').each(function() {
$(this).removeAttr('title');
});
...
Hi,
I have a small issue with jQuery on Safari (Mac OSX 10.6) - the page loads fine under Firefox (Mac) and Internet Explorer (Win) but has to be refreshed to work properly in Safari...
http://7souls.co.uk/store/index.php?dispatch=products.view&product_id=29788
If you hover over the image it is meant to show a magnified version to...
Is it possible to integrate it with VS.NET?
...
I have a Perl-based website that attempts to set a number of cookies on the users first visit and I just noticed that Safari has stopped setting all but the first cookie that is passed. On first visit two cookies should be set which are 'location' and 'referrer'. In IE and Firefox the cookies are being set correctly but Safari is only se...
In IE, Firefox, Chrome and most Windows-based interfaces that I've used, the Tab key can be used to navigate from one form field or hyperlink to the next (e.g. "actionable" items) (note: I have not tested on other Operating Systems)
However Safari and Opera skip all hyperlinks in a web page when tabbing. IMHO its a usability bug but I ...
How do you configure browser proxy settings in a centralized fashion? Our development environment consists of many operating systems (Win XP, Win 2k3, Ubuntu Linux) and we usually run various browsers (Firefox, Chrome, IE, Safari) on each dev machine, to test our applications.
Managing and configuring browser proxy settings on each brow...
I know iPhone apps. operate like sandboxes. Meaning that they don't have access to other apps' files. And I have also managed to open a website in Safari from a Native App() using:
openURL:[NSURL URLWithString: Website_Address]
There are four Native apps that I have seen being opened from safari.
App Store app
Maps app
Email app
P...
The following @font-face declaration works perfectly well on Firefox (Mac) but not Safari/WebKit:
@font-face {
font-family:MyGaramond;
src:local("Garamond Premier Pro"), /* Full name */
local("GaramondPremrPro"), /* Postscript name */
url("GaramondPremrPro.otf") format("opentype"); /* Fallback */
}
h2 {
font-family:MyGaram...
I'm using watir for safari with ruby 1.8.7 on OSX Snow leopard.
I want to click a button, the only one in the page, that has neither id nor name. It only has an onckick property and the text within the tag..
How to do that? Is there a way to list all buttons on the page, and get the first (and only) one?
thanks
...
What does the iphone (3gs) safari use as the thumbnail displayed when switching between windows?
for the page below, built using jqtouch, the page contents disappears when clicking the page switcher. the background remains
http://www.maths.manchester.ac.uk/~dszotten/limmud/iphone/
...
I have something like this
<h1>
<a href="/" title="Home">Home</a>
</h1>
Very simple. IE, FF render it smoothly, underline works fine. Safari does this weird thing I've never seen before, it underlines "Home" only where the font serifs & curves DONT touch the underline, i.e. the letter "H" would get underline between the two "pillars...
I have an old NPAPI plugin for OS X that I'm trying to refit for use with Snow Leopard's version of Safari. My problem is that when I switch Safari to 64-bit mode, it changes the plugin environment to out of process mode (where plugins are hosted by a 32-bit WebKitPluginHost process). And now my toolbar palettes are not visible on screen...
i have a web application that has javscript interspersed through the page. What happens is that safari will dump the source of the javascript code instead of executing it. I can reproduce this consistently.
The page is a mashup of different forms of content:
it loads flash videos using osflv and is generated via a php script on the se...
Mac os-x offers a little green orb of a button in lieu of the windows maximize that is a staple in the windows world. Apparently this button is suppose to resize the window to a "best fit" In the case of our web site, it's not doing that. Is there a setting of some kind that we can use to inform the mac browser of the appropriate size...