aboutsummaryrefslogtreecommitdiffstats
path: root/foxage2ch.js
diff options
context:
space:
mode:
Diffstat (limited to 'foxage2ch.js')
-rwxr-xr-xfoxage2ch.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/foxage2ch.js b/foxage2ch.js
index d384969..0b6e00e 100755
--- a/foxage2ch.js
+++ b/foxage2ch.js
@@ -65,8 +65,8 @@ let INFO =
<project name="Vimperator" minVersion="2.4"/>
<p></p>
<item>
- <tags>:faopen</tags>
- <spec>:fao<oa>pen</oa></spec>
+ <tags>:foxageopen</tags>
+ <spec>:foxageo<oa>pen</oa></spec>
<description><p></p></description>
</item>
</plugin>
@@ -80,8 +80,8 @@ let INFO =
<project name="Vimperator" minVersion="2.4"/>
<p></p>
<item>
- <tags>:faopen</tags>
- <spec>:fao<oa>pen</oa></spec>
+ <tags>:foxageopen</tags>
+ <spec>:foxageo<oa>pen</oa></spec>
<description><p></p></description>
</item>
</plugin>
@@ -92,6 +92,8 @@ let INFO =
(function () {
Components.utils.import("resource://foxage2ch/utils.jsm");
+
+ let cmdPrefix = liberator.globalVariables.foxage2ch_command_prefix || 'foxage';
let svc = FoxAge2chUtils.service;
const Status = {
@@ -123,7 +125,7 @@ let INFO =
);
commands.addUserCommand(
- ['fao[pen]'],
+ [cmdPrefix + 'o[pen]'],
'Open the borard from FoxAge2ch',
function (args) {
let thread = threads()[parseInt(args.literalArg.replace(/^.\s/, ''), 10) - 1];