[tor-bugs] #1940 [Tor Check]: Check should warn users who are not using Torbutton.

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Oct 18 11:21:55 UTC 2010


#1940: Check should warn users who are not using Torbutton.
-----------------------+----------------------------------------------------
 Reporter:  mikeperry  |       Owner:  Sebastian
     Type:  defect     |      Status:  assigned 
 Priority:  normal     |   Milestone:           
Component:  Tor Check  |     Version:           
 Keywords:             |      Parent:           
-----------------------+----------------------------------------------------

Comment(by mikeperry):

 I believe you should be able to inspect that window.__tb_hooks_run is true
 in the javascript. It might be undefined. The proper check is:

 if (typeof(window.__tb_hooks_ran) === "boolean") { user_is_torbutton(); }

 You need to do this in page javascript. Users who do not have javascript
 enabled should be informed that they are doing better than most, but they
 still should have torbutton installed anyways.

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


More information about the tor-bugs mailing list