[tor-bugs] #3513 [EFF-HTTPS Everywhere]: Make XUL links torbutton-compatible.

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jul 1 19:14:52 UTC 2011


#3513: Make XUL links torbutton-compatible.
----------------------------------+-----------------------------------------
 Reporter:  pde                   |          Owner:  pde
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:     
Component:  EFF-HTTPS Everywhere  |        Version:     
 Keywords:                        |         Parent:     
   Points:                        |   Actualpoints:     
----------------------------------+-----------------------------------------
 <mikeperry> btw, I discovered that torbutton is going to block all of the
 links on the HTTPS everywhere XUL pages
 <mikeperry> because it can't find the opener for the window.open calls
 <mikeperry> (this is a relic of enforcing toggle security so that popups
 cannot be opened in a new tor state)
 <mikeperry> if you replace window.open with:
 Components.classes['@mozilla.org/appshell/window-
 mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow('navigator:browser').open
 it should work in all cases

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


More information about the tor-bugs mailing list