Mozilla/$(MOZILA_VER) ($(DEVICE_TYPE); $(OS); $(PLATFORM) $(PLATFORM_VER); SAMSUNG $(MODEL_NAME) Build/$(BUILD_TAG)) AppleWebKit/$(APPLEWEBKIT_VER) (KHTML, like Gecko) $(APP_NAME)/$(APP_VER) (Chrome/$(CHROME_VER)) $(UX RECOMMEND) Safari/$(SAFARI_VER)
$(DEVICE\_TYPE)
SMART-TV
$(PLATFORM) $(PLATFORM\_VER)
SAMSUNG
$(MODEL\_NAME)
MODEL\_NAME
Build/$(BUILD\_TAG))
$(APP\_NAME)/$(APP\_VER)
SamsungBrowser/version
(Chrome/$(CHROME\_VER))
$(UX\_RECOMMEND)
Mobile
TV
VR
Users can explicitly request PC content from Samsung Internet for Android via the "More > Desktop version". User agent string format for desktop version request is as follows.
Mozilla/$(MOZILA\_VER) (X11; Linux x86\_64) AppleWebKit/$(APPLEWEBKIT\_VER) (KHTML, like Gecko) $(APP\_NAME)/$(APP\_VER) (Chrome/$(CHROME\_VER)) Safari/$(SAFARI\_VER)
Example:
Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.2 Chrome/51.0.2704.106 Safari/537.36
Mozilla/$(MOZILA_VER) ($(DEVICE_TYPE); $(OS); $(PLATFORM) $(PLATFORM_VER); SAMSUNG $(MODEL_NAME) Build/$(BUILD_TAG)) AppleWebKit/$(APPLEWEBKIT_VER) (KHTML, like Gecko) Version/$(PLATFORM_VER) (Chrome/$(CHROME_VER)) $(UX RECOMMEND) Safari/$(SAFARI_VER)
Version/$(PLATFORM\_VER)
$(APP\_NAME)/$((APP\_VER)
※ if the $(PLATFORM\_VER) is less than 4.0, than it is not a Web Application.
$(PLATFORM\_VER)
Other fields are same with Web browser.
Please check below for existing Samsung Internet for SmartTV UA.
Identify the Samsung Internet for SmartTV by using the “SMART-TV” keyword.
Mozilla/5.0 (SMART-TV; Linux; Tizen 2.3) AppleWebkit/538.1 (KHTML, like Gecko) SamsungBrowser/1.0 TV Safari/538.1
Mozilla/5.0 (SMART-TV; X11; Linux armv7l) AppleWebkit/537.42 (KHTML, like Gecko) Safari/537.42
Mozilla/5.0 (SMART-TV;X11; Linux i686) AppleWebkit/535.20+ (KHTML, like Gecko) Version/5.0 Safari/535.20+
Mozilla/5.0 (SMART-TV; X11; Linux i686) AppleWebKit/534.7 (KHTML, like Gecko) Version/5.0 Safari/534.7
Mozilla/5.0 (SmartHub; SMART-TV; U; Linux/SmartTV) AppleWebKit/531.2 (KHTML, like Gecko) Web Browser/1.0 SmartTV Safari/531.2+
Previous: UA String used in devices before 2015
Current: New UA String used in
Mobile : 2015 and later released devices, and Android 5.0 Lollipop updated devices (with the small number of exceptions)
TV : Tizen SmartTV Web Browser 2015 and later
Previous (Samsung Galaxy Note Edge): Mozilla/5.0 (Linux; Android 4.4.4; en-au; SAMSUNG SM-N915G Build/KTU84P) AppleWebKit/537.36 (KTHML, like Gecko) Version/2.0 Chrome/34.0.1847.76 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 4.4.4; en-au; SAMSUNG SM-N915G Build/KTU84P) AppleWebKit/537.36 (KTHML, like Gecko) Version/2.0 Chrome/34.0.1847.76 Mobile Safari/537.36
Current (Samsung Internet for Android 4.0): Mozilla/5.0 (Linux; Android 5.0.2; SAMSUNG SM-G925F Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/4.0 Chrome/44.0.2403.133 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 5.0.2; SAMSUNG SM-G925F Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/4.0 Chrome/44.0.2403.133 Mobile Safari/537.36
Mozilla/5.0 (Linux; Tizen 2.3; SAMSUNG SM-Z130H) AppleWebKit/537.3 (KHTML, like Gecko) SamsungBrowser/1.0 Mobile Safari/537.3
Mozilla/5.0 (Linux; Tizen 2.3; SAMSUNG SM-Z130H) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.3 Mobile Safari/537.3
Mozilla/5.0 (SMART-TV; Linux; Tizen 2.2; SAMSUNG SM-Z910F) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.2 TV Safari/538.1
Mozilla/5.0 (Linux; Android 5.0.2; SAMSUNG SM-G925K Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/4.0 Chrome/44.0.2403.133 Mobile VR Safari/537.36
Request for Mobile Content
Request for TV Content
If $(DEVICE\_TYPE) is “SMART-TV” or $(UX\_RECOMMEND) is “TV”, it is proper for TV content. If the web page is not suitable for the TV Web Browser, provide the web page for Tablet or PC version (Tablet web page is preferred over the PC version). ※Consider the Resize Event※ On the Resize Event, focus should be maintained on the Input field so that the user of the TV web browser can input characters and symbols using Samsung IME.
Samsung Smart TV uses both fields: “SMART-TV” for $(DEVICE\_TYPE) and “TV” for $(UX\_RECOMMEND).
Do not use Flash content. Use HTML5 <VIDEO> for video, and JavaScript and CSS3 for animation and effects.
<VIDEO>
Request for PC Content
“Samsung” is not used for Mobile Only. “Samsung” is not a good identifier for Mobile.
Samsung
“Tizen” is not used for Mobile Only. “Tizen” is also not a good identifier for Mobile.
Tizen
$(PLATFORM): Android can be used for Mobile and Tablet (PC); Tizen can be used for Mobile and TV.
$(PLATFORM)
The following table shows how the identifiers and proper contents are related.
$(DEVICE_TYPE)
Samsung recommends the use of Chrome development tool or Chrome's user agent switcher extension to verify the contents on the Samsung web browser. Refer to Chrome developer site. Change to the example UA strings. http://developer.chrome.com/devtools/docs/device-mode#screen-emulator
Step 1. Open the test web page on the desktop Chrome Browser.
Step 2. Activate developer mode (Pressing F12) and activate device mode (Pressing Ctrl + Shift + M)
Step 3. Enter the Samsung UA string and screen resolution that you want to test. For Samsung Tizen smartphone SM-Z130H Kiran, screen resolution is 480X800 and UA string is “Mozilla/5.0 (Linux; Tizen 2.3; SAMSUNG SM-Z130H) AppleWebKit/537.3 (KHTML, like Gecko) SamsungBrowser/1.0 Mobile Safari/537.3"
For TV, Turn off the Flash option. Refer to screen below. The test guide is provided below: - Chrome Browser: Settings -> Content settings
If unable to test with Chrome Browser, a FireFox Browser with the add-on from the following link is another option. https://addons.mozilla.org/ko/firefox/addon/user-agent-switcher/?src=search Refer to developer site for the FireFox add-on: http://chrispederick.com/work/user-agent-switcher/ Change to the example UA strings.