google-chrome

How to debug web workers

I have been working with web workers in HTML 5 and am looking for ways to debug them. Ideally something like the firebug or chrome debuggers. Does anyone have any good solution to this. with no access to the console or DOM its kind of hard to debug iffy code ...

Gmail seems to capture all keyboard events. Any way to go around that?

I'm writing a Chrome extension that launches a script with a keyboard shortcut. It works fine on most pages but I realized that on Gmail it doesn't: it seems that all keyboard events are captured by Gmail and are not bubbled up to my function. I have a content script (in Chrome extension this is added to any page you want) that has (sim...

style.display='none' doesnt work on option tags in chrome, but it does in firefox, anyone know why? or a workaround?

ok, heres some sample code that demonstrates the problem. if i click the button in firefox, the first option disappears. if i click the button in chrome, nothing happens, or rather if i inspect the first option, it does have the attribute "style='display:none'" but the option itself on the html page is not hidden. <form> <select> <optio...

CSS overlay troubles with google chrome

Hello, I'm using google chrome 5.0.307.9 beta under ubuntu 9.10 and it seems not properly render css opacity. Using "opacity: 0.5;" under both windows chrome or windows/linux firefox make my element half transparent, but this attribute seems ignored on linux chrome. This was working on previous versions. Any ideas about what's going o...

How does Chrome knows when Flash crashed?

Hi all unfortunately many times the Flash plugin at Google's Chrome crashes. But fortunately, they just present a message box and a sad face. My question is, how do they do it? my first thought is that they use structured exception handling but then again, how they know its Flash that crashed? thanks for any ideas! Lior ...

Is it possible to open custom URL scheme with Google Chrome?

I have protocol (like http) with scheme managed with 3rd party App registered in Mac OS X. I.e, x-someapp://someaction or something like that. How can I open this URL with Google Chrome? By default, Chrome starts searching in Google engine instead launching App and passing URL handling to it... Safari launches some registered App. And ...

jQuery fadeTo not working in firefox/chrome

I'm trying to do a simple example using jQuerys fadeTo method. It works as expected in IE8, but doesn't fade out Chrome/Firefox 3.6. Niether the fadeTo call or the one in the button click work in chrome/ff. Any ideas? Code: $(document).ready(function () { $("img, div").fadeTo("slow", .5); $("input").click(functi...

Make texarea size not adjustable in google chrome

By default, the size of textarea inputs in google chrome is adjustable in the browser. Is there anyway to make it not adjustable? ...

jQuery SelectedItem Population

I have a drop-down box that populates itself based on the value of another drop-down, using jQuery's ajaxy goodness. I do this with the $(document).ready function, with this being the relevant code... $(document).ready(function() { populateFirstDropDownBox(); $("#firstBox").change(function() { populateSecondDropDownBox($("#firs...

jquery ajax and google chrome

$(document).ready(function(){ $("#home_tab").click(function(){ $("#content").hide(); $("#content").load("php/media_body.php"); $("#content").show("slow"); }); I'm using the jquery ajax library to pull some html content from a php file on my server. The above code works beautifully in IE and Firefox but...

non-Flash games in safari/firefox/chrome

Suppose I'm writing a 2d tile based MMORPG. Furthermore suppose I hate flash. Lastly, suppose I only need my code to run in the latest safari, latest firefox, and latest chrome. What are the limits to what I can and can't do? (Are there examples of good game engines that only require a recent web browser)? Thanks! ...

window.location Does Not Work on Chrome Browser

I have a javascript function that uses window.location. It works fine in Firefox and internet Explorer, but not in Chrome. I've tested this on both Ubunutu Hardy and Windows Vista. What is the underlying problem, and how can I circumvent it? ...

Chrome doesn't render span in div properly

When a span is nested in a div with a different background there's a small gap above and below it. FF doesn't render like that. Here is the html : <html> <body> <div style="background-color:magenta"> <span style="background-color:cyan">Nested</span> </div> <div style="background-color:cyan">Can you see that magenta line ?</...

Want to show svg in an iframe and show a scrollbar to let users to pan the image in chrome/ie8

html: <iframe scrolling="yes" src="svgfile.svg"></iframe> svgfile.svg: <svg width="2636pt" height="2478pt" viewBox="-1 -1 2635 2477" xmlns="..."> <g id="node1" class="node">....</g> ... </svg> This won't show the scrollbar in chrome/ie8... This was OK in FF... Other solution not using iframe can be acceptable. Or ju...

Does the midori js framework support chrome browser?

Does the midori js framework support chrome browser? ...

Tornado streaming: flush() lagging on Safari & Chrome (Firefox is fine)

On Safari and Chrome, I won't be able to see flush() updates updating live on my page until after a certain number of flushes, or sometimes it hangs altogether on Safari. Flush updates work immediately on firefox though. I'd like to know a couple things: 1) Why does Safari and Chrome lag out at the beginning with the flush updates, an...

Validator on UpdatePanel causes Chrome not to exit UpdateProgress.

I have encountered a weird problem that does not exist in Firefox or IE. I have a user control that has a text box and a required field validator. When the user control is hosted in an update panel, the UpdateProgress tag never closes the first time that the UpdateProgress is triggered on the page when the page is viewed in Chrome. Ha...

document.hasFocus() for chrome

Does anyone know what to use instead of hasFocus() for Chrome? I want to know when my Chrome tab has focus or not, so I can blink an alert message in the title. Cheers ...

Chrome Developer Tools, using inspection functions inside script tags.

I've looked around on google and I cannot figure out to use for instance the dir() function within the web page I'm working on, I would like to have it spit out debug statements, as I'm used to doing with Firebug. A clearer example What I want is to do the following. <script> a=document.getElementById('gabber'); dir(a); </script> ...

Chrome not sending POST requests on localhost, Firefox works fine

I have copied the simple Django forms example exactly, running on localhost. The basic contact form example should submit a POST request when you click the Submit button. I'm running Chrome on Mac Snow Leopard, and whenever I submit the form, the page simply reloads with an empty form: I can see from the runserver output that it's not s...