Re: [tor-talk] Tor Flashproxy Badge as Firefox Extension

2013-03-30 Thread Sebastian G. bastik.tor
23.03.2013 19:31, Christian Sturm:
 Hello,
 
[...]
 
 I might put the code on GitHub or so later.

Please do that.

 
 https://addons.mozilla.org/de/firefox/addon/tor-flashproxy-badge/

You could make this available for Thunderbird as well. I modified the
install.rdf and was able to add it and I assume it works, although I'm
not seeing the badge. Maybe it's possible to change that easily.
Thunderbird 18 has Websockets enabled.

It should work with SeaMonkey as well.

Regards,
Sebastian G. (bastik_tor)

___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


Re: [tor-talk] Tor Flashproxy Badge as Firefox Extension

2013-03-27 Thread Christian Sturm

Am 26.03.2013 23:45, schrieb Sebastian G. bastik.tor:

26.03.2013 23:18, Christian Sturm:

Am 26.03.2013 11:25, schrieb Sebastian G. bastik.tor:

It works for me. I even saw it turn light blue, today.


That's intersting. Did you really try it on Firefox? I can only get the
bundle working on Chrome. I tried running it in debug mode and receive
an Operation is insecure message.


It's Firefox 19.0.2 (32bit) (German) on Windows 7 64bit SP1.

I can't tell which version of the addon it was. It was 0.0.1 yesterday.

I (re-)started the browser today and saw it turn light blue somewhen.
Later I looked at the addons and saw your's had updated to 0.0.2 (don't
know when exactly).

I didn't restart the browser (since your addon is restartless updates
might work without restart) since then and it turned light blue again.


Thank you. I think it was related to using HTTPS. Using the HTTP it 
works. Shouldn't harm anyone I think. I changed this and as soon as 
Mozilla verfied it it will be released, in case anyone else is having 
troubles.

___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


Re: [tor-talk] Tor Flashproxy Badge as Firefox Extension

2013-03-26 Thread Sebastian G. bastik.tor
25.03.2013 21:31, Christian Sturm:

 There's a spelling mistake for the German description.

 Warhscheinlich hilfe ein Neustart von Firefox.
 should be
 Wahrscheinlich hilft ein Neustart von Firefox.
 
 Thank you, I will fix that.

The Warhscheinlich is still wrong :)

 The code should be viewable. I think you can open it like a zip.

It is even on their website. I knew that xpi is just a renamed zip.
Thank you.

 I am not sure, whether it works anymore. Somehow the button turns black,
 which could be a general problem with Flashproxy though. No Firefox
 support? Maybe use another library? I wonder whether socket.io or sockjs
 could be used, since they allow fallbacks. Would be really interesting.

It works for me. I even saw it turn light blue, today.

I saw it turn light blue on the website a couple of times, but most of
time I'm not looking at it.

With your addon I don't see how often it got used either if I don't pay
any attention. Would it be possible to add some sort of counter to see
how often it got activated since the last restart?

On mouse-over it shows Tor Flashproxy badge, maybe it could be dynamic
and show Tor Flashproxy badge (N) where N is how often it the badge
was used by clients.

Nothing to complicated I don't want to increase the complexity to much.

Regards,
bastik_tor
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


Re: [tor-talk] Tor Flashproxy Badge as Firefox Extension

2013-03-25 Thread Christian Sturm

Am 25.03.2013 19:08, schrieb Sebastian G. bastik.tor:

23.03.2013 19:31, Christian Sturm:

Hello,

I really like Cupcake for Chrome and recommended it to many friends.
However, I didn't have a simple way to do this on Firefox, so I thought
I'd create something like that.

Since I never ever created an extension before and it's really just a
few lines of code that should turn on the cookie and adds the badge it
doesn't look really good.

Currently it's basically what the iframe does (+adding the flashproxy
browser cookie, so it still works, should it become opt-in only). I hope
it is helpful to people using Firefox and want a quick way to become a
relay. Sorry it doesn't look really good yet.

I might put the code on GitHub or so later.

https://addons.mozilla.org/de/firefox/addon/tor-flashproxy-badge/


Hi,

thank you for creating an addon for this.

There's a spelling mistake for the German description.

Warhscheinlich hilfe ein Neustart von Firefox.
should be
Wahrscheinlich hilft ein Neustart von Firefox.


Thank you, I will fix that.


I don't know if it's Mozilla or Firefox, but XPIs are meant to be
installed. Right click and Save as.. doesn't work. You have to use
another browser to download the xpi in order to inspect it.

Nothing personal. I can't read code and would not notice anything
strange, although I wouldn't expect anything nasty inside.


The code should be viewable. I think you can open it like a zip.


Do you know if the folder addon-sdk is required? It's the largest part
of the addon.


Well, I did it using the Addon-SDK, which is recommended for various 
reasons. I will see how it develops in future.



I gave it a try and it works fine I guess.


I am not sure, whether it works anymore. Somehow the button turns black, 
which could be a general problem with Flashproxy though. No Firefox 
support? Maybe use another library? I wonder whether socket.io or sockjs 
could be used, since they allow fallbacks. Would be really interesting.



The addon appears to set a cookie for the path
/flashproxy/
while the options page set a cookie for the path
/


Oh? I thought cookies were domainwide. I will have a look on it.


This makes it impossible to disable the proxy on its option page. Since
your cookie contains a 1 all the time. The cookie from the option page
might be 1 or 0, while 0 gets ignored if your cookie is also present.


I noticed this too. Cool, now I know how to fix it.


According to the addon addons memory it takes around 5.60 MB of
memory. Can this be optimized?


Maybe related to the SDK. I will have a look on it, once I have more time.


Thank you for creating the extension.


Thanks so much for testing and providing feedback! :)

___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


[tor-talk] Tor Flashproxy Badge as Firefox Extension

2013-03-23 Thread Christian Sturm

Hello,

I really like Cupcake for Chrome and recommended it to many friends. 
However, I didn't have a simple way to do this on Firefox, so I thought 
I'd create something like that.


Since I never ever created an extension before and it's really just a 
few lines of code that should turn on the cookie and adds the badge it 
doesn't look really good.


Currently it's basically what the iframe does (+adding the flashproxy 
browser cookie, so it still works, should it become opt-in only). I hope 
it is helpful to people using Firefox and want a quick way to become a 
relay. Sorry it doesn't look really good yet.


I might put the code on GitHub or so later.

https://addons.mozilla.org/de/firefox/addon/tor-flashproxy-badge/
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk