AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.4" />

 HtmlParserOptions

public struct HtmlParserOptions
Contains a number of options for the HTML parser.
public bool IsEmbedded { get; set; }

Gets or sets if the document is embedded.

public bool IsScripting { get; set; }

Gets or sets if scripting is allowed.