Web View Settings

You can set Web view properties.

This feature is supported in mobile and TV applications only.

The main features of the Web Setting API include:

Setting a User Agent for a Running Application

Use the setUserAgentString() method to set a Web view user agent string:

function successCallback() {
    console.log('The requested user agent string has just been set successfully.' + navigator.userAgent);

/* Set a user agent string */
tizen.websetting.setUserAgentString(userAgent, successCallback);

Deleting Web View Cookies

Use the removeAllCookies() method to delete all the Web view cookies:

function CookiesRemovedSuccessCallback() {
    console.log('The cookies saved for your application have just been removed.');

  • Dependencies
    • Tizen 2.4 and Higher for Mobile
    • Tizen 3.0 and Higher for Wearable