google-chrome

Google Chrome rendering XML as text for RSS feed

Hi all. I have this script to generate an XML file for an RSS feed. Works great in every browser except Chrome. Chrome just renders the XML as text. Something to do with header("Content-Type: application/rss+xml; charset=ISO-8859-1"); possibly? This is the code I'm using: <?php $linkUp = "http://localhost/sites/myBlog/"; header("...

Is there any way to use c++ in chrome extension ?

Is it possible to use c++ binary in chrome extension ? ...

jquery post to webrick via sinatra only works in IE

When I run my little test app in IE, the log output from webrick shows a return code of 200, and indicates it received a post request: 192.168.0.18 - - [03/Nov/2009 16:17:37] "POST /testpost HTTP/1.1" 200 512 0.0010 Quietspeed.example.com - - [03/Nov/2009:16:17:37 EST] "POST /testpost HTTP/1.1" 200 512 - -> /testpost And the page is up...

Google Chrome breaks network connection when JavaScript errors

I have this strangest problem and I can't debug it. I am writing a heavy JavaScript application, which spawns a popup when user uploads a file. The actual file transfer happens in the popup, which is set to be the FORM submit target. Works in all browsers, there are no javascript errors. However, in Google's Chrome browser, when form i...

Problem with jquery ajax in Opera and Google Chrome

I have a page where I need to add a drag and drop functionality to certain elements. When the drop event occurs, it makes an ajax call to a php function and then refreshes the contents of a div. I'm using jQuery with jQueryUI for the drag and drop, and CakePHP as a PHP framework (not sure if this is relevant). Everything is working just...

jQuery find() returning an empty string in Google Chrome

I'm using jQuery to setup an Ajax request that grabs an XML feed from a PHP script and then parses some information out of the feed and inserts it into the DOM. It works fine in Firefox; however, in Chrome, I am getting an empty string for the title element. Here's the basic setup of the Ajax request: $.get('feed.php', function(oXmlDoc...

How to set realm for Basic Authentication Scheme in .Net HTTPListener Google Chrome issue

I'm working with an HttpListener. I can set the Authentication mode to basic using: listener.AuthenticationScheme = AuthenticationSchemes.Basic; This works in IE, but Google Chrome doesn't seem to like empty realms. So the header should contain something like: WWW-Authenticate: Basic realm="The Byte that Overflew the Stack" However, ...

Info window go gray in IE but not Chrome?

I built a mapping application at http://gisnet2.cstx.gov/gisweb/base/base.htm and when I click on and use the Identify tool, the results gray out after the second click, but only when I use an IE browser (7 or 8). Anybody know why IE would do this? The source code is really long, but you can find the questionable code in the doIdenti...

Can't load JS file for firefox extension

I have a working firefox extension that currently consists of a button. When I click that button, my XUL file declares oncommand="test();" which simply is an alert("hi!"); . I am including the file like this: <script type="application/x-javascript" src="chrome://myfirstextension/content/resultscollector.js" /> the resultscollec...

AJAX object in Safari and Chrome?

I asked, Can you tell me why my searches are working ok in IE8 but get stuck with safari and chrome? www.netivot.biz The ajax code is at www.netivot.biz/js/Ajax.js It works with some xml and xslt files then jitter suggested to preplace my code with : function getAjaxObject() { var xmlHttp = null; try { ...

CSS Make a block element fill the entire space of a parent element in CHROME

This question has been asked (and answered) previously at: http://stackoverflow.com/questions/546946/css-make-a-block-element-fill-the-entire-space-of-a-parent-element However, the accepted solution does not work in CHROME (as noted in the comments by mercator). The fix suggesting to add a height:100 to the <tr> element doesn't work e...

Table cells bad rendering with Google Chrome/Webkit

Hi, on the following code, COL1A and COL3A are not 50% height with Chrome or Webkit. It works fine with IE7 and Firefox. <table border="1"> <tr> <td height="100%">COL 1A</td> <td rowspan="2">COL 2</td> <td>COL 3A</td> <td rowspan="2"> COL 4<br/> COL 4<br/> COL 4<br/> COL 4<br/> COL 4<br/> ...

JQuery draggable element with image - problems dragging in IE and Chrome

I have divs that are defined as draggables. The divs contains one image and some text each. Dragging works perfectly in Firefox and Opera, but in Chrome and IE I can only start the drag by mousedown on the text, not the image. When I mousedown on the image in IE and Chrome, the built in html element drag-drop browser function kicks in - ...

jQuery block moving

I wanna move a div block to the top, so I coded like this: CSS part: .movingPart{ margin-top:80px; } jQuery part: $(document).ready(function() { $('#btn').click(function() { $('.movingPart').animate({ "margin-top":'0px' }); }); }); it works perfectly in chrome, but doesn't move a little in firefox, why??? t...

Firefox and Chrome slow on localhost; known fix doesn't work on Windows 7

Firefox and Chrome are known to be slow on localhost when IP6 is enabled. In previous versions of Windows, the simplest fix is to comment out this line from the hosts file, as explained in the answer to this question. ::1 localhost However, as noted in this question, in Windows 7 this line is already commented out: # localhost name r...

How to get more info when the "Aw Snap" screen shows up in Chrome?

I am trying to view a page in Google Chrome, but I get the message: "Aw, Snap! Something went wrong while displaying this web page". Is there a way to get more information about what went wrong? Update: the "Aw, Snap" remark is shown only when the JavaScript console is visible. ...

Weird behaviour with Chrome browser and data bound button.

I've noticed some strange browser specific weirdness with Google Chrome with some data bound buttons, in that when you navigate away from the page then use the browsers back button the data bind displays different data. If you then hit refresh it resets to the correct data. It doesn't happen in Firefox or Explorer 7. I had actually ente...

Chrome and its Spellcheck -- How Hard Would This Be To Implement

From a programmer's perspective. The dictionary in chrome, Google's "own" browser, does not have the same dictionary as their search engine. Countless times I have right clicked on a poorly misspelled word only to have no correct spelling appear. I Google the word and almost 100% of the time it knows what I was trying to type. :) I rea...

jquery ajax problem in chrome

i have the following jquery code running on my page just fine in FF and IE, but chrome seems to be freaking out.. in FF and IE the call is made and the result is appended to the div. in chrome, it calls ajaxfailed on failure. the XMLHttpRequest passed to the AjaxFailed function has a status code of "200" and the statusText is "ok". the...

image height using jquery in chrome problem

$('img').height() returns 0 in chrome, but it returns the actual height in IE and firefox. Whats the actual method to get the height of the image in chrome? ...