setCurrentToDefault method

Removes any applied value from the current User Agent string, and resets it to the default for the page.

Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

Syntax

DiagnosticsUserAgentStringManager.setCurrentToDefault();

Parameters

This method has no parameters.

Return value

This method does not return a value.

See also

DiagnosticsUserAgentStringManager