aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chrome/content/code/redirector.prototype.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/content/code/redirector.prototype.js b/chrome/content/code/redirector.prototype.js
index 23400d4..bcc9036 100644
--- a/chrome/content/code/redirector.prototype.js
+++ b/chrome/content/code/redirector.prototype.js
@@ -184,6 +184,10 @@ Redirector.prototype = {
//We only redirect documents...
return;
}
+
+ if (!this._prefs.enabled) {
+ return;
+ }
if (!newLocation) {
return;