[tor-bugs] #9965 [Flashproxy]: allow browser proxy config values to be overridden by other js

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Oct 19 10:07:12 UTC 2013


#9965: allow browser proxy config values to be overridden by other js
-----------------------------+-----------------
     Reporter:  infinity0    |      Owner:  dcf
         Type:  enhancement  |     Status:  new
     Priority:  minor        |  Milestone:
    Component:  Flashproxy   |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------

Comment (by infinity0):

 aha, I overlooked the query string params. But that only lets the visitor
 control the params, it doesn't let the site owner set the defaults. (And
 the latter is more likely to want to do that anyway.)

 If we wanted to support that, I think it would be an easy edit - in
 flashproxy.js, change all the constants to instead do a conditional
 define, like this:

 {{{
 var DEFAULT_FACILITATOR_URL = DEFAULT_FACILITATOR_URL || "https://fp-
 facilitator.org/";
 }}}

 Then in the `/* overrides */` part, the site owner can set their own
 value, which flashproxy will then read and honour.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9965#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list