Index: ext/background.js |
=================================================================== |
--- a/ext/background.js |
+++ b/ext/background.js |
@@ -80,7 +80,7 @@ |
window.ext.showOptions = function(callback) |
{ |
- if (top.location.href.indexOf("new-options.html") == -1) |
+ if (!/\/(?:mobile|new)-options\.html/.test(top.location.href)) |
window.open("new-options.html", "_blank"); |
if (callback) |