Adding bookmark to web browser from external applications

c#, powershell

Solution

For IE :

You need to create a link file here :

c#

   Environment.GetFolderPath(Environment.SpecialFolder.Favorites)

Powershell

 [Environment]::GetFolderPath( [System.Environment+SpecialFolder]::Favorites)

Chrome:

You need to add entry in json format file `bookmarks` (with no extension):

on `Win7` is

C:\Users\<YOURUSERNAME>\AppData\Local\Google\Chrome\User Data\Default\

Firefox:

The bookmarks are stored in a `SQLite`:

../Application Data/Mozilla/Firefox/Profiles/{your firefox profile}/places.sqlite 

Using `System.Data.SQLite` you can try to add link, but I can't help you more.

Can't help you for Safari and Opera

Problem

Does anyone know if it is possible to add bookmark to web browsers (Safari, IE, FF, Chrome, Opera) from external applications ?

Original source