We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
MODX Around the World
Japanese
マニュアル・テュートリアル・翻訳
事例集、テュートリアル
Search
スニペット - BrowserCheck(ブラウザ名を返す。ブラウザ判別処理などに)
☆ A M B ☆
1,231 Posts
yama
Reply #1,
17 years, 10 months ago
定番度:★ 扱いの平易度:★★★
http://etomite.com/browsesnippets.html?int_snipid=149
&lst_category=10
(直接リンクでは開くことができないので、アクセス先でURLを貼り付け直してください)
etomiteスニペット。ブラウザ名を返します。ブラウザ分岐処理などが必要な場面などに。
JavaScriptを使う方法よりもスマートかも。