browser_data 0.0.3 browser_data: ^0.0.3 copied to clipboard
dart package to retrieve browser's data.
browser_data #
browser_data
is a dart package to retrieve browser's data.
Features #
- ✅ History
- ✅ Bookmarks
- ❌ Downloads
- ❌ Passwords
Support Browsers #
- Chromium
- Chrome
- Firefox
- LibreWolf
- Safari
- Edge
- Opera
- OperaGX
- Brave
- Vivaldi
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 start you must need to download sqlite3.dll for use this package.
If you want to get default
browser from device :
import 'package:browser_data/browser_data.dart';
var browser = defaultBrowser(sqlite3Path: './sqlite3.dll');
You can use also with a specific browser.
var browser = Chrome(sqlite3Path: './sqlite3.dll');
To get history
from a browser.
You can limit history count.
var outputs = await browser.fetchHistory(limit: 10);
To get bookmarks
from a browser.
var outputs = await browser.fetchBookmarks();
Contribution #
Feel free to file an issue if you find a problem or make pull requests.
All contributions are welcome :)