google-chrome

HTML5 Video - Chrome - Error settings currentTime

When I try to set the currentTime of the HTML5 Video element in Chrome 5.0.375.86 like: video.currentTime = 1.0; I am getting the following javascript exception: Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1 It works fine in Safari. Has anybody experienced this?? ...

Webkit Develop Inspektor show long strings

When i debug javascript in webkit browser(f.e. Safari), often i have some string variables and value of these variables are often very long, webkit make it shorter with "..." at the end, but i want to see all value of this variables, how can i do this? ...

HTML5 local storage and Chrome

I am looking to build a offline application. I would like to know how clearing of cache works in Google Chrome. If the user deletes his cookies, would his offline content disappear as well? ...

Chrome Uncaught SyntaxError: Unexpected token <

Trying to use cdata to store css but chrome throws "Uncaught SyntaxError: Unexpected token <" for the first line below: var default_style = <![CDATA[ .TTContent table td.Mission img { max-height: 15px;} ]]>.toXMLString(); Does anyone knows why? P.s. the css is much longer in reality Many thanks, ...

onbeforeunload event on iframe is not triggered in google chrome, works in IE, firefox

If you set an unbeforeunload event inside an iframe, this is not triggered when you for instance click through to a link in the iframe. It works in IE and Firefox (not Opera, but Opera does not support onbeforeunload in general AFAIK). Just wondering, am I doing something wrong? Should this behaviour not be possible? Or is it a bug in ...

JQuery Thickbox Ajax Loader Bug in Chrome/Safari

I know it's an old JQuery library, but I am still using Thickbox 3.1 throughout my site. On Chrome and Safari, when you click a thickbox link, the iframed page pops up, but there is no preloader image. It goes directly to the page and waits on the popup until it loads. This becomes a problem when the popup is loading a lot of content and...

Hiding vertical scrollbar of multi-line SELECT in Firefox and Chrome?

This problem seemed quite simple (overflow:hidden, right?) until I couldn't solve it. I have a simple multi-line SELECT with defined size: <select size="10" name="elements"> ... </select> MSIE and Opera show vertical scrollbar only when needed, but Firefox and Chrome always display vertical scrollbar in disabled state. I tried setti...

Chrome Extension: How do I poll RSS Feeds to see if there is new content and display that as a number on the extension icon

I wonder if you could help a little. I want to have a simple Extension, that shows the number of new items in a RSS feed since the extension was clicked. It would poll every 2-3 mins for example and if the RSS feed is updated it should display a count of how many new items there are. I assume it has to set the setBadgeText field. An...

Why don't the links in my Chrome Extension Open?

Hi, I've got a simple little Chrome Extension that displays Links to some RSS Feed Items. https://chrome.google.com/extensions/detail/kphnebohimlmflbecpghgbclhobnphnm?hl=en-GB However, clicking the links does nothing. What am I doing wrong. I'm sure it's very simple. Am I missing any Permissions from my Manifest file? ...

Get URL from current tab in Chrome when the extension is open?

I can get the URL of the current tab if I click on my extension. But if the extension is already open (user clicks on link that loads a webpage in the current tab, I don't get the current url.) Here is the code I am using: <script> window.addEventListener("load", windowLoaded, false); function windowLoaded() { ...

Chrome AS3 URLLoader different behavior on network error

In Chrome upon network error, the event object in error handler is behaving differently than IE and flash player (i.e. directly running the swf, not from the browser). Consider the following test code : private function loadData():void { var loader:URLLoader = new URLLoader(); loader.addEventListener(IOErrorEvent.IO_ERROR, onEr...

Viewing HTML response from Ajax call through Chrome Developer tools?

So in my javascript I'm making an ajax call to a service on my website. Whoops, something fails. No problem. Here's what I'd do in Firefox: Open the firebug console Find the failed Ajax call and click the + sign to see more info. The response tab has the raw HTML. Who wants to read all that? I click the HTML tab. Ah, the nicely fo...

chrome fails on jquery form validation

Can someone explain to me why the form validation fails in chrome? http://tinyurl.com/3yphwpl Pressing the submit should colour empty fields red. I have no idea why chrome fails - would be glad to find a solution... $('form .meet').focus(function() { $('form .required').each(function() { if($(this).val() == '') { ...

HTML5 Filereader and SQL Database Crashes Chrome

I'm not sure if I'm using incorrect syntax, but I am unable to read an HTML5 Web SQL database BLOB entry into a DataURL using the HTML5 Filereader API. Here, try it for yourself on Chrome Dev Channel: http://austin.99k.org/index.html Choose multiple files, then inspect the page and go to storage. You'll see that a database has been cr...

Can safari/chrome/opera make ajax requests while an upload is in progress?

Basically i am making a simple ajax request function upload(){ setInterval(function callMeOften() { $.ajax({ method: 'get', url : 'uploadinfo.php?unique_id=<?php echo $some_uniq_id; ?>', dataType : 'text', success: funct...

Image Loads and then disappears

I'm having this weird problem one of my pages. The page is XHTML valid, loads perfectly fine on Safari, Firefox but on Chrome the images load fine and then disappear instantly leaving that small icon that appears when the image is not found. I tried disabling all the javascript on the page, but still no luck. I can post a video of the be...

chrome re-ordering object keys if numerics, is that normal/expected

i noticed that certain code that evaluates some shoe sizes JSON for an e-commerce site and outputs them on screen is messing up the order in chrome. the JOSN string given can be: {"7":["9149","9139","10455","17208"],"7.5":["9140","9150","10456","17209"],"8":["2684","9141","10457","17210"],"8.5":["9142","10444","10458","17211"],"9":["26...

Google Chrome Extensions - Open New Tab when clicking a toolbar icon

How can I create an extension for Chrome that adds an icon to the toolbar, and when you click it, it opens a new tab with some local web page (for example: f.html)? I saw this question, but it doesn't really explains what should I add in the manifest file... Thanks. ...

Is it possible to make part of the browser transparent to display underlying desktop/windows in a web app?

I am developing a web application (meant to run work as a rich client and able to afford requiring any (even nightly build) version of Firefox of Chromium). The application interface background is meant to be transparent (showing underlying windows or desktop). How can I achieve this? Following standards does not matter but would be nic...

How to open a url while uninstalling Google Chrome Extension?

I was able to do it in Firefox using nsIObserverService. Is there anything similar? Any link to proper documentation will be very helpful. ...