google-chrome

Question regarding the use of iframes in Safari and Chrome's startup pages

If you have ever used a new release of either Chrome or Safari, you know that when you add a new tab, the default screen is a grid like setup with your most favorite links sitting there waiting to be clicked on. What makes it even nicer is the graphical interface, with actual pictures of the websites they are representing. I am looking...

jQuery Dynamic Page Loading wont work, not sure why any ideas?

Live demo here <- http://webcallonline.exoflux.co.uk/html/ $(function() { var url = $(this).attr("href"); $("nav").delegate("a", "click", function(event) { event.preventDefault(); window.location.hash = $(this).attr('href'); $("#main").slideUp('slow', function(){ $("#main").load(url + " #main", fun...

jQuery .append() not working in IE, Safari, and Chrome

So I'm using jQuery's AJAX function to read some XML for me and it's worked just fine. But now I'm trying to manipulate the display property of 4 different dynamically generated divs when mouseup is triggered from option items. The size and x/y of the divs are determined by the XML and are parsed through. My problem lies in the fact tha...

Fail to load NPAPI plugin in Google Chrome on Mac OS X

I have been trying to get Google Chrome (6.0.401.1 dev) on Mac OS X to load an NPAPI plugin without success so far. I have been working around the npsimple example from here: http://git.webvm.net/?p=npsimple. Using gcc on Mac and VC++ 2008 on Windows I managed to get it running on Safari and Firefox on Mac OS X and Firefox and Google Ch...

How to draw a web page into a memory DC ?

I would like to trick Chrome in to rendering its tabs in some memory device context of mine. Is this possible at all ? Thank you ! ...

What is the name of google chrome rss plugin?

I want to detect if the user has already installed google chrome rss plugin or not. I want to do this using javascript like this : if (navigator.plugins[rss_chrome_plugin _name]) { // do some stuff if it is installed } The problem is that I don't know the name of the plugin.Any help? ...

jquery hover not working properly other than IE6

Hi All, We developed navigation bar using jQuery 1.4.2. Functionality is to show submneus for different menu items when user hovers on it. It is working perfectly in IE6 but we see some weird problems in other browsers. In Firefox, when the page gets loaded, it works fine but when we hit f5, the submenu wont appear on hover. To get su...

jQuery doesn't return proper body height on document load - Their bug or mine?

When I use $(document).ready(function() { var bodyHeight = $("body").height(); console.log(bodyHeight); }); I get a really wack number for body height. I then run $("body").height(); in the console and get the right height. Something seems fishy about the $(document).load doing this... Yes my CSS works fine and all, so is this ...

Use JavaScript to place cursor in a Chrome text input element

I've been working on sending text to an input element in Chrome and I noticed that, unlike in IE or FF, calling .focus() does not put the cursor in the text area. So does anyone know of an alternative for placing the cursor on a Chrome input element? ...

Making text align equally in both IE and Chrome

<style type="text/css"> h2{ font-size:13px; line-height:16px; color:#000000; margin:0; padding:6px 22px; font-family: 'Times New Roman'; } div{ border:1px solid black; } </style> <div> <h2> 様々なツールを使</h2> </div> Pasting the above codes here: http://htmledit.squarefree.com/ You will see that the text stays a little bit higher in the...

What plugins improve Google Chrome as a web developer's browser?

The usual recommendations for a web development and debugging web browser are Firefox/Firebug or Safari/Web Inspector. But I like Google Chrome, and would like to use this as my primary development browser. What plugins or tools should I get to optimise my web programming experience with Chrome? ...

Event on HTML selection

Is there an event for situations where something is selected on an HTML page like arbitrary text within a span element? Does such a thing exist or does one need to poll at regular interval & analyze the window.getSelection() ? I would like to trap this event type from within a browser extension (Chrome). ...

Scroll bar issue in google chrome

I have the following html structure <div style="overflow-x:auto;overflow-y:hidden;position:relative"> <div style="position:absolute; top:0;bottom:0;padding-top:30px"> </div> </div> When the inner div expands the outer bar gets its scroll bars. But the scroll bars appear on top of the inner div (blocking its contents). Work...

website using url-rewriting does not load in Chrome!

I have a PHP page called contact.php, and a rewrite rule in .htaccess RewriteRule ^(.*).html $1\.php [L] that gives contact.php when asked for contact.html. All the pages works (on Firefox and IE), but when I enter on the site with Chrome it loads only the index page and the others don't work at all - I receive a 404 error. I don't t...

Random strange behaviour on Google Maps v2

hi, I'm having a particular fight with Google Maps v2 on Chrome. The map is shown well on all browsers except Chrome, that without any particular reason, it does any of these things as you can see on the image: Moving the center to the south Showing the markers to the right, but if i move the map, they moved too to the next section of...

Google chrome, native client support and development

Hey guys, I would like to write a small C++ app and run it on chrome using the native client API. I have a few questions though: 1) I compiled the examples on Ubuntu and ran the code on firefox but can't run it on chrome (using version 5.0.342.7 beta) Do I need to install something? An extension/plugin? 2) I can't find a single onli...

Problems with jQuery load and getJSON only when using Chrome

I'm having an issue with two jQuery calls. The first is a "load" that retrieves HTML and displays it on the page (it does include some Javascript and CSS in the code that is returned). The second is a "getJSON" that returns JSON - the JSON returned is valid. Everything works fine in every other browser I've tried - except Chrome for e...

Firefox add-on tab-specific buttons and scripts, similar to Page Actions in Google Chrome

I want to write a Firefox extension that acts exactly like the built-in RSS feed scanner (as an exercise). It should do the following: On each new page / tab load, it should scan the content of the page for RSS feeds If there are RSS feeds in the page, it should put a button in the location bar that the user can click On clicking the b...

Communicating between 2 Firefox Add-Ons (Cross-Extension Communication)

How do I pass data and messages between 2 Firefox Add-Ons (the way Google Chrome does it, here)? ...

How to test chrome extensions?

Is there a good way to do this? I'm writing an extension that interacts with a website as a content script and saves data using localstorage. Are there any tools, frameworks, etc. that I can use to test this behavior? I realize there are some generic tools for testing javascript, but are those sufficiently power to test an extension? Uni...