Thanks for the reply, <div><br></div><div>But, I wanted to so some other stuff like statistics from the sites I visit and doing a few other things in the background without slowing down my browser with javascript (automatically extracting flv&#39;s, etc.) as well as do some MITM stuff (not for mischievous uses though) so that I can better extend my web browsing. I found a Proxy in Python that does HTTPS through HTTP through OpenSSL but lacks the performance of Twisted. I think I&#39;ll just try looking more into enhancing the performance of that Proxy while I wait for a response here since I would prefer to use Twisted. <br>
<br><div class="gmail_quote">On Mon, Nov 23, 2009 at 1:53 PM, Landreville <span dir="ltr">&lt;<a href="mailto:landreville@deadtreepages.com">landreville@deadtreepages.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Sun, Nov 22, 2009 at 12:42 AM, Kyle Hanson <span dir="ltr">&lt;<a href="mailto:hanooter@gmail.com" target="_blank">hanooter@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div>Basically I want to create a personal HTTP proxy to add a javascript library to every page I visit because the javascript contains several tools I wrote and Chrome doesnt allow extensions. </div>


<div><br></div><div>So I have a basic proxy set up from here: <a href="http://blog.somethingaboutcode.com/?p=155" style="color:rgb(28, 81, 168)" target="_blank">http://blog.somethingaboutcode.com/?p=155</a> and I expanded it to do some logging and what not. </div>


<div><br></div><div>The first problem I have with this is that I cannot view Gmail due to HTTPS. This is problematic since I would like to view my email and don&#39;t want to turn off proxy settings everytime to do so. So is there a way to quitely pass ALL HTTPS without doing anything to them so it doesnt just send blank data?</div>


<div><br></div><div><br></div><div>The second problem is that I have no idea how to modify the page contents. Do I modify the buffer in my extended ProxyClient class? Because I tried that and it only worked on very few websites. Perhaps could someone just show me by doing a simple word swap (switching all mentions of Python to some other word?)</div>


<div><br></div><div>I would greatly appreciate it. </div></span>
<br><br></blockquote><div><br></div></div></div><div>If you just want to run a custom javascript library you might want to look into greasemonkey scripts (supported in Chrome, Firefox, and Opera), they won&#39;t do everything your Proxy could (or maybe they could?) but it would probably be quicker/easier to implement.</div>

</div><br>
<br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br></div>