diff options
Diffstat (limited to 'account_switcher.js')
-rw-r--r-- | account_switcher.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/account_switcher.js b/account_switcher.js index 8567103..4573611 100644 --- a/account_switcher.js +++ b/account_switcher.js @@ -170,7 +170,7 @@ liberator.accountSwitcherOpenNewTab = 1; if (value.indexOf('=') > 0) { params.push(value); } else { - res.responseText.match(new RegExp('(<.*\\bname=\"' + value + '\".*?>)')); + res.responseText.match(new RegExp('(<[\\S\\s]*?name=\"' + value + '\"[\\S\\s]*?>)')); RegExp.$1.match(/value=\"([a-zA-Z0-9-_]+)\"/); params.push(value + '=' + encodeURIComponent(RegExp.$1)); } |