Enum ExtensionPermission
- Namespace
- DotNetBrowser.Extensions
- Assembly
- DotNetBrowser.dll
The extension permission types.
public enum ExtensionPermission
Fields
ActiveTab = 2Gives temporary access to the active tab through a user gesture.
Alarms = 3Gives access to the chrome.alarms API.
Background = 4Makes Chrome start up early (as soon as the user logs into their computer—before the user launches Chrome), and shut down late (even after its last window is closed until the user explicitly quits Chrome). In DotNetBrowser this permission has no effect.
Bookmarks = 5Gives access to the
chrome.bookmarksAPI.BrowsingData = 6Gives access to the
chrome.browsingDataAPI.CertificateProvider = 7ChromeOS only. Gives access to the
chrome.certificateProviderAPI.ClipboardRead = 8Required if the extension uses
document.execCommand('paste').ClipboardWrite = 9Required if the extension uses
document.execCommand('copy')ordocument.execCommand('cut').ContentSettings = 10Gives access to the
chrome.contentSettingsAPI.ContextMenus = 11Gives access to the
chrome.contextMenusAPI.Cookies = 12Gives access to the
chrome.cookiesAPI.Debugger = 13Gives access to the
chrome.debuggerAPI.DeclarativeContent = 14Gives access to the
chrome.declarativeContentAPI.DeclarativeNetRequest = 15Gives access to the
chrome.declarativeNetRequestAPI.DeclarativeNetRequestFeedback = 17Gives access to the
chrome.declarativeNetRequestFeedbackAPI which returns information on declarative rules matched.DeclarativeNetRequestWithHostAccess = 16Gives access to the
chrome.declarativeNetRequestAPI, but requires host permissions to the request URL and initiator to act on a request.DeclarativeWebRequest = 18Gives access to the
chrome.declarativeWebRequestAPI. This API is deprecated. Check out thechrome.declarativeNetRequestAPI instead.DesktopCapture = 19Gives access to the
chrome.desktopCaptureAPI.DocumentScan = 20Gives access to the
chrome.documentScanAPI.Downloads = 21Gives access to the
chrome.downloadsAPI.DownloadsOpen = 69The permission required to use the
chrome.downloads.open()method.DownloadsUI = 70The permission required to use the
chrome.downloads.setUiOptions()method.In DotNetBrowser this method has no effect.EnterpriseDeviceAttributes = 22Gives access to the
chrome.enterprise.deviceAttributesAPI.EnterpriseHardwarePlatform = 23Gives access to the
chrome.enterprise.hardwarePlatformAPI.EnterpriseNetworkingAttributes = 24Gives access to the
chrome.enterprise.networkingAttributesAPI.EnterprisePlatformKeys = 25Gives access to the
chrome.enterprise.platformKeysAPI.Experimental = 26Gives access to the
chrome.experimental.*APIs.ExtensionPermissionUnspecified = 0Reserved value.
FileBrowserHandler = 27ChromeOS only. Gives access to the
chrome.fileBrowserHandlerAPI.FileSystemProvider = 28ChromeOS only. Gives access to the
chrome.fileSystemProviderAPI.FontSettings = 29Gives access to the
chrome.fontSettingsAPI.Gcm = 30Gives access to the
chrome.gcmAPI.Geolocation = 31Allows the extension to use the geolocation API without prompting the user for permission.
History = 32Gives access to the
chrome.historyAPI.Identity = 33Gives access to the
chrome.identityAPI.Idle = 34Gives access to the
chrome.idleAPI.LoginState = 35ChromeOS only. Gives access to the
chrome.loginStateAPI.Management = 36Gives access to the
chrome.managementAPI.NativeMessaging = 37Gives access to the native messaging API.
Notifications = 38Gives access to the
chrome.notificationsAPI.Offscreen = 39Gives access to the
chrome.offscreenAPI.PageCapture = 40Gives access to the
chrome.pageCaptureAPI.PlatformKeys = 41ChromeOS only. Gives access to the
chrome.platformKeysAPI.Power = 42Gives access to the
chrome.powerAPI.PrinterProvider = 43Gives access to the
chrome.printerProviderAPI.Printing = 44ChromeOS only. Gives access to the
chrome.printingAPI.PrintingMetrics = 45ChromeOS only. Gives access to the
chrome.printingMetricsAPI.Privacy = 46Gives access to the
chrome.privacyAPI.Process = 47Gives access to the
chrome.processesAPI.Proxy = 48Gives access to the
chrome.proxyAPI.Scripting = 49Gives access to the
chrome.scriptingAPI.Search = 50Gives access to the
chrome.searchAPI.Sessions = 51Gives access to the
chrome.sessionsAPI.Storage = 52Gives access to the
chrome.storageAPI.SystemCpu = 53Gives access to the
chrome.system.cpuAPI.SystemDisplay = 54Gives access to the
chrome.system.displayAPI.SystemMemory = 55Gives access to the
chrome.system.memoryAPI.SystemStorage = 56Gives access to the
chrome.system.storageAPI.TabCapture = 57Gives access to the
chrome.tabCaptureAPI.TabGroups = 58Gives access to the
chrome.tabGroupsAPI.Tabs = 59Gives access to privileged fields of the Tab objects used by several APIs including
chrome.tabsandchrome.windows. In many circumstances your extension will not need to declare the "tabs" permission to make use of these APIs.TopSites = 60Gives access to the
chrome.topSitesAPI.Tts = 61Gives access to the
chrome.ttsAPI.TtsEngine = 62Gives access to the
chrome.ttsEngineAPI.Unknown = 1An unknown permission type.
UnlimitedStorage = 63Provides an unlimited quota for storing client-side data, such as databases and local storage files. Without this permission, the extension is limited to 10 MB of local storage.
VpnProvider = 64ChromeOS only. Gives access to the
chrome.vpnProviderAPI.Wallpaper = 65ChromeOS only. Gives access to the
chrome.wallpaperAPI.WebAuthenticationProxy = 71Gives access to the
chrome.webAuthenticationProxyAPI.Gives access to the
chrome.webNavigationAPI.WebRequest = 67Gives access to the
chrome.webRequestAPI.WebRequestBlocking = 68Required if the extension uses the
chrome.webRequestAPI in a blocking fashion.