From 416c7ef135d895ee5657af4522a07db918550496 Mon Sep 17 00:00:00 2001
From: teramako
Date: Thu, 25 Sep 2008 10:20:19 +0000
Subject: ニコニコ動画の表示(再生は無理)
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@19905 d0d07461-0603-4401-acd4-de1884942a52
---
haiku.js | 3 +++
1 file changed, 3 insertions(+)
(limited to 'haiku.js')
diff --git a/haiku.js b/haiku.js
index 5896b28..033459b 100644
--- a/haiku.js
+++ b/haiku.js
@@ -120,6 +120,9 @@
'' +
'' +
'';
+ } else if (/^http:\/\/www\.nicovideo\.jp\/watch\/([-\w]+)$/.test(all)){
+ str = '';
} else {
if (all.charAt(0) == "<")
str = all.replace(/(?:href|src)="(?=\/)/g,'$&http://h.hatena.ne.jp');
--
cgit v1.2.3