google-chrome

Debugging iframes with Chrome developer tools

I'd like to use the Chrome developer console to look at variables and DOM elements in my app, but the app exists inside an iframe (since it's an OpenSocial app). So the situation is: <containing site> <iframe, id = foo, src = different domain> ... my app ... </iframe> </containing site> Is there any way to access things happening...

any good new web-developer browser addons? (as in released in the last 6 months)

I used to be pretty ontop of the latest plugins but it's lost my attention recently (probably due to so many itentical blog articles called 'the best {num here} addons for firefox'). Last time i looked i found: firequery and firepicker which are now indespensible, so what's new? any hot new extensions that have found their way into y...

First list item (<li>) floating right in google chrome

I am having problem with google chrome. The problem is the first list item's bullet is floating right and all other list item's bullet aligned correctly at left. Plz help. Any help will be appreciated EDIT 1 <div class="window_sub_title2">The Interface</div> <ul> <li>Toolbox </li> ...

Chrome: open a custom input interface on click

Is it possible to register the selection (may it be via a click or other ways) of a text field (of any kind) with my extension and open up a separate input interface? ...

margin-top behavior differs between browsers

We have a richfaces table (rich-table style class) and we would like to have some space on top of the table. We tried using margin-top on the above style class with values in px and in %age. But the resultant behavior was different in both the browsers. FF produces more space compared to Chrome. How do we get around this issue and be bro...

Google Chrome err_failed chrome (err2) - Web App

I'm a web application developer, who runs a site http://myfav.es. We've been struggling with this issue for about a month now. We use the HTML application cache spec - www.w3.org/TR/offline-webapps/ - with dynamically generated manifest files - myfav.es/personal.manifest - to speed page delivery. These dynamically generated manifest fi...

ASP.NET update panel not working 30% of time in firefox

I have an update panel on my aspx page that has a user control as an asyncpostback trigger. The user control has a set of image buttons that refresh the update panel when clicked. This all works fine on IE and 70% of the time on FF and Chrome however, 30% the update panel never is updated. I have debugged IIS and the server side code is ...

can i capture the current/all tabs URL with javascript/jquery or would I need to make a plugin

I want to be able to capture the current url and/or the url of all open tabs. Can I do this in JavaScript or JQuery or am I going to need a plugin in FireFox/Chrome ...

Unable to drag using image within anchor link in Chrome or IE

This is going to be fairly hard to explain, so I've put together a JsFiddle to help demonstrate. http://jsfiddle.net/j5TKr/ I've tried to include everything that I require without complicating it too much. The overall aim is to have a list of li's which can be selected (single click, ctrl-click, shift-click) or double-clicked to be open...

Google Chrome Extension - How can I include a content script more than once?

I've been working on Chrome Extension for a website for the past couple of days. It's coming along really nicely but I've encountered a problem that you might be able to help with. Here's an outline of what the extension does (this functionality is complete): A user can enter their username and password into the extensions popup - and...

Table not refreshing properly after jQuery manipulations, in Google Chrome

I made a solution to another of my questions. But, after some recent changes, it's looking good in Firefox 3.6 but showing quite bad display anomalies in Google Chrome. It seems it's not refreshing/redrawing the table header row after the JavaScript code changes its position. It's especially noticeable when the floating table header row...

Distinguish Chrome from Safari using jQuery.browser

It seems jQuery.browser is able to identify webkit rather easily as of 1.4. But how can I use it to distinguish Chrome from Safari (and visa-versa)? ...

Is there a way to add Google Chrome as an external web browser in Flash Builder Standalone for Mac?

It currently seems impossible to add Google Chrome as an external web browser in Flash Builder Standalone for Mac. In this context, Eclipse only cares about "Unix executables" and not .app files. For example, the path to Firefox on a Mac is: /Applications/Firefox.app/Contents/MacOS/firefox-bin which is only found by right-clicking and...

How to avoid WebKit contentEditable copy-paste resulting in unwanted CSS?

I have a <div> that has contentEditable="true". When I copy-paste content within the editable div, the pasted text gets wrapped into a lot of unwanted CSS. For example, this: <p>text text</p> becomes: <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-botto...

Chrome and Auto execute a javascript function

Hi guys. Is there a way to execute some javascript on load a web site. For example I want to hide facebook chat and I want to execute document.getElementById('pagelet_chat_home').style.display = "none" on loading a site. ...

Passing focus to Silverlight/Flash object in Chrome and Safari

There is a known issue with Safari and Chrome, when you can't pass a focus to plugin (Flash or Silverlight). There is also a question here at SO that asks how to solve it (marked as answered, though technically it's not the answer). I'm really concerned with this situation, since it totally breaks user experience . Do you know somebody ...

Asp.NET menu overexpanding in Chrome when PopOutImageUrl is defined

I have a horizontal asp.NET menu with a vertical submenu that has another vertical submenu. Problem is that in Chrome (works fine in FF and IE), when PopOutImageUrl is defined, when I hover over the 1st vertical submenu, it expands to half the screen. I clear out the PopOutImageUrl, and it's the right size, but I don't notice the 2nd s...

How to test whether a browser accepts cookies with JavaScript?

I want to test with JavaScript whether the browser supports cookies or not. The following code works with Internet Explorer 8 and Firefox 3.6 but not with Google Chrome 5. function areCookiesEnabled() { document.cookie = "__verify=1"; var supportsCookies = document.cookie.length > 1 && document.cookie.indexOf...

Image script wont work in Chrome.

Hi all. I've just redesigned my website, and seemingly all is well. However someone has pointed out that the image galleries are not viewable correctly in chrome. It's driving me mad, and I can't work it out. Can anyone spot an obvious mistake? Thanks a lot. The URL is: http://www.create-imaginations.com/ ...

xhr.send(file) doesn't post it as multipart

On Firefox 3.6 and Chrome, using xhr.send(file) just puts the raw contents into the body of the request and it is not a true multipart/form-data upload. Tried doing this: http://kaply.com/weblog/2010/05/20/post-multipart-form-xhr/ But, can't really mix string with File contents during send(). Any workarounds? ...