[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #1614 [EFF-HTTPS Everywhere]: list



#1614: list
----------------------------------+-----------------------------------------
 Reporter:  bee                   |       Owner:  pde
     Type:  enhancement           |      Status:  new
 Priority:  trivial               |   Milestone:     
Component:  EFF-HTTPS Everywhere  |     Version:     
 Keywords:                        |      Parent:     
----------------------------------+-----------------------------------------

Comment(by bee):

 Hi!!!!!!!!!! Good morning!!!!!!!!!!!!!!!!!!!!!!!!!!!
 YEAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Yesterday in the late evening i updated the code and now did the upload of
 it!!!!!!!!!!
 Anyway, i hadn't the time to test it!!!! but i'm very sure it works like
 it was working before!!!!!!!!!!

 Same place!!! http://honeybeenet.altervista.org/fun/https-
 everywhere/HoneyEverywhere.tar.bz2
 but it also has the "diff" files!!!!!!!
 "HTTPSRules.diff" is the diff result between "HTTPSRules-or.js" (the
 original file) and "HTTPSRules.js" (the new file!!!!!)
 I also re-wrote some rules!!!!! "rules.diff" tells you the
 differences!!!!! So, you know how to update the rules (it's very easy!!!)
 to push them into the binary list/index!!!!!!!!!

 The only two things i really did are renaming "match_rule" to
 "match_host"!!! So, it keeps the backward compatibility!!! because the
 rules with a regexp in the "match_rule" field will have it ignored and
 they're indexed in a normal list (not in the binary list, but another
 list, so they do work!!!) and i added the javascript functions
 "rewrittenURI" because i noticed they have been added in the newest
 versions of HTTPS Everywhere!!!! (though i cannot use it, because i
 crashes firefox!!!!!)
 I also made some esthetic improvements!!!!!! yeah!! i'm that good!!!!!
 I replaced this ugly thing!!!
 {{{
 var match_rl = null;
 var dflt_off = null;
 if (xmlrules.@xxxxxxxxxxxxxxxxx() > 0) match_rl = xmlrules.@match_rule;
 if (xmlrules.@xxxxxxxxxxxxxxxxxx() > 0) dflt_off = xmlrules.@default_off;
 var ret = new RuleSet(xmlrules.@name, match_rl, dflt_off);
 }}}
 with this beauty honey bee's code!!!!!!!!!
 {{{
 var ret = new RuleSet(xmlrules.@name,
     xmlrules.@xxxxxxxxxxxxxxxxx()  > 0 ? xmlrules.@match_host  : null,
     xmlrules.@xxxxxxxxxxxxxxxxxx() > 0 ? xmlrules.@default_off : null);
 }}}
 YEAH!!!!!! Test if everything works and merge the
 code!!!!!!!!!!!!!!!!!!!!!!
 SUPER!!!!!!!!!!!!

 ~bee!!!!!!!!

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1614#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs