mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
feat: add yandex browser for windows, Close #90
This commit is contained in:
@@ -28,6 +28,7 @@ const (
|
||||
operaGXName = "OperaGX"
|
||||
vivaldiName = "Vivaldi"
|
||||
coccocName = "CocCoc"
|
||||
yandexName = "Yandex"
|
||||
)
|
||||
|
||||
type Browser interface {
|
||||
|
||||
@@ -38,6 +38,8 @@ const (
|
||||
vivaldiKeyPath = "/AppData/Local/Vivaldi/Local State"
|
||||
coccocProfilePath = "/AppData/Local/CocCoc/Browser/User Data/Default/"
|
||||
coccocKeyPath = "/AppData/Local/CocCoc/Browser/Local State"
|
||||
yandexProfilePath = "/AppData/Local/Yandex/YandexBrowser/User Data/Default"
|
||||
yandexKeyPath = "/AppData/Local/Yandex/YandexBrowser/Local State"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -137,6 +139,12 @@ var (
|
||||
Name: coccocName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"yandex": {
|
||||
ProfilePath: os.Getenv("USERPROFILE") + yandexProfilePath,
|
||||
KeyPath: os.Getenv("USERPROFILE") + yandexKeyPath,
|
||||
Name: yandexName,
|
||||
New: NewChromium,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user