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