Is it possible to generate bitcoins with a Google Chrome extension? I just came across Rlweb's Bitcoin Generator, a Chrome extension that claims to be the "first google chrome extension creating Bitcoins".

This extension looks quite shady to me, they don't even have a link to their website. Is it a scam?

Would it at least in theory be possible to write a miner application as a browser extension?
With GPU support?

Edit: For completeness, I found another Chrome extension named Bitcoin Miner.
This one looks more legit, but it says it's a Flash game. It doesn't really generate bitcoins, or does it?
Well, I cannot speak for that specific generator. However there has been a javascript generator already in use and Chrome extentions are I believe javascript based, so it is very possible.

The javascript generator only uses CPU mind you, and is quite slow.

As for using the GPU, that is a possibility with some of the browser plugins out there, such as Unity. However a native browser? not very likely, they try very hard to restrict hardware access.