mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
feat: add chrome beta support for Windows (#42)
Add Chrome Beta for Windows
This commit is contained in:
+7
-6
@@ -11,12 +11,13 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
chromeName = "Chrome"
|
||||
edgeName = "Microsoft Edge"
|
||||
firefoxName = "Firefox"
|
||||
speed360Name = "360speed"
|
||||
qqBrowserName = "qq"
|
||||
braveName = "Brave"
|
||||
chromeName = "Chrome"
|
||||
chromeBetaName = "Chrome Beta"
|
||||
edgeName = "Microsoft Edge"
|
||||
firefoxName = "Firefox"
|
||||
speed360Name = "360speed"
|
||||
qqBrowserName = "qq"
|
||||
braveName = "Brave"
|
||||
)
|
||||
|
||||
type Browser interface {
|
||||
|
||||
+17
-9
@@ -12,15 +12,17 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
chromeProfilePath = "/AppData/Local/Google/Chrome/User Data/*/"
|
||||
chromeKeyPath = "/AppData/Local/Google/Chrome/User Data/Local State"
|
||||
edgeProfilePath = "/AppData/Local/Microsoft/Edge/User Data/*/"
|
||||
edgeKeyPath = "/AppData/Local/Microsoft/Edge/User Data/Local State"
|
||||
braveProfilePath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/*/"
|
||||
braveKeyPath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/Local State"
|
||||
speed360ProfilePath = "/AppData/Local/360chrome/Chrome/User Data/*/"
|
||||
qqBrowserProfilePath = "/AppData/Local/Tencent/QQBrowser/User Data/*/"
|
||||
firefoxProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-release/"
|
||||
chromeProfilePath = "/AppData/Local/Google/Chrome/User Data/*/"
|
||||
chromeKeyPath = "/AppData/Local/Google/Chrome/User Data/Local State"
|
||||
chromeBetaProfilePath = "/AppData/Local/Google/Chrome Beta/User Data/*/"
|
||||
chromeBetaKeyPath = "/AppData/Local/Google/Chrome Beta/User Data/Local State"
|
||||
edgeProfilePath = "/AppData/Local/Microsoft/Edge/User Data/*/"
|
||||
edgeKeyPath = "/AppData/Local/Microsoft/Edge/User Data/Local State"
|
||||
braveProfilePath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/*/"
|
||||
braveKeyPath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/Local State"
|
||||
speed360ProfilePath = "/AppData/Local/360chrome/Chrome/User Data/*/"
|
||||
qqBrowserProfilePath = "/AppData/Local/Tencent/QQBrowser/User Data/*/"
|
||||
firefoxProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-release/"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -37,6 +39,12 @@ var (
|
||||
Name: chromeName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"chrome-beta": {
|
||||
ProfilePath: os.Getenv("USERPROFILE") + chromeBetaProfilePath,
|
||||
KeyPath: os.Getenv("USERPROFILE") + chromeBetaKeyPath,
|
||||
Name: chromeBetaName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"edge": {
|
||||
ProfilePath: os.Getenv("USERPROFILE") + edgeProfilePath,
|
||||
KeyPath: os.Getenv("USERPROFILE") + edgeKeyPath,
|
||||
|
||||
Reference in New Issue
Block a user