visibleAttribute

らくだ

機能

  • cite 属性のある blockquote,q,ins,del 要素の末尾に、 cite 要素の URL へのリンクを追加する。
  • datetime 属性のある ins,del 要素の title 属性に datetime 属性の内容を追加する。
  • ruby 要素の title 属性を表示するようにする。

使い方

Opera の UserJS フォルダに保存してください。

visibleAttribute クラス

コンストラクタ

visibleAttribute(className)

className
新たに生成される要素につけられる class 属性の値。

メソッド

cite(element,imageData)
cite 属性を持つ要素名 element の要素の末尾に、 cite 属性へのリンクを、 imageData を src 属性に持つ画像で表示する。
datetime(element)
datetime 属性を持つ要素名 element の要素の datetime 属性を、 title 属性に加える。
title(element)
title 属性がツールチップ表示されない要素名 element の要素を、 span 要素で囲み title 属性を表示させる。

更新履歴

2006-11-10
visibleAttribute 1.00公開。
Usertime : 0.07 / Systemtime : 0.02