Closed FH-Inway closed 4 months ago
So if this ever needs to be able to fly - we should look into this:
Initial testing on a CHE.
The session
property inside the Secure Preferences
file seems to be the one we are looking for. The file lives inside the "$($env:LOCALAPPDATA)\google\chrome\user data\default"
path
...
"session": {
"restore_on_startup": 4,
"startup_urls": [
"http://www.newz.dk/"
]
}
....
The path for edge is 99% the same:
"$($env:LOCALAPPDATA)\edge\chrome\user data\default"
the file should be the same
The restore_on_startup
property value is also important to investigate.
The bookmarks
file in the mentioned location are the one that we need to work against, when talking about adding bookmark.
The only thing that I fear is the checksum value inside the file.
But looking at this old Stack Overflow post: https://stackoverflow.com/questions/53941613/remove-chrome-bookmarks-with-powershell
It should be doable.
Maybe we wait for the new 10.0.21 VHD to see if Edge is installed out of the box on it? It should be at some point, because Microsoft has been announcing for a while now that IE will no longer be supported.
I'm in favor for waiting to see what comes in terms of pre-installed browser on the latest buidl.
Did we ever see a new VHD released? @FH-Inway
The new 10.0.24 VHD seems to have Edge preinstalled. However, CHEs still seem to come with IE.
Let's wait to see when the images align in terms of the default browser.
I'm on top of this one.
Working notes:
C:\Users\Admin....\AppData\Local\Microsoft\Edge\User Data\Default\Bookmarks
C:\Users\Admin....\AppData\Local\Google\Chrome\User Data\Default\Bookmarks
{
"guid": "f771bd6c-d545-4225-af25-127c4112ce1e",
"id": "2",
"name": "DAT",
"type": "url",
"url": "https://devdevaos.axcloud.dynamics.com/?cmp=DAT&mi=DefaultDashboard"
}
roots.bookmark_bar.children
<- Array
{
"checksum": "643384ba009fdf0a31527f5990c79531",
"roots": {
"bookmark_bar": {
"children": [ {
"guid": "f771bd6c-d545-4225-af25-127c4112ce1e",
"id": "2",
"name": "DAT",
"type": "url",
"url": "https://devdevaos.axcloud.dynamics.com/?cmp=DAT&mi=DefaultDashboard"
} ],
Forcing Show Fav Bar -- Always
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"FavoritesBarEnabled"=dword:00000001
Show bar - possible to hide (C:\Users\Admin....\AppData\Local\Microsoft\Edge\User Data\Default\Preferences
)
{
"aadc_info": {
"age_group": 0
},
{
....
},
"bookmark_bar": {
"show_on_all_tabs": true,
"show_only_on_ntp": false
},
@Splaxi Think we are done here.
Currently, there is Set-D365FavoriteBookmark to add a bookmark for an D365FO environment or Azure DevOps org in Internet Explorer as well as show and lock the favorites toolbar.
It would be nice to extend this to the other supported browsers and by default use the default browser.
Another idea is to streamline the installation of the task recorder extension for screenshots.