#include <Eina.h>
#include <Elementary.h>
#include <Evas.h>
+#include <vconf.h>
static const int DEFAULT_WIDTH = 800;
static const int DEFAULT_HEIGHT = 600;
/* set a file containing certificates for recognized SSL Certificate Authorities */
ewk_context_certificate_file_set(ewk_context_default_get(), "/var/lib/ca-certificates/ca-bundle.pem");
+ const char* userAgentString = vconf_get_str("db/browser/user_agent/user_agent_profile_desktop");
+ if (userAgentString)
+ ewk_view_user_agent_set(app_data->webview, userAgentString);
+ else
+ ewk_view_user_agent_set(app_data->webview, "Mozilla/5.0 (Linux; Tizen 3.0 IVI; sdk) AppleWebKit/537.3 (KHTML, like Gecko) Version/3.0 Safari/537.3");
+
// Ewk_Settings *settings = ewk_view_settings_get(app_data->webview);
// ewk_settings_file_access_from_file_urls_allowed_set(settings, EINA_TRUE);
// ewk_settings_enable_frame_flattening_set(settings, frame_flattening_enabled);