We are using Browser Field to display our browser-based application,
But we set the User-Agent property to '9000' 0r higher versions,
we are getting the message
"This page uses JavaScript and requires a JavaScript enabled browser.
Your browser is not JavaScript enabled".
although we have the enabled the java script:
Code snippet for enabling java script:
// Enable javascript.
_renderingSession.getRenderingOptions().setProperty(RenderingOptions.CORE_OPTIONS_GUID, RenderingOptions.JAVASCRIPT_ENABLED, true);
As per the current scenario im BrowserField,
a) Browser Field Setting for 'User-Agent' Header property:
When the user does not set the value in the browser Field
and the 'User-Agent' goes as null
Behaviour:
the navigation does not work as the source for the navigation is not set.
b) Browser Field Setting for 'User-Agent' Header property :
When the User-Agent is set to 9000 or higher versions.
Behaviour:
It shows the message "This page uses JavaScript and requires a JavaScript enabled browser.
Your browser is not JavaScript enabled".
c) When the User-Agent is set to 8830.
Behaviour:
It works as expected.
We need to use the right user-agent property of the device as we are rendering stylesheets based on this property.
Thanks,
Navaneeth