google-chrome

Why might Chrome return an incorrect MIME type error for one of my JS files when they are all served the same way?

I'm getting an error reading one of my JavaScript files ("Resource interpreted as script but transferred with MIME type text/html.") from Google Chrome. The other three JS files that my page calls load just fine, and I'm confused about what is causing this problem since they are all marked up in exactly the same way (and each has a "typ...

How to convert ActiveX control to NPAPI plugin

I have an ActiveX control which is designed to * Search for nearby wireless networks * Create a wireless access point * Manage network adapters I would like this plugin to work in Google Chrome/Firefox. In IE; I can use the following code to embed: <object classid="clsid:33FC4347-8118-4DB5-BFBE-8FCF2C96A997" width="32" height="32" id="...

google chrome drag textfield

Im making a website, in one of my pages im using a textarea, but when im look in google chrome i can drag the textarea very big. is there a way to disable this? THNX! Stefan ...

Regular Expression literal with /g modifier and eval - weird behaviour in FireFox and Chrome

I was experiencing some weird behaviour in some of my javascript code, but only in Firefox and Chrome. IE is fine. I have isolated the problem and created a little page so you can see the behaviour yourself. Essentially, it appears as if the Regular Expression object in MethodC is being reused across method calls to MethodC, even thoug...

Why is this slideshow flickering?

Hi All, I have posted a sample jQuery slideshow on my blog here: robertmarkbramprogrammer.blogspot.com/2010/09/jquery-slideshow.html In Chrome, it is flickering on each picture. In IE and Firefox it looks fine, and in the standalone version it seems ok too (even on Chrome): http://robertmarkbram.appspot.com/content/javascript/jQuery/ex...

Problem with fluid layout in Chrome

I have two columns. One with fixed size (220px) and the other that fills up the remaining space. <div id="left-panel"> </div> <div id="main-panel"> Content </div> CSS: #left-panel { float: left; width: 220px; height:auto !important; height:750px; min-height: 750px; border-right: 2px solid #d1d1d1; ...

Strange Ajax behavior in JQuery in Opera and Chrome.

I have this functions //send JSON-RPC request var json_rpc = (function() { var id = 1; return function(url, method, params, success) { if (typeOf(params) != 'array') { params = [params]; } var request = JSON.stringify({ 'jsonrpc': '2.0', 'method':...

How can I find a user's GEO Location using ASP.NET?

How can I get hold of a user's GEO location within my ASP.NET application? I've noticed on browsers like Firefox and Google Chrome, I (as the user) am prompted as to whether or not to allow the site to have access to my location. How can I achieve a similar thing to this? ...

First Two out of five images don't get onClick, but only in Chrome

Observe the following painfully simple construction: <div id="home_thumbnails"> <img onClick='loadFeature(0);' src='image_1.jpg'> <img onClick='loadFeature(1);' src='image_2.jpg'> <img onClick='loadFeature(2);' src='image_3.jpg'> <img onClick='loadFeature(3);' src='image_4.jpg'> <img onClick='loadFeature(4);' sr...

Cross Browser Debugging between Firefox and Safari (or Chrome)

I've noticed that Safari and Chrome behave the same when it comes to HTML and CSS. However, there are differences between Firefox and Safari (and hence, Chrome as well). Sometimes things can look great in Firefox, but the CSS misbehaves in Safari and Chrome. The cause of the mis-behaviour can be attributed to "anything" (as opposed t...

Webkit and SVG filter support

I'm trying to get a complex SVG filter to produce results in Webkit. The filter is quite crowded as you will see below, but it renders a nice fractal-generated map, and does it well in Mozilla. I'd like to get Webkit to do the same. The Wikipedia page on browser support for SVG says that Webkit supports SVG filters on nightly builds, bu...

Page works in IE and FF but not in Chrome or Safari

Can someone tell me what I could be doing wrong. The following page works fine in IE8 and FireFox but elements of the CSS don't seem to be being respected in Chrome and Safari. Thanks. page at: http://www.diabetesgoaltracker.com/home.html ...

How do I have a link from a Google Chrome extension popup open in the same tab underneath?

I want the link to appear in the tab beneath resulting in the popup going away. Currently have this: //Open links in tab from popup if (document.location.search == '?popup') $('a').attr('target', '_blank'); But the _blanks opens in a new tab. Any help would be greatly appreciated - thanks! ...

Can't get ctrl+enter to work in chrome mac for as3 flash app

Ctrl+enter works in all browsers on windows and mac except chrome mac. This is a flash as3 app. Here is my code: stage.addEventListener(KeyboardEvent.KEY_UP, upListener); private function upListener(e:KeyboardEvent):void { if(e.ctrlKey && e.charCode == 13) { //do stuff } } One thing I notice is that the mouse cursor ...

Button in popup that get selected text - Chrome extension

Hello, In my popup.html in my chrome extension I have a button that will get the selected text in de webpage and put it in my textarea in the popup.html. First I select text in a webpage I click on my extension. An popup will show with a textarea and a button. When I Push the button the selected text will show in my textarea. is so...

Does Google Chrome have APIs to access it's downloads page?

Am I able to "tap into" Google Chrome's Downloads page through an extension/add-on? I want to write an extension that needs the file names (or paths) of all the files that are currently being downloaded by the user. Will this possible? What APIs should I be looking at? It is quite tricky to search for this and I don't know where to begin...

Custom Domains in Chrome

I've got a vhosts file set up for my local machine where I use a made up domain (cascade.mtn) with a bunch of subdomains (rainier.cascade.mtn, hood.cascade.mtn, etc). In every other browser I can hit those domains just fine but in Chrome it just takes me to a Google search. Is there anyway to force Chrome to recognized the cascade.mtn d...

How can this JavaScript snippet be improved?

Hi, This code (below) comes from an Open-source project (SemanticScuttle) I slightly modified the original code, attempting to convert a bookmarklet, into "web usable" Javascript. Current Status: Google Chrome = Works perfectly! Fiefox = Functional, but opens in a full sized tab, instead of the pre-defined size. IE = DOA = Not functi...

web element inspector (safari / chrome) dimmed css properties

Silly web element inspector (safari / chrome) question, but I can't seem to figure out why some properties are dimmed. ...

Jqplot is working in Firefox but showing blank page in Safari and Chrome

I have used jqplot and build a graph with use of jQuery and Javascript http://server.dotsquares.com/cstik/chart.html which is working fine with Firefox but not showing anything in safari [edit Marcel K.: neither in Chrome]. please suggest me what extra code should i place to make it done. Thanks ...