Skip to main content

browser_for_identifier

Function browser_for_identifier 

Source
pub fn browser_for_identifier(
    identifier: &str,
    platform: &str,
) -> Option<&'static str>
Expand description

Match a raw OS identifier (bundle id, .desktop name or ProgId) to a canonical browser id. Comparison is case-insensitive because the registry and the operating systems disagree on casing.