google-chrome

Your thoughts on "deploying" a web application to a desktop by wrapping it in a google chrome window?

I have a particular web application that like most others, has to account for different browsers. It's starting to become particularly unwieldy and we've considered just telling users not to use IE so we can be done with it (it's an internal app - we can do this). When I was setting up a Google Apps account, I noticed that you can prov...

store preferences in google chrome extentions

Hi, Using firefox, I can store extension preferences using Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService); What interface can I use to store preferences in Chrome? And do they get overwritten on an extension update? Thanks ...

Google Chrome Extensions: Passing user highlighted webpage text to a browser_action

Hi, I'm working on a Chrome extension where I need to pass highlighted text into a browser_action. I found the following code in a Google Group, and at the time it was written it was still valid - but it doesn't work anymore.. Does anyone know an alternative solution? background.html: <html> <head> <script type="text/javascript"...

Have your WebSite recognized as a Search Engine by Chrome

If I start typing stackov.. in Chrome I can see something like 'Press Tab to search stackoverflow.com'. SO is basically recognized as a Search Engine. Do you have any idea of how to implement the same sort of feature in our WebApp? I think it should be related with OpenSearch <link rel="search" type="application/opensearchdescriptio...

htaccess problem with Chrome, but not Safari?

I have a very simple .htaccess file set up to redirect a 404 to a php script: ErrorDocument 404 /404.php This works as expected in Safari, but does not work in Google Chrome (on a Mac or a PC). I have also put a 404.htm file to see if the php script was the problem, but had the same results. Why would Chrome have a different experie...

Blogger issue with custom background images on Chrome and Safari

This is weird, the site in question is blog.andrebatista.info and it is a hosted at blogger.com. I'm trying to make the blogger template look the same as the one in my main website, www.andrebatista.info. For some reason if I go directly to the blog address Chrome and Safari fail to display all of my background images... all of them. H...

issues with sizing of chrome browser window using window.open()

Hi, I'm having issues setting the size of a popup and disabling the location bar in Google Chrome. I'm using the following: window.open( "site.html", "site", "top=50,left=50,width=20,height=50,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no" ); Chrome doesn't resize the window to the specified height and width,...

Print Background colours in Chrome

Hi I trying to print a php generated document in chrome, on the browser it looks fine Link to the page I want to print But my printer will not print any coloured backgrounds , Can anyone offer any suggestions please ? Thanks ...

SwfObject and Google Chrome

Hi, I have a strange problem with SwfObject and Google Chrome browser. In my webpage is form where user can input link of the Youtube video. After form submit video must appear on the same page in div, near the form. In other browsers it works good, but in Chrome I have to refresh page manually if I want to see video. I do not understa...

UTF8 Bug in Chrome and Safari? Or wrong Apache setup?

Hello everyone So, this page: http://utf8test.n.ceromedia.dk/ has some UTF8 Characters. They display correctly in Firefox, IE and Opera, but doesn't work in Chrome and Safari. Boxes appear instead. I have and when I look at the headers: Content-Type: text/html; charset=utf-8 Can you see what's wrong? Is it something I do wrong, or is...

chrome extension first run

Hi, How can I find out if my extension is being run for the first time / has just been upgraded? Thanks! ...

Javascript: Let user select an HTML element like Firebug?

I want to write a browser (Chrome/FF) extension that needs to select an element on a web page. I would like it to behave like Firebug's element inspector does. You click the inspect arrow and you can then hover/highlight elements. When you click on the element you want, the element is inspected. I'm just interested in the code to all...

Image Upload Servlet not working in Chrome, but works in other browsers

I have tested this servlet and it works well, except in Google Chrome it jsut doesn't display image. What could be wrong in this example code that makes Chrome not to display image? http://balusc.blogspot.com/2007/04/imageservlet.html ...

onblur event not working with google chrome

I am trying to use onblur event to close a window. Its working fine in IE, Firefox and safari, but the event does not trigger in chrome. is that a bug in chrome or a mistake from me ...

Chrome Extension: onclick extension icon, open popup.html in new tab

I have created a chrome extension and managed to open the popup.html file using window.open. however I want to open it in a new tab, I've tried lots of different ways including: <script type="text/javascript" language="JavaScript"> chrome.tabs.create('url': 'popup.html'); Am I just placing the code in the wrong place or is it the wr...

How do i show either the stop or reload button but not both at all times in firefox

I put this in my userchrome.css in my profile directory. #stop-button[disabled="true"] { display:none; } #stop-button:not([disabled]) + #reload-button { display:none; } but only the 1st line works not the 2nd one. ...

Chrome cache won't update in my site

Chrome cache doesn't seem to update while accessing my website. Only when people clear it or press ctrl+F5 they can see the new content. I'm running it on a Wordpress CMS. Does anyone have any idea why is this happening? ...

Chrome/Webkit audio tag bug?

I'm trying to get HTML5's audio tag to work in Chrome. The following code works flawlessly in Firefox, any ideas why it isn't working in Webkit? <html> <head> <script type="text/javascript"> function init(){ audio = new Audio("chat.ogg"); audio.play(); } </script> </head> <body onload="init()"> </body> I...

How do i make form data not disappear after hitting refresh?

I went to test my page on another browser. On google chrome i can fill out a form, hit back and forward and still have the data there. Now i need to refresh the page so certain data is correct (such as session id if the cookie expires or user logs out before submitting). I refresh and lose all data. Is there some option i can set so all ...

Cross Browser Font/Color Issues - Chrome/Safari

Hi, Hoping someone can assist as to what I maybe doing wrong as my css (style) for the website all looks fine in Firefox but in both Chrome and Safari, my fonts are coming out looking black color instead of the grey color as is, in Firefox. Can anyone pls assist as to why the fonts/color are different in Safari and Chrome - it looks li...