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

Re: [tor-bugs] #17599 [Tor Browser]: Please add keyboard shortcuts for New Identity and New Tor Circuit for this Site



#17599: Please add keyboard shortcuts for New Identity and New Tor Circuit for this
Site
------------------------------------------+--------------------------------
 Reporter:  cypherpunks                   |          Owner:  tbb-team
     Type:  enhancement                   |         Status:  needs_revision
 Priority:  Medium                        |      Milestone:
Component:  Tor Browser                   |        Version:
 Severity:  Normal                        |     Resolution:
 Keywords:  tbb-usability, tbb-torbutton  |  Actual Points:
Parent ID:                                |         Points:
  Sponsor:                                |
------------------------------------------+--------------------------------
Changes (by cypherpunks):

 * status:  new => needs_revision


Comment:

 I've tried to implement this myself, but didn't get it to work.

 '''torbutton.js:'''
 {{{
 var { Hotkey } = require("sdk/hotkeys");

 var torbutton_hotkey_new_circuit = Hotkey({
   combo: "accel-shift-l",
   onPress: function() {
     torbutton_new_circuit();
   }
 });
 var torbutton_hotkey_new_identity = Hotkey({
   combo: "accel-shift-u",
   onPress: function() {
     torbutton_new_identity();
   }
 });
 }}}

 What could be the problem? Is it some isolation in TBB that's not allowing
 a hotkey listener?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17599#comment:5>
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