google-chrome

Google Chrome: Search API?

I'm looking for a way to expose Google-Search functionality on my site so that chrome users can use context-sensitive searching (e.g:) I know YouTube is owned by Google, but I couldn't remember which 3rd party sites I had seen this feature work on before. Anyway, I couldn't find any reference to this in google-labs or on code.google.c...

Message Passing in Chrome

Hi All, Have a small doubt in how message passing works in chrome using content scrips. I modified the default example (http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/messaging/timer/) for message passing given in the chromium documentation to the one that looks below : popup.html function t...

Google chrome cursor remains as 'loading' after jquery load()

I have a simple jquery load call as follows (triggered on a link click) $("#mydiv").load('/link/to/my/page.cfm', { "page_id": page_id }); In Chrome after the POST request is sent (with the results successfully received and loaded in #mydiv) the cursor remains as 'loading' (as well as the icon to the left of the window's tab). I canno...

chrome back button issue

in my website i am having a list box and by selecting it i am redirected to a result page, and when i click back button in browser the values staying there in Chrome ( IE and Firefox working fine, any help?? Thanks in advance ...

GWT production mode doesn't work on Chrome browser.

Hi guys, I compiled my GWT application and am testing it in the production mode. The application works fine on all browsers, except Google Chrome, which only an empty page shows up. I tried to see if there were any options for compilation, but there weren't. Can somebody let me know what's wrong? thanks, -- Javad ...

<pre> tag making browsers close paragraphs

Hi, I'm having an issue with the HTML below: <html> <body> <p style="font-size: large"> Some paragraph text <span><pre style="display:inline">some span text</pre></span> additional paragraph text that continues ... </p> </body> </html> So this is just a paragraph that contains some preformatted...

Why is PHP not interpreted in FF but is interpreted in Chrome on my website?

Look at this URL in Chrome and Firefox. http://gymshuffle.com/contact.html If FF, there's uninterpreted PHP code on the page. In Chrome there isn't. What would cause the PHP to display in Firefox? ...

How to Autocalculate CSS of an element

I'm not so good at css, so I would like to if this is possible. Let's say I am not happy with the position of an element, I want to move it from left to right; however I want to use drag and drop so the stylesheet automatically updates. I am using Google Chrome, and would like to know if this is possible via Google Chrome Developer too...

Flex crossdomain.xml not working correctly in Chrome/Firefox ??

Hi, I've spent quite a bit of time on this so here's where I'm stuck. I'm using the debug player 10.1 to get an XMLA request from: http://localhost/dir/blah.swf to: http://localhost/olapbin/msblah.dll This worked fine in the filesystem, but now its on an IIS7 web server. After a lot of fiddling with the crossdomain.xml file I se...

Issue with a XHR in Google Chrome extension on Secure connection (https) , xhr.status = 0

I have given the permission in manifest file, though when I try to make XHR to https://wh2.sibers.com I am just getting a xhr.readystate = 4, xhr.status = 0; I can do XHR request just fine from the console(under the wh2.sibers.com page of course). Anybody has a broader knowledge in this things please show me the direction, thanks ...

chrome dev tools resource view little numbers

When I open the developer tools in chrome and go to the "Resources" tab, sometimes there are resources which have a red circle with a number to the right of the resource name. What is that number? You can see it at this site: http://www.realclearpolitics.com/?state=noad ...

chrome browser not showing google ads for xhtml file

Hi All, I am trying to display google ads on xhtml file, but chorme browser down't show them up. The ads show on all other browsers I tried (Ie,firefox,opera) but chrome. Has anyone encountered this before? Small sample code: <html xmlns="http://www.w3.org/1999/xhtml"&gt; <body> <script language="javascript"> google_ad_clien...

Telerik menu Item issue in Chrome

I am using Telerik Menu Item for navigation and my page displays an embedded PDF. The page works perfectly fine on IE but on Google Chrome, the menu just hides behind the pdf. I tried using z-index but it does not seem to help. Can someone please help me with this? Here is the code snippet: ...

Is there a way to hide the new HTML5 spinbox controls shown in Google Chrome & Opera?

Google Chrome now, and Opera before, shows a "spin box" control beside a input field of type "number". I want to be able to style this, or hide it. Are there ways of controlling this UI element yet? EG: <-- That little ui element with an up and down arrow. It's not that functional and its adding unnedded elements to a form I've created...

JavaScript not working in Google Chrome

What's the reason why some JavaScript functions won't work in Google Chrome but works fine in Mozilla Firefox? Like this.. HTML code: ... onkeyup="calculateTotal(this.value)" onclick="clickclear(this, '0')" onblur="clickrecall(this,'0')" value="0" JS code: function calculateTotal(price, quantity, cnt) { if(quantity...

How can I change the size of a tab captured with chrome.tabs.captureVisibleTab (Chrome extension)

I'm using the following code to capture a screenshot of the selected tab chrome.tabs.captureVisibleTab( undefined, function( data ) { display( data ) }); The API says its possible to change the size of the tab ( http://code.google.com/chrome/extensions/tabs.html#method-captureVisibleTab ) but I can't work out how to do it. At the mome...

Loading animation doesn't show up until after ajax call completes in Safari/Chrome

Hello Everyone, I've run into a problem that I haven't been able to find a solution to yet. I'm creating a resource booking application which uses AJAX to process information given by the user into a back-end database. Whenever the user wants to create a booking they fill out a form with relavent information which gets sent via AJAX to...

The display order of CSS rules in Chrome Developer Tools

I have been examining a web page in Chrome Developer Tools and noticed that the CSS rules are displayed in alphabetical order. I noticed that when I tried to track the inheritance of the rules applied to an element through all its ancestors. Is there any way to change the order in which rules are displayed? Or maybe this is possible usi...

Desktop notifications from content scripts

Hi All, I am trying to show a simple desktop notification code from a content script, but it doesn't seem to work.. I have added the permissions in the maifest.json file. Is there a restriction on showing them from the content script ? ...

JS: Error in IE, compatible in Chrome and Firefox

I'm having IE give me this error for a small function I wrote: Message: Object expected Line: 13 Char: 52 Code: 0 Here is my code (please excuse the formatting): function SectionTwo() { if (xmlhttp.readyState==4) { if( xmlhttp.status==200 ) { if( xmlhttp.responseText.indexOf( "404 Error" ) >= 0 ) { } ...