Retourner au contenu associé (journal : firefox & thunderbird peu coopératifs)
Posté par hope le 04 mars 2004 à 22:23. En réponse au journal firefox & thunderbird peu coopératifs. Évalué à 1.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: firefox & thunderbird peu coopératifs
Posté par hope . En réponse au journal firefox & thunderbird peu coopératifs. Évalué à 1.
Grâce à tes infos j'ai trouvé un script nickel qui lance firefox s'il ne l'est pas et sinon ouvre le lien dans un nouvel onglet.
#!/bin/sh
MOZILLA="/usr/local/firefox/firefox"
if $MOZILLA -remote "ping()" 2>/dev/null
then
echo "Mozilla already launch"
location=",new-tab"
exec $MOZILLA -remote "openURL(1ドル$location)"
else
exec $MOZILLA "$@"
fi
exit 1