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

dart package to retrieve browser's data.

example/main.dart

import 'dart:convert';

import 'package:browser_data/browser_data.dart';

Future<void> main(List<String> args) async {
  // get default browser from device
  // var browser = defaultBrowser(sqlite3Path: './sqlite3.dll');

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

  // get history from this browser
  var histories = await browser.fetchHistory();

  var bookmarks = await browser.fetchBookmarks();

  // get bookmarks from this browser
  var passwords = await browser.fetchPasswords();
}

void formatPrint(Map<String, dynamic> map) {
  JsonEncoder encoder = JsonEncoder.withIndent('  ');
  String prettyprint = encoder.convert(map);
  return print(prettyprint);
}
2
likes
130
pub points
30%
popularity

Publisher

unverified uploader

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