google-chrome

Can vote post stackoverflow in Chrome browser

It seems I can't vote any post in Chrome browser (7.0.517.41). There is just no response when I click vote triangle. Is this a known issue or just a specific issue for my workstation? ...

jquery not working with chrome

I am using following jquery method $('form').submit(function(){ $('#universities_selected option').each(function(i) { $(this).attr("selected", "selected"); }); }); when we submit form this method is called and it checks all the entries in multi select list "universities_selected" and set them as selected.......

Google Chrome Folder Drag and Drop Support

in Google Chrome 7 Folder drag and drop has been added click-here, Can any one show demo code how is that possible? ...

Chrome Canvas Linear Gradient != Firefox Canvas Linear Gradient

Well , the problem is the next : canvas = GreenCanvas.get(0).getContext('2d'); grad = canvas.createLinearGradient(0,0,255,0); grad.addColorStop(0, 'rgb('+r+','+0+','+b+')'); grad.addColorStop(1, 'rgb('+r+','+255+','+b+')'); canvas.fillStyle = grad; canvas.fillRect(0,0,256,34); 256 pixels . from for example rgb(0,0,0)...

Synchronous message passing in chrome extensions?

I'm trying to block a script file from loading on user defined websites. To block a script file I'm using beforeload event and event.preventDefault(); in content script which works fine as long as I already know website list. My problem is I don't know website list in advance, so to get the website list I'm sending a request to backgroun...

Resetting css to browser defaults for a single item in google chrome

My browser extension embeds a div item to webpages opened by browser on the fly. div contains several children items such as buttons, spans, input boxes etc. Problem is when div is inserted to page, page's css affects the div and it's contents. For example if the page has a css such as : span { text-shadow: 1px 1px 1px blue; } th...

Unordered List for CSS Based Tabs - Chrome Issue

Hi all, I'm trying to create a tab based menu using unordered lists and CSS(3). The sample can be seen here : http://prashantraju.com/pat/tabs.html or code here: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; cha...

Is there a css hack for Chrome to make <textarea> a certain height?

I have a <textarea> that appears at different heights with all the browsers. Is there a css hack for Chrome? ...

Firefox thinks <fieldset> is a form element; Chrome doesn't.

In my JavaScript program, I get values from a form through its elements and then print them in order, in an alert. This works fine in Firefox, but in Chrome the order is wacky and it ends with the "Submit" button. I tried getting rid of the fieldset and adjusting the numbers, and it worked, but I liked the fieldset! Also, I can't just m...

Chrome resets the textarea scroll bar (scrollTop) when focus is called

Chrome (7.0.517.41 beta) (sometimes?) resets a textarea's scroll bar (scrollTop) when you call focus. Does anyone know if this behavior is deliberate, a known bug, or neither? It seems quite unintuitive; Firefox keeps it the same. A simple example is below: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...

JavaScript: I have an array. I want to check if the first element is a fieldset.

OK, so here was my original problem. You don't have to read it but in case it helps: http://stackoverflow.com/questions/4001246/firefox-thinks-fieldset-is-a-form-element-chrome-doesnt Basically, Firefox and IE count the fieldset in my HTML as an element in my array, and that screws everything up. But Google Chrome does not count the fie...

Chrome Developer Tools: JS Interpreter?

Sorry if I missed something and this is a silly question...but can I enter arbitrary javascript in the developer tools console (like I can with firebug)? It seems that I can interact with the DOM, console.log, etc., but I'm wondering if there's a way to enter code in to try things out like one would do with an interpreter? EDIT: So I w...

Chrome extension double click on a word.

I would like to know how to call a function once the user double-clicks on any word on the page they are visiting (from a content script). Something similar to Google Dictionary extension. I have inspected the codes in the extension but it was not indented (compiled/minimized) so I've decided to ask this question here. A snippet of codes...

Google API Authentication

Using the Google Javascript API I am trying to authenticate myself (locally) to create a new event in my calendar. However, I get an error (see below) stating that my "next" parameter is bad or missing when I execute the log-in portion of the script. I am following the data api interactive samples for "Create a single event". Update 1: ...

Page is blank in Google Chrome until I clear the cache

One of my clients is reporting that the PHP application page on my server is displaying a blank page on Google Chrome. Other websites are working ok with Chrome. The page also works on FF and Chrome on my PC so I didn't encountered this problem. The client said that the page loads blank until he clears the cache. After the cache clear he...

Firefox shuts down with silverlight

I have two silverlight apps on the same page that use the same methods from the same classes on page load. This causes problems in firefox (firefox doesn't respond and shuts down/crashes), but is okay in IE and chrome. Is there a reason for this? ...

Does AdBlock change how Chrome renders pages?

I'm designing/building a site, and like a good little developer I've been keeping an eye on how things render in all the popular browsers - the current versions of Firefox, Chrome, Safari (for Windows) and Chrome, and Internet Explorer (8, not the 9 preview). Anyway, everything looked absolutely fine in Chrome to me, but a friend of min...

altGR not working on flash on Chrome PC

I made a flash file with a textbox in it, strangely on Chrome on windows altGR is not working, so it is impossible to make @ symbol. Does anyone know how to solve this issue? Thanks Giuseppe ...

Mixed content error in chrome; Site contains no mixed content; Clearing Cache and reopening Chrome does not solve

I am getting a mixed content warning from Google Chrome. It does not show in Firefox or Explorer. I'm opening the site from a test server on localhost running Vista, Apache2.2.16, mod_ssl2.2.16, OpenSSL0.9.8, and PHP5.3.3. All content is forced through https by apache. I am using a self-signed certificate. The entire source code i...

How do I put a number on my Google Chrome extension?

So I'm developing a chrome extension and I would like to put a number on the icon. I'm assuming this is done through the canvas element but I can't find any examples. Anyone have an example they want to share? ...