aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stella.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/stella.js b/stella.js
index 1880a55..ee38c7c 100644
--- a/stella.js
+++ b/stella.js
@@ -428,7 +428,7 @@ Thanks:
get title () undefined,
- get isValid () (~buffer.URL.indexOf('http://www.nicovideo.jp/watch/')),
+ get isValid () /^http:\/\/(es|www)\.nicovideo\.jp\/watch\//.test(buffer.URL),
get volume () undefined,
set volume (value) value,