diff options
author | anekos | 2013-04-06 17:34:25 +0900 |
---|---|---|
committer | anekos | 2013-04-06 17:34:25 +0900 |
commit | d26934599d3df506f21e1ead94483d4e351b703c (patch) | |
tree | 7491fd55b918b97964f092571a8dfb8ae03ba64c /account_switcher.js | |
parent | 05896438474f55d3a569b983c46457a602cff0f6 (diff) | |
download | vimperator-plugins-d26934599d3df506f21e1ead94483d4e351b703c.tar.bz2 |
ミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョ
Diffstat (limited to 'account_switcher.js')
-rw-r--r-- | account_switcher.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/account_switcher.js b/account_switcher.js index 4ad1caa..5678759 100644 --- a/account_switcher.js +++ b/account_switcher.js @@ -1,4 +1,4 @@ -var PLUGIN_INFO = +var PLUGIN_INFO = xml` <VimperatorPlugin> <name>{NAME}</name> <description>Switch account easily.</description> @@ -50,7 +50,7 @@ liberator.accountSwitcherOpenNewTab = 1; ||< ]]></detail> -</VimperatorPlugin>; +</VimperatorPlugin>`; (function(){ var services = []; var accounts = []; @@ -180,7 +180,7 @@ liberator.accountSwitcherOpenNewTab = 1; if (value.indexOf('=') > 0) { params.push(value); } else { - res.responseText.match(new RegExp('<([^<>]*?name=\"' + value + '\"[^<>]*?)>')); + res.responseText.match(new RegExp('<([^`]*?name=\"' + value + '\"[^`]*?)>')); RegExp.$1.match(/value=\"([\w-]+)\"/); params.push(value + '=' + encodeURIComponent(RegExp.$1)); } |