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

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



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