ferat_tes 0 Newbie Poster

I need to write an extension for Chromium Browser. First i will just
write a code to change the proxy. After that i will write all the
extension. But i could not use proxy API.
I write this code on the background page of extension but it did not

<script type="text/javascript"> 
var config = { 
                    mode: "fixed_servers", 
                    rules: { 
                                  httpProxy: { 
                                                       host: "" 
chrome.proxy.settings.set({value: config, scope: 'regular'}); 

Even i give true values for proxy host and port number (which i try it
at the same time from Firefox if the proxy works) Chromium browser
don't use the proxy. It still goes directly to the sites.

The free proxies you can try for extension: http://hidemyass.com/proxy-list/
Chrome proxy API page: http://code.google.com/chrome/extensions/proxy.html

Open source extension for the same purpose as example:

You can download my extension from here:

You need Chrome 13+ to use chrome proxy API. If you use older version
you neeed to enable experimental APIs of chrome also you need to
change the function class name from my code..

I will be happy if you can help me. I just need the code to change the

Thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.