google-chrome

weird javascript image map behaviour with update panels in Chrome

I have discovered an odd bug in one of my apps when using Chrome. The app displays images with image maps which trigger javascript events. The images/maps are in update panels. When the update panel refreshes, the image changes, and if you inspect the element the image map appears to have changed, but Chrome is still calling the old java...

jQuery events work in Firefox, not Chrome

I registered some click events in my code. They function properly in Firefox (Windows and Mac) but don't execute in Chrome (tried Windows and Mac beta). The purpose of the JavaScript is to show the correct number of text inputs based on the value of the select element. Here is the code: http://www.savetherobots.org/users/jkost/substi...

Is there a size limit to the amount of data returned by an Ajax Request?

I've been having this problem in the Chrome browser. i use jquery's ajax post. Ajax is supposed to return a really long raw html. When I do it in FF3 and IE8 it works fine. But in chrome the data seems to be truncated. ...

Chrome Extension using popup bar

I'm trying to make something similar to the picture below. http://img696.imageshack.us/img696/8844/testi.jpg Unfortunately, I can't seem to get it to work within the extension. I get an error stating there was "Error loading the document". The screenshot above was done using a locally made html with the iBox javascript. Is there any ot...

jQuery, $.load doesn't work in webkit and opera?

Hello, I'm trying to load an external document using jQuery, $.load call. It seems to work in IE6, IE8 and Firefox 3.5, but it doesn't work in Opera and Webkit browsers (Chrome and Epiphany)... all of them report (in their developer consoles) that they load external document successfully, but they don't show its content. Test case is h...

Cross origin XHR form user script in Google chrome

Has anybody had any luck performing cross origin XHRs from a user script in Google Chrome? The requests go through to the server (I cann see them in the logs) but, the readystatechanged event is never fired. Extension permissions don't seem to be doing the trick. Neither is jsonp. ...

Chrome Browser Action click not working

I am trying to create chrome extention, however my browser action click does not work! I've tried pretty much everything. Here is my setup: manifest.json: { "name": "blah", "version": "1.0", "description": "blah", "browser_action": { "default_icon": "icon1.png", "popup": "popup.html" }, "permissions": [ "bookmarks", "tabs", ...

Changing an attribute using jQuery doesn't seem to work in Chrome

Hi! I have this jsbin http://jsbin.com/ehidi. I wanted to change the data attribute and param[name="movie"] value attribute. It seems to work on Firefox but not on Google chrome or Safari (webkit?). Thanks! ...

in chrome browser trying to refresh one frame from other frame in the same window

I am using this method to fresh other frame in the same window using java script function updateTree(val) { if (val == 1) { parent.frames['left'].location.reload(); } else if(val == 2) { parent.frames['bottom'].location.reload(); } } its working in both IE and Mozilla but is not working in Chrome Browser(3.0.195.38). ...

Chrome Userscript Development

I have a private script that I'm trying to get to run as a userscript in Google Chrome, how do I do this without uploading it to a shared site like userscripts? I've got google chrome setup with the additional startup parameter --enable-user-scripts ...

jQuery.ajax call fails inside Chrome extension

I'm porting one of my Firefox extensions to Chrome, and I'm running into a little problem with an AJAX query. The following code works fine in the FF extension, but fails with a status of "0" in Chrome. function IsImage(url) { var isImage = false; var reImageContentType = /image\/(jpeg|pjpeg|gif|png|bmp)/i; var reLooksLikeIm...

Tools similar to HTTP Watch or YSlow for Google Chrome browser

Hi We are testing our app in Google chrome for support. The basic loading is in scrambled and all the pages are in total CSS mess which we need to clean up unfortunately.For this I require a tool which works similar to firebug for Mozilla.Also to check headers, cookies, caching and POST data ,compression, redirection & chunked encoding ...

CSS/Webkit: Background Images for Table Row

For some reason when you apply a background image to a tr in Safari/Chrome it renders it as if the rule applies to every td. Firefox: Safari: I found this article discussing a fix: http://snook.ca/archives/html%5Fand%5Fcss/applying%5Fa%5Fback I was able to get it working in IE with spacer gifs but can't figure it out for Safari....

Listen to KeyStrokes from all the pages in Google Chrome

Hi All, What exactly I am trying to do is add on more shortcuts to Google Chrome browser. As of now I am using window.addEventListener('keyup', keyCheck, false); I post a message then to the background page to carry out the relevant task. I wonder if there is a way to achieve this when the current tab doesnt show any proper page (like...

Meebo bar omnipresent in Google Chrome browser?

I saw that Meebo bar installation is very simple. I went through Google Chrome extensions API documentation and FAQ, my idea is that I'd like to write an extension that loads Meebo bar throughout the Chrome browser, irrespective of whether a webpage has been loaded into the tab. Can this be done? Any ideas on how I can start? ...

Communication between the Options page and Background Page in Google Chrome

Hi All, I am trying out a simple Google Chrome extension, in which I need to communicate between the options page and the background page for getting/setting the options. I have tried chrome.extension.sendRequest(..) and chrome.extension.onRequest.addListener(..) but with no success! Am I missing something? Or should I post my code? ...

A NPAPI plugin doesn't work in Google Chrome

I wrote a small NPAPI plugin using an old Mozilla NPRuntime example as a base. My problem is that it works fine on Firefox and Safari (on Windows), but it fails to work with Google Chrome. I can see the plugin in about:plugins just fine and I see Chrome launching a new process for running the plugin when I open my test page, the plugin ...

Setting focus to an embedded Flash movie/HTML embed element using Javascript/jQuery

Is there a way to set focus to the embed HTML element using JavaScript? Test case: embedded YouTube videos on a page. I have no control over the embedded Flash element. So, is there a way to set focus on it by using only JavaScript? I read somewhere that calling the element.focus() method works only in IE. I need a browser-independent...

Accessing Current Tab DOM Object from "popup.html"?

I'm developing an extension for Google Chrome browser. I could not figure out how to access the current tab DOM object from the "popup.html" page. any suggestions? ...

JavaScript issue with Chrome

I'm not sure how this is Chrome specific, but it is. This is working on every other browser, including all IE* browsers etc. In fact, there's no code here that's client specific. All of this is being generated on the server. Yet after clearing Chrome's cache a million times and restarting it... the following doesn't work: <script type="...