aboutsummaryrefslogtreecommitdiffstats
path: root/nico_related_videos.js
diff options
context:
space:
mode:
Diffstat (limited to 'nico_related_videos.js')
-rw-r--r--nico_related_videos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/nico_related_videos.js b/nico_related_videos.js
index ce0cc1a..40700ec 100644
--- a/nico_related_videos.js
+++ b/nico_related_videos.js
@@ -26,7 +26,7 @@
(function () {
function getVideoId () {
- let m = buffer.URL.match(/^http:\/\/www\.nicovideo\.jp\/watch\/([a-z0-9]+)/);
+ let m = buffer.URL.match(/^http:\/\/(?:tw|es|de|www)\.nicovideo\.jp\/watch\/([a-z0-9]+)/);
return m && m[1];
}