this Class is ExternalInterface wrapper Interface.
Example. Flash Page access example.com and use Browser IE8
BrowserUtility.location.href // http://example.com BrowserUtility.browser.isIE // true or false BrowserUtility.browser.version // 8
provided class .
-
com.github.sugamasao.browser_utility.BrowserUtility (static class)
-
com.github.sugamasao.browser_utility.Browser
-
com.github.sugamasao.browser_utility.Location
-
BrowserUtility is Browser and Location Class Creation. from use to ExternalInterface,
-
Browser Class is check Browser brand and version.
-
Location Class is Like JavaScript ‘window.location’.
Look for ASDoc.
use BrowserUtility.location or BrowserUtility.browser.
BrowserUtility.location.href // http://example.com BrowserUtility.browser.isIE // true or false BrowserUtility.browser.version // 8
want browser or location date refresh. use to refreshxxx method.
BrowserUtility.refresshLocation.href // once agein ExternalInterface to window.location data. BrowserUtility.refreshBrowser.isIE // once agein ExternalInterface to navigator.userAgent data.
-
browser.isIE // true/false
-
browser.version // 8
Look for ASDoc.
-
location.href // example.com
-
location.hash // #hogehoge
Look for ASDoc.
-
Building OS MacOSX
-
Building Compiler FlexSDK 3.4
-
check browser is Firefox3.6 and safari4.1
this Program use ExternalInterface. See supported Browser
-
v1.3.1 add UA Test Case. IE Tests.
-
v1.3 implement toString.
-
v1.2 get Browser Version logic modified. and add by isUnknown flag and userAgent getter.
-
v1.1 add test case. and add check logic.
-
v1.0 first release.
- Author
-
sugamasao <sugamasao@gmail.com>
- License
-
MIT License