google-chrome

Chrome Blocking Javascript, Google Wave, Google Gadgets

Project: Developing a gadget template for Google Wave which will allow my Flash movies to interact with the Wave api. I had to adapt the existing Flex application so that it would work with ActionScript. This was a success. Problem: Chrome v4.0 is blocking the load and/or execution of javascript files linked to in the Gadget's XML file....

Why does Chrome show different page source?

Why is that the html code source in Chrome does not show what it should be showing when viewed from Google View Source For example, I wrote like this <div><?php echo "HELLO!" ?></div> But if I view source, "Hello" does not exist even though it displayed HELLO on page! Or if I create an input with a value inserted from PHP, it won'...

Flash events not generated in Google Chrome extension

We're writing an extension for Google Chrome, which only consists of inserting a Flash object in the HTML content. This FLash object generate public external events that can be trapped in JavaScript. Events are correctly trapped if in a normal HTML page, but inside the Chrome extension, it doesn't work. It's like Chrome is blocking an...

Parsing XFN data with Jquery

I'm trying to filter the XFN relationships meta data found in web pages. It is something like this: <a href="site" rel="friend colleague" >Name</a> in REL you can have various values, like "friend", "collegue" but even "me" and "met" because you can have multiple values, I did this: xfn_me = $("a[rel*=me]").length; But this doesn...

Does anyone know if there is a Chrome plugin for making FireFox extensions work in Chrome?

Does anyone know if there is a Chrome plugin for making FireFox extensions work in Chrome? Just curious because Chrome does appear to run faster, but I love my FF plugins, especially for development. I'm guessing maybe there isn't because of XUL. ...

Setting Opacity in CSS For Chrome

Hey all: I've tried the following: (this is actually for fancybox, as the overlay does not show in chrome/safari: $("#fancy_overlay").css({ 'background-color': opts.overlayColor, 'opacity': opts.overlayOpacity, '-moz-opacity': opts.overlayOpacity, '-khtml-...

How do I refresh/relaod a Chrome Extension?

I'm developing an extension in Chrome 4 (currently 4.0.249.0) that will show the user's StackOverflow/SuperUser/ServerFault reputation in the status bar. I've designed an options page to get the user's profile IDs and I save them to localStorage and read them well in the extension. It all works great.The problem is I cannot find a (progr...

What is wrong with this JavaScript code?

self.location = 'cache:' + self.location I want to redirect from "[URL]" to "cache:[URL]". I just want this code to work in Chrome browser. ...

actionscript 3 - how to hide default cursor in chrome?

is there a way to hide default cursor[flash]when it's opened using chrome? i can hide it using ordinary way when it's opened using firefox/IE but somehow it doesn't work when it's opened using google chrome. Many thanks ...

ASP.NET ReportViewer Google Chrome CPU usage

Hello, We have found an interesting issue between ASP.NET 3.5 and ReportViewer with Google Chrome. Our set of pages work fine until a ReportViewer control displays a report. Google Chrome then eats up 50% of the CPU doing nothing it seems. I've extracted the ReportViewer control to a blank Web Forms project to confirm its that contro...

Turn Off Silverlight Plug-in Warning in Chrome

I'm working with a Silverlight 3 app and using Chrome as my test browser. While debugging I keep getting the popup message: Plug-in Unresponsive The following plug-in is unresponsive: Unknown Would you like to stop i? Yes/No How can I turn this off in Chrome? Can VS be set to shut it off only when debugging? It's a rea...

Setting onbeforeunload on body element in Chrome and IE using jQuery

I have a system where I want to check with the user if they're sure they want to leave the page once a dirty flag is set. I'm using the following code - In FireFox, I can look at the page source through FireBug and the tag correctly has the onbeforeunload attribute inserted in it. In Chrome and FireFox, this doesn't happen though an...

Google Chrome Extension Hello World

I am going through the "Hello World" example on the Chrome dev pages (http://code.google.com/chrome/extensions/getstarted.html). One thing I would like to do is to be able to grab the current selected tabs location.href and document.title. For example if I am on www.apple.com and click the popup toolbar button I'm not sure how to acces...

Response.Flush() only works with Firefox

I am trying to send some content to the client before doing some lengthy work: Response.Write("Processing..."); Response.Flush(); System.Threading.Thread.Sleep(5000); Response.Write("Finish"); Response.End(); In Firefox it works as expected but in IE8, Safari and Chrome it waits until all the code is processed and then shows the whole...

AspNet ViewState piece showing on the page with Google Chrome

Im not sure why is this happening but there is a piece of viewstate being shown on the top of my page with its closing tag. I believe is just happening when there is some javascript code in the page, but is quite odd because has nothing to do with the ViewState at all. Anybody knows anything about this? Thanks, Leonardo ...

Building IntelliSense/AutoComplete in JavaScript

I currently maintain an add-on for Firefox that adds a number of capabilities to a forum web site that implements its own markup language, similar to what stackoverflow provides with "Markdown." I have built an IntelliSense function for this add-on, which, similar to Visual Studio, will pop up an auto-suggest when typing this markup in ...

Parsing XFN data with Jquery, round 2

You guys already helped me on correctly parsing the REL attribute on A tags, but there are two XFN values that I'm not able to match: "co-worker" and "co-resident". The hyphen causes an error with jquery. I tried this xfn_co-worker = $("a[rel~='co-worker']").length; and this xfn_co-worker = $("a[rel~='co\-worker']").length; In bot...

Google Chrome Extension in Flex

Google have added Extensions API for Chrome. Now it's possible to write extensions using HTML/CSS/JS. I was trying to embed SWF in html page and communicate with this page, but I got: SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller chrome-extension://ilnamifbpeaokmlgefmainkehgpoppkj/main.swf can...

Request Monitoring in Chrome

In Firefox, I use Firebug which allows me to view every http request my ajax calls are making. I've switched over my development to Chrome and am liking it so far. My only complaint, however, is that the developer tools don't seem to allow you to view each ajax request. I've had it happen once where the Resources panel showed multiple...

Programmatically get the number of indexed pages in Google?

As an SEO metric I'd like to programmatically get the number of by Google indexed pages. (if I search "site:mydomain.com" I want the get number of pages found). Is there any lib for this or do I need to parse a google request? ...