title: Can i detect and prevent JavaScript-driven redirect from within Firefox extension?
body: <p>Basically, i want to make Firefox obey "Warn me when web sites try to redirect or reload the page" user preference. Currently, this is really open sesame for any kind of doorway writers etc.</p>
  
  <p>Please find the detailed description of this misbehaviour in <a href="https://superuser.com/questions/391832/is-there-firefox-preference-for-controlling-javascript-redirect">related superuser post</a>.</p>