[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

sb-yomiuri.el



野宮です.

読売新聞の記事を観ますと,記事中に

  dart2("rectangle.tci.yomiuri.co.jp/atmoney","",10000000000000000);

といったものが必ず現れ,少々鬱陶しいので,表示されない為の対策を講じました.
ささいなことですが.

--- sb-yomiuri.el.orig  2007-11-02 07:36:04.000000000 +0900
+++ sb-yomiuri.el       2008-01-11 14:04:10.000000000 +0900
@@ -851,6 +851,7 @@
 
 (luna-define-method shimbun-make-contents :before ((shimbun shimbun-yomiuri)
                                                   header)
+    (shimbun-remove-tags "dart2([^<]+;" "")
   (shimbun-yomiuri-prepare-article shimbun header))
 
 (luna-define-method shimbun-clear-contents :around ((shimbun  shimbun-yomiuri)

---
  野宮