What are the requirements for using chrome.experimental.webRequest? - google-chrome-extension

I am playing with the Chrome Experimental API and having a little hard time making it work. Do I need to have the devtools open for the chrome.experimental.webRequest to work?

No, you need to enable experimental API on chrome://flags page and declare experimental permission in your manifest. It's all described here.

Related

How Can I use Chromium or Webkit source code in our custom browser?

I am trying to develop my own browser by using chromium source code but am not familiar with browser part.please give some valuable suggestions how to start from scratch using "Chromium Source code"....
There are two very high quality Chromium wrapper projects for Delphi.
https://code.google.com/p/delphichromiumembedded/
https://code.google.com/p/dcef3/
Note that both projects seem not to be very active since 2014.
If you think the answer is helpful to you, please accept the answer.

Browsers in 2013 with Web MIDI API?

Does anybody knows if there's a browser whith Web MIDI support? ... I've tried the samples on http://webaudio.github.io/web-midi-api/ but they throw me an error that my navigator has not such properties. Im working on google-chrome and firefox. If, there's no browsers that support MIDI, when do u estimate we will have one, maybe in the next 2 years?
According to this posting (dated June 28th 2013), "initial experimental support" for Web MIDI is now available in Chrome Canary.
As of now, there are no browsers that support the Web MIDI API yet. First off, the spec isn't finalized yet and there were a couple of changes made from the original spec (function names and procedures could change anytime).
You can, however, enable your browser to support the API by installing the Jazz plugin and using Chris Wilson's Web MIDI API shim. I have personally tried it and it really works! :)
As of writing this, Web Midi is now available in regular Chrome (not just canary), though it is still an experimental feature, so it must be enabled manually at chrome://flags/#enable-web-midi
try this one, jasmid to play midi files directly on chrome/ff, no plugin needed
One of the authors of the Web MIDI API has created this shim, which enables you to work with the Web MIDI API in today’s browsers:
WebMIDIAPIShim
https://github.com/cwilso/WebMIDIAPIShim

How to record audio in a Chrome Extension?

What's the simplest way to setup a chrome extension to record audio from the microphone?
I see there is a working experimental speech input API but how come you don't have access to the recorded file? Seems like hooking up into that should be simple enough, as it's a step earlier in the process, no? Especially as there is also a text-to-speech API, so you could effectively record into text and then have the computer speak it back out, but unless you want a standard voice, how lame, redundant and prone to error is that?
Then there seem to be flash solutions like this but how can I use that in a chrome extension without having to setup anything server-side? (since I don't actually need to send anything to a server--it's all local and client-side)
Is NPAPI a possibility? Is there such a plugin ready-made?
Don't know of other possible alternatives (HTML5 isn't ready yet, it seems) but I welcome anything functional and simple to implement and hook into a chrome extension.
Finally a native solution appeared: Introducing getUserMedia
You cannot use the speech input API, since it will record only the microphone. Okay, you can grab the speakers like that, but it's clearly not the solution.
Using a NPAPI plugin is a solution. You'll can identify the sound made by a particular tab and after record that source, but it is no longer web dev.

Intercepting/analyzing traffic from a google chrome extension

I would like to write a google chrome extension to intercept http traffic and to create graphs similar to how network tab does it. Is there API available to do this? I found there's WebRequest API: http://code.google.com/chrome/extensions/trunk/experimental.webRequest.html but it says it is still in experimental stage, I wonder how stable it is at this point and if there're any good samples that use it. Thanks!
Experimental is just that. Experimental. It could have breaking changes in an release of chrome. The other downsides of experimental is only being available in the dev channel of Chrome (or more unstable such as canary), extensions using experimental can not be uploaded to the Web Store, and user have to have the enable experimental extensions flag.
If you still want to use the experimental webRequest API I wrote a simple example in another answer.

Google Chrome extensions

Is there way to run native C/C++/Obj-C within a google chrome extension, The official page says extension are like other web pages, as i see it there is no way except Native Client(NaCl). Is this technically possible.
I believe that you are looking for NPAPI plugins. Do not take lightly the warning, however:
NPAPI is a really big hammer that should only be used when no other approach will work.
Why does your extension need C/C++/Objective-C, exactly?
Re: OP comment
Check out this question!

Resources