HeadData Property (.NET)

 

Type: String

 

The HeadData option can be used to instruct BrowserHawk to insert additional HTML in the <HEAD> section of the temporary "Please Wait" page displayed during an extended property test. For example, this can be used to insert your own meta tag in the header. Note that this property must be set prior to calling GetExtendedBrowser.

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("Plugin_Flash");

options.HeadData = "<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1'>";

options.PageMessage = "Please wait while we test your browser...";

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

Plugin_Flash: <% Response.Write(extBrow.Plugin_Flash); %>

</html>

 

See Also:

PageMessage Property