electron-browser-history
This module will gather browser history from common internet browsers. Given a time frame. It's not required Node-gyp or any C/C++. It will attempt to read from some common locations.
Supported operating systems
- Windows
- Mac
- Linux (only Firefox and Chrome)
Supported browsers
Browser | Windows | Mac | Linux |
---|
Google Chrome | ✅ | ✅ | ✅ |
Maxthon | ❌ | ✅ | ❌ |
Microsoft Edge | ✅ | ✅ | ❌ |
Mozilla Firefox | ✅ | ✅ | ✅ |
Opera | ✅ | ✅ | ❌ |
Seamonkey | ✅ | ✅ | ❌ |
Torch | ✅ | ❌ | ❌ |
Vivaldi | ✅ | ✅ | ❌ |
Brave | ✅ | ✅ | ❌ |
Avast Browser | ✅ | ✅ | ❌ |
How to Install
npm install electron-browser-history
OR
yarn install electron-browser-history
Notes
- You may experience slow downs when dealing with browser that have a larger browser history.
How to Use
const BrowserHistory = require('electron-browser-history');
import {
getAllHistory,
getFirefoxHistory,
getSeaMonkeyHistory,
getChromeHistory,
getMicrosoftEdge,
getBraveHistory,
getOperaHistory,
getTorchHistory,
getMaxthonHistory,
getVivaldiHistory
} from 'electron-browser-history'
getAllHistory(10).then(function (history) {
console.log(history);
});
getFirefoxHistory(10).then(function (history) {
console.log(history);
});
getSeaMonkeyHistory(10).then(function (history) {
console.log(history);
});
getChromeHistory(10).then(function (history) {
console.log(history);
});
getOperaHistory(10).then(function (history) {
console.log(history);
});
getTorchHistory(10).then(function (history) {
console.log(history);
});
getBraveHistory(10).then(function (history) {
console.log(history);
});
getMaxthonHistory(10).then(function (history) {
console.log(history);
});
getVivaldiHistory(10).then(function (history) {
console.log(history);
});