Skip to main content

Crate browser_url

Crate browser_url 

Source
Expand description

§browser-url

Cross-platform library for retrieving active browser URL and detailed information.

Built on top of active-win-pos-rs for reliable window detection, with specialized browser information extraction capabilities.

§Quick Start

use browser_url::get_active_browser_url;

match get_active_browser_url() {
    Ok(info) => {
        println!("URL: {}", info.url);
    }
    Err(e) => eprintln!("Error: {}", e),
}

Re-exports§

pub use error::BrowserInfoError;

Modules§

browser_detection
error
platform
url_extraction

Structs§

BrowserInfo
WindowPosition

Enums§

BrowserType

Functions§

get_active_browser_url
Retrieve information about the currently active browser
is_browser_active