Can I change network proxy dynamically from my extension javascript

993 views
Skip to first unread message

sathya

unread,
Dec 5, 2011, 7:54:27 PM12/5/11
to Chromium-extensions
Is there way to dynamically change proxy dynamically from my extension
javascript.
I have a requirement in my extension where there are different links
in my extension (like Facebook,twitter etc). Depending on user
selected link, I need to change proxy dynamically.
E.G; If user clicks facebook link in my extension page, proxy should
be PROXY1, If user clicks on twitter link in my extension page, proxy
should be PROXY2 etc.

Please let me know if this is possible.

PhistucK

unread,
Dec 6, 2011, 2:32:56 AM12/6/11
to sathya, Chromium-extensions
Yes, it is.
See this page -

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


sathya

unread,
Dec 6, 2011, 4:08:00 PM12/6/11
to Chromium-extensions
Thank you

On Dec 5, 11:32 pm, PhistucK <phist...@gmail.com> wrote:
> Yes, it is.
> See this page -http://code.google.com/chrome/extensions/proxy.html
>

> ☆*PhistucK*


>
>
>
>
>
>
>
> On Tue, Dec 6, 2011 at 02:54, sathya <sathyavik...@gmail.com> wrote:
> > Is there way to dynamically change proxy dynamically from my extension
> > javascript.
> > I have a requirement in my extension where there are different links
> > in my extension (like Facebook,twitter etc). Depending on user
> > selected link, I need to change proxy dynamically.
> > E.G; If user clicks facebook link in my extension page, proxy should
> > be PROXY1, If user clicks on twitter link in my extension page, proxy
> > should be PROXY2 etc.
>
> > Please let me know if this is possible.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Chromium-extensions" group.

> > To post to this group, send email to chromium-extensi...@chromium.org.


> > To unsubscribe from this group, send email to

> > chromium-extensions+unsubscr...@chromium.org.

Ankit Agarwal

unread,
Mar 14, 2016, 1:55:29 PM3/14/16
to Chromium-Extensions-Announce, sathya...@gmail.com
Hi Satya,

Were you able to solve this issue? I have a very similar requirement where I set proxy dynamically using my google chrome extension. However, I need to sign out and sign in back into my chromebook to set the proxy else the proxy is not set. Please let me know if you also face any such issue. Thanks
Reply all
Reply to author
Forward
0 new messages