この優れたサービスである Google Mobilizer: http://www.google.com/gwt/x?u=を使用して、いくつかのページのリンクを「動員」しようとしています。
div または要素内のすべてのリンクにプレフィックスを付ける方法はありますか? ?
私はこのようなものがうまくいくかもしれないと考えています:
if (window.location == $LINK)
window.location = "http://www.google.com/gwt/x?u=" + $LINK;
私はそれをコーディングする方法がわかりません。それがどのように行われたかを知っていれば、私はとても感謝しています!