about summary refs log tree commit diff stats
path: root/input-focus.js
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-10-10 12:54:26 -0400
committerJosh Rickmar <jrick@devio.us>2012-10-10 12:54:26 -0400
commit9479f490c2c84d7bad8cf205c3dee0fd359421e1 (patch)
treeb5c8d80c0d0ff49605ce3b2d6f98ff8dd8d196c6 /input-focus.js
parent8421b1728ffe8da4b288d76d48d46d96fb4d0dfe (diff)
downloadxombrero-9479f490c2c84d7bad8cf205c3dee0fd359421e1.tar.gz
Implement header changes as requested by jy-p
This change introduces a new RB tree to keep track of identities
(defined as being different combinations of modified HTTP headers, so
far only User-Agent and Accept).  Whenever a site is visited, this
tree is checked to see if it has been accessed before, and if it has,
the previously used Accept and User-Agent headers will be used.  If
the site has not been visited before during the browser's lifetime, a
new entry will be created in this tree to keep track of which headers
to use the next time.  A site is defined as a FQDN, so requests made
to cross site resources or resources on a different subdomain will
generate a new saved identity.

The second change adds two new config files to the resource dir to
read in additional user_agent and http_accept values scraped from the
logs of www.bitrig.org.  The idea of this is to keep rotating through
each of these on every new site visit to provide more anonymity and
thwart web tracking by looking at the headers being sent.
Diffstat (limited to 'input-focus.js')
0 files changed, 0 insertions, 0 deletions