google-chrome

jQuery Can't $(...).load() the head title in Chrome

I need to get the title of a remote page by URL. The code works in FFX, but not chrome. Anyone have any ideas? $(document).ready(function(){ $("title").remove(); $("head").load("http://www.latentmotion.com title"); }); ...

Problem setting currentTime in Chrome

I'd like to be able to step forwards and backwards through an Ogg/Theora video by incrementing currentTime with code like this: videoEl.currentTime = videoEl.currentTime + DELTA; This works well in Firefox, but in Chrome the display of a new 'frame' is erratic, sometimes with a resolution of less than a second. Is there any way aroun...

Would popup blockers stop a URL which pops up only when the user clicked on something?

I'm currently building a web application that can can track a users actions on a particular website and pop a URL if the user takes certain actions, such as: first click, responding to a question by clicking yes / no, clicking a submit button, or exiting the site. It is important that these URLs are served to the user and are not bloc...

javascript - Google Chrome cluttering Array generated from .split()

Given the following string: var str = "one,two,three"; If I split the string on the commas, I normally get an array, as expected: var arr = str.split(/\s*,\s*/); Trouble is that in Google Chrome (for Mac), it appends extra properties to the array. Output from Chrome's debugger: arr: Array 0: one 1: two 2: three co...

How to grab data from webpage in Chrome and output into Chrome extension popup?

For a Google Chrome extension, none of the Javascript I write to manipulate the DOM of the extension popup.html seems to have any effect on the popup's DOM. I can manipulate the DOM of the current webpage in the browser just fine by using content_script.js, and I'm interested in grabbing data from the webpage and outputting it into the ...

Can I expect similar CSS and JavaScript behavior with Chrome 5 on Windows and Mac

Chrome 5 was recently released for Windows, Mac, and Linux, all with the same version number. Are there significant differences in behavior (CSS or JS) between the different platforms, or do they behave pretty much the same? I'm not interested in how they handle extensions -- just handling of HTML, CSS, and JavaScript. ...

Is it possible to determine if Chrome is in incognito mode via a user-script?

I asked this question before but didn't make it clear that I meant in user script, not in JavaScript from a webpage.So I'll be more clear now. Is it possible to determine if Google Chrome is in incognito mode via a user-script (basically a script run as an extension in the browser, not a script being run on a webpage)? ...

Customize scrollbar in Page Action for Google Chrome extension

How do I customize the scrollbar (eg. make it black and thinner) for the Page Action popup for a Google Chrome extension? For reference, here is what a Page Action is: http://code.google.com/chrome/extensions/pageAction.html ...

How to get the src for a video with multiple sources?

I'd like to be able to get the src value that is actually used for a video element like the following: <video> <source src="foo.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <source src="foo.webm" type='video/webm; codecs="vp8, vorbis"'> <source src="foo.ogv" type='video/ogg; codecs="theora, vorbis"'> </video> In Fir...

jQuery val not working properly in Chrome

I have a simple jQuery function: $('#selectable1 span').live('mousedown', function() { var ff = $(this).css("font-family"); $("#family").val(ff); }); When a span element is clicked (mousedown) an input (#family) gets its font family value. It works in FireFox but in Chrome it works only for font families composed from ...

Can't set a cookie in Chrome 5

Hi, Since today I am facing a tricky issue with Google Chrome that I've just updated to v5. I have a user login process running on my website. Everything works fine on FF 3.6.x and IE 7, but I just can't set any cookie in Google Chrome 5. I'm mentioning 5 because it worked very well before on v4. My PHP script looks like that: $cook ...

Google Chrome form autofill and its yellow background

Hello ! I have design problem with Google Chrome and its form autofill function. If Chrome remembers some login/password it changes a background color to a yellow one. Here are some screenshots: How to remove that background or just disable this autofill ? ...

Tablesorter Pager not working in Safari or Chrome

Hi all. I am building an app using the tablesorter plug-in and it's pager plug-in. Things work perfectly fine in Firefox and IE, but in Safari (4.0.4 on a PC) and Chrome () I get errors when it hits the following code that binds the tablesorter pager. I took the pager binding out and it worked, so something is going wrong somewhere in th...

New chrome release has broken my CSS

I have just installed the new Chrome (5.0.375.55) on xp. It has broken my layout though... don't tell me Chrome needs conditional statements now!? If you look at the sub menu you will notice it looks ok in every browser except this latest release Chrome. Bikram Yoga link Does anybody know a way targeting just this version of Chrome?...

Uncaught Error: INDEX_SIZE_ERR

I am drawing on a canvas with the following line: ctx.drawImage(compositeImage, 0, 0, image.width, image.height, i, j, scaledCompositeImageWidth, scaledCompositeImageHeight); This code has executed error free on Safari, Chrome, Firefox (and even IE using google's excanvas library). However, a recent update to Chrome now throws the fol...

How to create a sidebar(right-side) in google chrome ?

It seems that it is not possible, but if anyone as a hint on how to create a right-sided sidebar (like a iframe) in google chrome, any hint will help. Thanks. ...

Delay garbage collection?

I'm using chrome (the dev version for my mac). I was looking at the timeline for my page loading and I saw that there is a 150ms delay due to some garbage collection taking place while loading the page. http://cl.ly/cce10619c698a5b276e2 It's the yellow line. I was curious if there's any way to stop this, delay it, whatever so I get t...

jquery code not working in chrome

This code works is FF and IE but not in Chrome. Any help would be greatly appreciated. Thank You! Realized that this code works fine on its own but when its hosted on this page (http://www.automotive-fleet.com) it doesn't work in Chrome and Safari. I can't figure out why. Any help would be appreciated. here is the html <div id="popul...

WebKit and Opera won't load from this server when it's in a frame

This site loads fine in Firefox, but in WebKit browsers (Safari and Google Chrome) it won't load the frame, and in Opera I get this error: "The Web site does not permit its content to be displayed in a frame. It must be displayed in a separate window.". I don't expect to be able to actually fix this, as I don't have control over the fram...

Chrome developer tools keeps automatically switching to script view

I'm, trying to inspect web page elements using chrome developer tools but every time I switch to the elements tab (or any other tab for that matter), within a couple of seconds, the view automatically switches back to the Scripts tab. This seems to be being triggered by javascript events on the page... possibly exceptions, but it's infu...