google-chrome

Why do only the controls show up when using HTML5 video on Chrome?

I'm using the following HTML5 to display video, but only the controls show up in Chrome. Works fine in Safari and Firefox: <video width="720" height="480" controls="controls" preload="preload"> <source src="<?php bloginfo('url'); ?>/wp-content/uploads/Reel.ogv" type="video/ogg; codecs=theora,vorbis" > <source src="<?php bloginfo...

Remove favicon using javascript in Google Chrome

How can you remove the favicon using Javascript in google chrome? The goal is to return it to the browser default, which is in this case a blank image. I found this question, but it doesn't work if you leave the link.href attribute as empty. Even if the favicon is set because there is a favicon.ico file on the server, I'd like to remov...

Google Chrome Extensions: How to detect Copy action (Ctrl-C and Edit-Copy)?

How might I detect that a user has selected and copied some content in the currently active tab in a Google Chrome Extension? It appears that there are no suitable Events that deal with the Clipboard in chrome.tabs or chrome.windows. Is there a way to detect such actions through Content Scripts? ...

Where do Firefox and Chrome (etc.) get their Geolocation data from?

Recently, I've begun to see the geolocation API at work in my browsers. The crazy thing is, they're the most accurate Geolocation I've ever had. I live in va and most other geolocation services make it look like i live in new jersey or chicago. So whre do these browsers get this data? ...

Webkit browsers rendering CSS different than Mozilla Firefox...Why??

I'm styling a form that was already marked up (made some markup changes), and I normally work in Firefox to style so I can use firebug and the web developer toolbar. On this project, I noticed that my styles are displaying quite differently for one particular area (several elements) in webkit based browsers Chrome and Safari, than in Fi...

jQuery('body').text() gives different answers in different browsers

My HTML looks like this: <html> <head> <title>Test</title> <script type="text/javascript" src="jQuery.js"></script> <script type="text/javascript"> function init() { var text = jQuery('body').text(); alert('length = ' + text.length); } </script> </head> <body onload="init()">0123456789</body>...

How to force Google Chrome to show backtrace on exception?

Is it possible (using plugin or maybe some config option) to make javascript error console to show error backtrace? ...

ASP.NET - Google Chrome caching DropDownList selections

I'm experiencing what seems to be a caching issue with Google Chrome and Safari on my cart page. In the cart there are 2 dropdown lists. When you hit the checkout button after changing the values in the dropdown lists, it commits what's selected in the lists to the database. It's a little bit hard to explain the unexpected behavior so I...

Save HTML 5 canvas to a file in Chrome?

Save PNG (etc.) work in this demo in Firefox, but not Chrome. Convert to PNG (etc.) work in Firefox and Chrome. Is there a way *in Chrome* to save an image of a canvas element to a local file -- or to a server? ...

remember passowrd works in ff but not in ie and chrome

Hi, It seems that my html login form supports "remember password" in ff but not in ie and chrome. Can anybody tell me why? Here's the code: <form name="login_form" id="login_form" action="" method="POST"> <div class="login_line">name<input name="user_name" id="user_name_id" size="16" maxlength="16" value="" type="text"></div> <...

MicrosoftAjax date.format function not working in Chrome

There is a bug in MicrosoftAjax.js String.format function when using Chrome 5.0.375. The function randomly returns 'undefined' for some dates. I went around that by using jquery date formatter that comes with datepicker. ...

HTML Chrome Audit Specify Image Dimensions

I just started using the chrome developer tools for some basic html websites and I used the audit tool. I had two identical images, one with the height and width attribute, and one without. On the Resources section, both the latency and the download time were identical. However, the Audit showed Specify image dimensions (1) A width an...

How do you implement file drag-and-drop upload in Google Chrome?

I've found several tutorials online about implementing file drag/drop with Firefox 3.6 (they involve using a FileReader object to get the file binary data). However, I cannot create a FileReader object in Chrome on Windows or Mac. Does anyone know what the API is to read and manipulate data from a drag-and-dropped file in Chrome? If I...

Chrome Extension: How to display tab objects?

I am in the process of designing an extension for Google Chrome that helps to organize tabs (I know, there are many that already exist; that doesn't matter). I wish to open a popup window that will display tabs as objects (i.e., in the same way that it is displayed in the tab bar at the top of the browser). One way of doing this would ...

Why can't I get XSLT to work in chrome?

I have a XSLT sample copied straight from http://www.w3schools.com/xsl/xsl_transformation.asp, which I can't seem to view in Google Chrome. However, it seems to work fine in IE. Does anyone know why this would be? EDIT: The online version works fine, but the local copy does not. ...

How to pack a Chrome extension on Mac OSX with commandline??

Hi I am trying to automate my Chrome extension building process on OSX 10.5. I am unable to find a similar command for OSX like this for Windows chrome.exe --pack-extension=c:\myext --pack-extension-key=c:\myext.pem Is it even possible on OSX? As there is no mention of it in the documentation. Please guide me. Thanks in advanc...

Free Tool(s) / Tips to assist me in filling out forms on Win7?

I am doing some web development on some long forms. There are many fields for me to fill out to get through the form. Instead of typing out the same things every time (contact information, address, business information) I'm hoping there is some tool out there / combination of tools that will assist me in filling this out. Requirem...

Can I clear a webapp in Chrome?

I've written a webapp that has a manifest that includes all the javascript and images that it requires. Unfortunately, even when I change the manifest file, it doesn't seem to reload the javascript. Is there a way to delete the webapp completely from Chrome? Clearing the browser cache doesn't seem to work. I'm running Chrome 5.0.375.5...

Can you determine if Chrome is in incognito mode via a script?

Is it possible to determine if Google Chrome is in incognito mode via a script? Edit: I actually meant is it possible via user-script, but the answers assume JavaScript is running on a web page. I've re-asked the question here in regards to user scripts. ...

HELP! How can I display one style in Safari and a different style in Chrome?

My client is starting to get antsy....so any help would be greatly appreciated. I am having issues with my secondary page header images shifting. It is displaying correctly in Firefox, I haven't been able to check in IE yet w/out access to a PC. It was displaying correctly in Chrome, but shifting in Safari. I added the "webkit hack" ...