File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -495,12 +495,12 @@ HTTPSEverywhere.prototype = {
495495 var ssl_observatory = CC [ "@eff.org/ssl-observatory;1" ]
496496 . getService ( Components . interfaces . nsISupports )
497497 . wrappedJSObject ;
498- // FIXME This prefs code is terrible spaghetti
498+ // Show the popup at most once. Users who enabled the Observatory before
499+ // a version that would have shown it to them, don't need to see it
500+ // again.
499501 var shown = ssl_observatory . myGetBoolPref ( "popup_shown" ) ;
500- // this is relevant if the user just installed torbutton bad had
501- // enabled the Observatory previously
502502 var enabled = ssl_observatory . myGetBoolPref ( "enabled" ) ;
503- if ( ! shown && ! enabled && ssl_observatory . torbutton_installed )
503+ if ( ! shown && ! enabled )
504504 this . chrome_opener ( "chrome://https-everywhere/content/observatory-popup.xul" ) ;
505505 }
506506 return ;
You can’t perform that action at this time.
0 commit comments