In Edge, I often take screenshots. My favorites bar contains some information that I need to obscure. So, I would like to create a script (a batch file or something) that I can use to quickly turn the favorites bar off.
Yes, I know that I can go into settings and turn the favorites bar off. I don't know how to manipulate the settings menu programmatically.
Possibly helpful info:
I thought a flag might look similar to this:
msedge.exe --enable-features=msEdgeDeleteBrowsingDataOnExit,msEdgeOptionB --disable-features=FeatureC
Here is a list of features: https://peter.sh/experiments/chromium-command-line-switches/, but I don't see favorites bar mentioned. I tried searching "never" and "tabs" because those are options (see fig. 1).
There might be some kind of backend-option extension that can set this to a hotkey, but I honestly couldn't find a good reference for building extensions. This was the closest thing to a reference I found: https://learn.microsoft.com/en-us/microsoft-edge/extensions-chromium/getting-started/part2-content-scripts?source=recommendations&tabs=v2
