Google Chrome 5.0.342.1で Geolocation APIが利用可能に!
The Dev channel has been updated to 5.0.342.1 for Windows, Mac, and Linux platforms and 5.0.342.0 ChromeFrame
Google Chrome Releases: Dev Channel Update
Early version of Geolocation API now available with following caveats:
ということでデフォルトはオフなんですが、起動オプションを与えてあげるとGeolocation APIが有効になるようです。
手順は以下の通りです。
1. To enable, run the browser with --enable-geolocation
2. Wifi based location is only supported on Windows and Mac (not OSX 10.6 for now)
3. Permissions are not persisted (will re-prompt every time) and associated UI is incomplete.
MacのChromeを起動オプション付きで起動するのはどうしたらいいのか、と思い調べてみたら、
Google\ Chrome.app/Contents/Resources/
の下にarguments.txtというファイルを置いてそこに起動オプションを書いてあげればよい、というのがわかったんだけど、やってみたけどそれっぽメニューが登場していないので「?」と思ったら、ちゃんと先の手順の中で「 (not OSX 10.6 for now)」って書いてあるじゃん。
そんなわけでWindowsの人やMac OS X 10.5の人は試してみてください。
カテゴリ
コンピュータコメント
Yahooで取り上げられた記事
ブログ内検索
BlogPeople ReviewMe!
このサイトのレビューとか応援コメントを書いてもらえると励みになります。



