main/browser-import
Functions
Section titled “Functions”connectBrowserImport()
Section titled “connectBrowserImport()”connectBrowserImport(
router,data,bookmarks,windows,enabled):void
Defined in: app/src/main/browser-import.ts:17
Connects the import from other browsers: the data service finds them and reads their bookmarks and history; imported open tabs open in new windows, where only the active tab of each window loads.
Parameters
Section titled “Parameters”router
Section titled “router”IPC router.
The data service.
bookmarks
Section titled “bookmarks”Told about imported bookmarks, for the star and bookmarks pages.
windows
Section titled “windows”Open windows.
enabled
Section titled “enabled”() => boolean
Whether a policy allows the import.
Returns
Section titled “Returns”void