browser_data 0.0.5 copy "browser_data: ^0.0.5" to clipboard
browser_data: ^0.0.5 copied to clipboard

dart package to retrieve browser's data.

browser_data #

pub package Last Commits GitHub repo size License
Uploaded By

browser_data is a dart package to retrieve the browser's data.

Features Windows Mac Linux
History ✔️ ✔️ ✔️
Bookmarks ✔️ ✔️ ✔️
Passwords ✔️
Downloads

Support Browsers #

  • Chromium
  • Chrome
  • Firefox
  • LibreWolf
  • Safari
  • Edge
  • Opera
  • OperaGX
  • Brave
  • Vivaldi
  • Epic
  • Avast
  • Torch
  • Orbitum
  • CentBrowser
  • Yandex

Getting Started #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  browser_data: latest

Next, we need to install this

# Dart
pub get

# Flutter
flutter packages get

Usage #

Before starting, you must download sqlite3.dll for this package.

If you want to get the default browser from the device :

import 'package:browser_data/browser_data.dart';

var browser = defaultBrowser(sqlite3Path: './sqlite3.dll');

You can also use it with a specific browser.

var browser = Chrome(sqlite3Path: './sqlite3.dll');

To get profiles from a browser.

var profiles = await browser.fetchProfiles();
// [Default, Guest Profile, Profile 1, Profile 2]

To get history from a browser. If profiles parameter is null, get from all profiles.

var histories = await browser.fetchHistory(profiles: ['Default']);

To get bookmarks from a browser.

var bookmarks = await browser.fetchBookmarks();

To get passwords from a browser.

var passwords = await browser.fetchPasswords();

Contribution #

Feel free to file an issue if you find a problem or make pull requests.

All contributions are welcome :)

Disclaimer #

I just wanted to let you know that I am not responsible for any misuse. This package is only for educational purposes.

2
likes
130
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

dart package to retrieve browser's data.

Repository (GitHub)
View/report issues

Topics

#browser #data

Documentation

API reference

Funding

Consider supporting this project:

paypal.me
ko-fi.com

License

MIT (license)

Dependencies

encrypt, ffi, logger, path, sqlite3, win32, win32_registry

More

Packages that depend on browser_data