実験的なアイデアに問題があります。おそらく、ここで私を助けることができるのはjQueryの達人だけです:)
私は段落を持っています:
<p>Lorem Ipsum is simply dummy text of the printing
and typesetting industry. Lorem Ipsum has been the
industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and
scrambled it to make a type specimen book.</p>
そして、jQueryの助けを借りて、少なくとも4文字の「オンザフライ」onMouseOverを含むすべての単語を、各単語から作成されたリンクに変換する必要があります。
HTMLで生成したくありません(帯域幅のため、メガに成長します)。そのコードは次のようになります。
<p>
<a href="/search?q=Lorem">Lorem</a>
<a href="/search?q=Ipsum">Ipsum</a>
is
<a href="/search?q=simply">simply</a>
.........
</p>
また、テキスト装飾 onMouseOver にも感謝します。