Libraryless. Click here for Pure Java version (9684L/53K).
1 | static File chromeBookmarksFile() {
|
2 | File bookmarksDir = isWindows() |
3 | ? userDir_oneOf( |
4 | "Local Settings/Application Data/Google/Chrome/User Data/Default", |
5 | "AppData/Local/Google/Chrome/User Data/Default", |
6 | ) |
7 | : userDir(".config/google-chrome/Default");
|
8 | ret fileIfExists(newFile(bookmarksDir, "Bookmarks")); |
9 | } |
Began life as a copy of #1003291
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1026341 |
| Snippet name: | chromeBookmarksFile (tested on Linux and Windows) |
| Eternal ID of this version: | #1026341/4 |
| Text MD5: | 0b11bc5881d4223d52b106859f14d92f |
| Transpilation MD5: | 5f4aabf969ad9bc8fe47611f3292b69b |
| Author: | stefan |
| Category: | javax / native |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-11-04 22:59:09 |
| Source code size: | 341 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 500 / 639 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |