-
Notifications
You must be signed in to change notification settings - Fork 1
utilities
Bohdan Potměkleč edited this page Nov 17, 2019
·
2 revisions
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
Unknown arguments
| Type | Argument | Notes |
|---|---|---|
function |
blockThirdParty |
| Type | Argument | Notes |
|---|---|---|
string |
contentSetting | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
integer |
tabId | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
utilities.SharedDataValue |
keyValuePair | |
function |
callback | (Optional) |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
Unknown arguments
| Type | Argument | Notes |
|---|---|---|
string |
legacyUserId | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
integer |
tabId | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
string |
url | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
integer |
tabId |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
| Type | Argument | Notes |
|---|---|---|
array |
accepts | (Optional) |
string |
title | (Optional) |
utilities.SelectFileDialogType |
type | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
object (utilities.SelectLocalImageParams) |
params | Must have property title (title of the dialog window), and exactly one of preferencePath (path to a preference from vivaldi.prefs; that pref must contain URL data) and thumbnailBookmarkId (ID of bookmark the image should be assigned to), all of type string. |
function |
callback |
(Optional) Takes one parameter: (boolean) if the image was chosen (or the dialog was closed without choosing one). |
Opens system file chooser dialog to select an image (thumbnail for a bookmark or any image set in vivaldi.prefs) and assigns URL to it to the bookmark or pref (if successful).
| Type | Argument | Notes |
|---|---|---|
boolean |
block3rdParty | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
string |
contentSetting | |
string |
value | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
utilities.DialogName |
dialogName | |
integer |
windowId | |
object |
position | |
utilities.FlowDirection |
flowDirection | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
string |
locale | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
array |
colors | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
utilities.SharedDataValue |
keyValuePair | |
function |
callback | (Optional) |
| Type | Argument | Notes |
|---|---|---|
string |
startup | |
array |
urls | |
function |
callback |
| Type | Argument | Notes |
|---|---|---|
function |
callback |
Invokes OS Password Authenticator
| Value | Notes |
|---|---|
CHROMECAST |
|
PASSWORD |
| Value | Notes |
|---|---|
DOWN |
|
UP |
| Value | Notes |
|---|---|
FILE |
|
FOLDER |