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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs