google-chrome

XHR readyState = 4 but Status = 0 in Google Chrome Browser

Hello i'v got a strange Problem with an AJAX call on my site. I make a simple AJAX call to a Script on my site. But the AJAX call fails with readState=4 and Staus = 0. There's no cross domain problem because the script i want to call is on my server. $.ajax({ type:"GET", url: 'http://mydomain.com/...

Eliminate the yellow highlight that Chrome do in the textfiels on html forms

Hello guys, i have a web form that when i see from Chrome it makes a yellow highlight on the text fields and i dont like it. I eliminate the border highlight with outline: none; but when i go back to my form and Chrome autocomplete the fields it makes the fields background yellow, and that is not good for my theme. This is an example of ...

Get the selected text of a web page in google chrome extension

Hello, I am on google extension development, when a popup is clicked, the input box present in the popup.html file should contain the selected text of the current webpage. example textbox, <input id="searchBox" type="text" /> when a text is selected in a webpage, the textbox should contain the selected word. I tried with chrome.exte...

select box (combo) is not responding

Hello I am using following javacript code $("a.adminlink").click(function(){ $("#bigpopup").fadeIn(); //$("a.activetablink").removeClass("activetablink"); //$("a.tablink[href=" + $(this).attr("href") + "]").addClass("activetablink"); $.get($(this).attr("href"),{},function(response){ $("#tabmenu").html(response.menu); ...

Hiding a Chromium window through AppleScript

I recognise that Google Chrome & Chromium aren't highly AppleScript enabled yet. But, I was wondering if there was a way to use the "System Events" to hide a particular window or tab? Here is what I have so far ... tell application "System Events" tell process "Google Chrome" repeat with theWindow in windows set thePageName...

Google Chrome - $('#staylength').val(my_min); fails

HTML: <select id="staylength" name="staylength"> <option disabled="disabled" value="1">1</option> <option disabled="disabled" value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> In Google Chrome (5.0.375.55 on WinXP), the following jquery code fails to set the...

How to save a tab's memory state in Firefox/Chrome?

I want to be able to save a tab's state in Firefox or Google Chrome so that I can restore it later, through writing a custom add-on/plug-in/extension. The closest thing I can find is Firefox's session store API, which can save form data and scroll position. However, I want to save Javascript state too. In addition, if possible, I want t...

Using CSS, can Google Chrome create an alpha channels effect similar to a 24 bit PNG?

You can make some cool tricks using a 24 bit PNG, which has a gradient from opaque to completely transparent. Elements sliding beneath this PNG will appear to disappear whilst fading. Is this possible using CSS only with Google Chrome? I only have to target this browser. I'd like to avoid a slice of 1px tall elements with varying opaci...

Simple Javascript array initialization not working in Chrome

I am trying to do something really simple - initialize an array in Javascript. And it's not working in Google Chrome. Here is the code: status = []; for(i=0; i < 8; i++) status[i]=false; alert(status.length); //It says 0 when it should say 8 What gives? ...

Finding option within select options fails in Chrome and works in IE.. why?

I have a select list with multiple items which I want to be able to filter by the text entered into some text field. This is pretty simple if you just do a js contains while iterating over each option. There are however in some cases a lot of options, so I employed jQuery: var results = $("#myList options").find("option[text*=" + some...

less.js not working in chrome

i noticed that less.js is working in firefox but not in chrome, or isit because i made an error? <link rel="stylesheet/less" href="css/style.less" /> <script src="http://lesscss.googlecode.com/files/less-1.0.21.min.js"&gt;&lt;/script&gt; @highlight: #cb1e16; @shade1: #cb1e16; @tone1: #5c6f7d; @grad1: #e6edf3; @grad2: #8a8d92; @text1: ...

Chrome Iframe display White Box

Aloha, currently my pligg template have following Iframe code : <iframe height="0px;" width="0px;" frameborder="0" name="story_status"></iframe> Its working fine on firefox, however on chrome, it display as white box.. after inspecting, <iframe height="0px;" width="0px;" frameborder="0" name="story_status"> <html><head></head><bo...

Chrome only: AS2 ExternalInterface calls return null / cross-domain iframes

I'm using the cross-domain hack "marathon version" (explained here: http://softwareas.com/cross-domain-communication-with-iframes) to append a swf to a top-level window from within an iframe, as follows: Page on domain A hosts our javascript, on domain B, in an iframe. Our js on domain B creates a proxy iframe pointing to a file on...

Silverlight MouseMove inconsistency for Chrome vs FF/IE

Hi, I've got a listbox with images. I'm capturing MouseMove. In FF (Win7 & OSX) & also in IE8, this fires whenever the mouse is moved over the images. In Chrome (on OSX), however, it only fires while the mouse button is pressed down. This Chrome behaviour would actually be quite useful, but only if I could control it, rather than have i...

chrome extension - need to show the description on hover of the links as a popup.

chrome extension - popup page has links. need to show the description on hover of the links as a popup to the left side of the link(means the description div will come outside of the extension wondow).(popup page has popups) similar to vertical drop down menu... should work in the chrome extension. ...

document.fileSize Browser Support

Does any browser other than IE support document.fileSize, or the equivelant? http://msdn.microsoft.com/en-us/library/ms533752(v=VS.85).aspx ...

Google Chrome renames file .xml to .download

hello. i have this very simple download page to get an xml file. the script works ok in firefox/IE. but chrome renames the extension of the file to ".download". and this happens only to .xml, when you use another extension like .txt it does it without problems. the body of the html is this: <body> <a href="down.php">descarga</a> </bo...

google chrome & maybe others weird layout issue

Hi, I am using a jquery plugin called masonry. In IE & firefox, the site works as it's supposed to. However, in google chrome, the layout elements get stacked on one another. If I click the menu items on the left, then the plugin reloads and the site looks like it's supposed to. So, I think it must be a timing issue. Any thoughts on h...

Is it possible to check the code for a Google Chrome extension before installing it?

Google Chrome extensions are a nice invention, but they can potentially interact with a lot of user information. Is it possible to browse their manifest and/or their source code before installing them? The reason I'm asking this on StackOverflow is that I've just developed my first extension. Since it's manipulating the CSS style for t...

modal window not modal in chrome

I'm opening a modal window with javascript like this: window.showModalDialog('<%=Url.Action("Index","Bank") %>', "Ratting", 'width=550,height=170,left=150,top=200,toolbar=1,status=1,') and it works properly in all browsers except for chrome (it's not modal) I want to know whether is this a bug or a feature? or maybe I'm do...