google-chrome

Where does an OpenSearch OSDD document go?

Does anyone have a clue what I name this XML document and where to put it now that I have it created? I would like to provide an OSDD (OpenSearch description document) on my site so that Google Chrome will automatically pick up search capabilities for it. Google tells me that's how it is done, but not where it should be hosted. I also c...

How does Google Chrome affect product owners developing web apps?

If my app has been tested in Firefox 3, Safari 3 & IE 7 will it need additional testing for Chrome? If there are areas that'll need further testing -- then are there any online guides I could share with my designers & developers? At what point will Chrome be considered to have sufficient market share to be treated as a mainstream brows...

Problem with background color and Google Chrome

Sometimes I get a broken background in Chrome. I do not get this error with any other browser. This is the simple CSS line responsible for the background color of body: body { background: black; color: white; font-family: Chaparral Pro, lucida grande, verdana, sans-serif; } This is exactly how I get this problem. I click a...

How to hide new elements in jQuery?

I have this code: var $msg = jQuery('<div></div>') .hide() .appendTo(document.body) ; if ($msg.is(":hidden")) { console.log("hidden"); } else { console.log("visible"); } When run, it logs "hidden" on Firefox, but "visible" on Google Chrome. Is this a bug, or am I doing something wrong? ...

jQuery: Why do hidden table cells get (sort of) shown again when I measure their height in FF3 and Chrome

I can successfully hide some table cells using jQuery. When I then measure the height of a hidden cell, the space that the cell would occupy if not hidden appears as blank space, pushing all the remaining cells in that row across by one column. It's as if the the cell is reinserted in the table flow, but its content is hidden. The exampl...

How to get jQuery effects working on Firefox and Google Chrome?

I'm poking around with jQuery and the fadeIn & fadeOut effects. I have the following code to display and to hide a div with a message. ` <script type="text/javascript"> $(document).ready(function() { $("button").click(function() { $("#upd").fadeIn(3000); $("#upd").fadeOut(20000); }); }...

Odd Autocomplete + Password Remembering Behaviour

I'm having a hard time figuring out how Firefox and Chrome determining what fields are for a password and how they autocomplete them on other forms. For my login form, I have this: <p> <label for="login_email">Email:</label><br /> <input id="login_email" name="login[email]" size="30" type="text"> </p> <p> <label for="login...

How to build a Google-chrome tabs and menubar interface in Java Swing?

Does someone know an open source project or code snippets, which demonstrate how to create a google-chrome like interface with similar tabs and toolbar in Swing? I know, that I can use JTabbedPane, but I'm thinking of an interface which looks and feels very similar to the google chrome "tabbed browsing". ...

Chrome or Firefox (or browser-agnostic) for an intranet app?

If you were designing a core business intranet app for a small business, and wanted it to be as responsive-feeling as possible, where the staff are indifferent to being stuck with a certain browser, would you design for Firefox, Chrome, or test more widely than you need to just to avoid lock-in? Are there other factors you'd consider be...

Margin ( or padding not sure ) problem in Chrome/Safari

Heres my link ( BE WARNED, its got autoplay audio - sorry...!) link text Its not the usual 'looks fine in FF but bad in IE' problem :) It looks fine in IE6/7 Firefox, but in Chrome & Safari it has big problems with what looks like either margin/padding, or positioning. ( That narrows it down eh? ) If you have a look you'll see what I...

Google Chrome extension for Click Once?

I have a client that wants to use Google Chrome for an internal web app we've developed(I don't blame him, I really enjoy using chrome!) The problem is we have a win forms app that the users can launch from the browser, deployed using click once. I've known for a while that chrome doesn't support click once, but I figured by now there ...

Asp.Net, DropDownList, AutoPostBack and Google Chrome

I've a simple asp.net page (framework 3.5) and an UpdatePanel with a series of dropdownlist I want to populate asyncronously. All works fine in all major browsers (Opera, Safari, IE6, IE7, FF3), but not in Chrome. Chrome seems to ignore the SelectedIndexChanged event who had to make the asynch request. Anyone knows a simple workaround ...

How do you manipulate selected text via a Firefox extension

I'm working on a Firefox extension that will manipulate highlighted text. On a stand-alone page, I can get the selected text with: selectedText = document.selection?document.selection.createRange().text; Then I'd manipulate the selected text with string operations on the textarea in question. Unfortunately, that isn't possible for a...

Chrome/Safari ignoring my reset rules?

link text In Safari/Chrome it has extra spacing on the left/top of ol's, blockquotes and other elements. I can't isolate this, however when I look in the web inspector in Safari, its picking up a margin-left: of 26px on some elements. I have not specified any such rules, so is this a bug in Web inspector? Can someone enlighten me as t...

Global console object in Safari/Chrome being reset.

I'm working on a jQuery plugin and am trying to make a uniform, cross-browser console object for debugging. The plugin will utilize Firebug or FirebugLite but also allows the user to choose the browser's native console object, if available. For Safari/Chrome, the console methods accept only 1 argument, while the Firebug console API (whic...

Getting confused about Expires headers when testing in Chrome

Getting very confused about 'Expires' header here! Sometimes it works as expected - and some times not. I am using the following code to set my expiration headers. Note this is being done with ASP.NET in an MVC custom attribute - thats not really relevant here - but explains where 'filterContext' is coming from. HttpCachePolicyBase cac...

How to access programmatically to a style sheet in webkit engine (Chrome/Safari)

In IE with document.getElementById("css_id").styleSheet or in Firefox document.getElementById("css_id").sheet I've a style sheet object to manipulate but in Chrome and Safari browser that property there is not. How can I get that object? Thanks ...

.Net Control to do Google Chrome Docking

I like the way that Google Chrome allows you to grab tabs out of a window to create additional windows. Does any one know if there is way to do this style of docking and undocking in my .Net application? Or better yet does any one know if there is a .Net component that can provide this type of functionality? ...

IE and its problem (No Firebug-like Debug tool)

Dear all I am using PHP/JQuery and Javascript. I am testing the javascript in Firefox using firebug. Is there anything similar for IE? I am struggling to get it to look/work the same in IE 7 and 8. Are there any tools to solve this? Or standards that i need to follow? Any ideas? And also if anyone can suggest a debugger, it would be ...

Chrome Style C# Applications?

I'm not talking about the vista glass feature, I already know how to accomplish that. The feature that I'm talking about is add controls to the titlebar, like office 2007 does with the logo and toolbar. ...