Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
chrome
tabs
Module tabs
Index
Variables
onActivated
onAttached
onCreated
onDetached
onHighlighted
onMoved
onRemoved
onReplaced
onUpdated
Interfaces
CaptureVisibleTabOptions
ConnectInfo
CreateProperties
HighlightInfo
InjectDetails
MoveProperties
QueryInfo
ReloadProperties
Tab
TabActivatedEvent
TabActiveInfo
TabAttachInfo
TabAttachedEvent
TabChangeInfo
TabCreatedEvent
TabDetachInfo
TabDetachedEvent
TabHighlightInfo
TabHighlightedEvent
TabMoveInfo
TabMovedEvent
TabRemoveInfo
TabRemovedEvent
TabReplacedEvent
TabUpdatedEvent
UpdateProperties
Functions
captureVisibleTab
connect
create
detectLanguage
duplicate
executeScript
get
getCurrent
highlight
insertCSS
move
query
reload
remove
sendMessage
update
Variables
onActivated
:
TabActivatedEvent
onAttached
:
TabAttachedEvent
onCreated
:
TabCreatedEvent
onDetached
:
TabDetachedEvent
onHighlighted
:
TabHighlightedEvent
onMoved
:
TabMovedEvent
onRemoved
:
TabRemovedEvent
onReplaced
:
TabReplacedEvent
onUpdated
:
TabUpdatedEvent
Functions
captureVisibleTab
(
callback
:
(dataUrl: string) => void
)
Parameters
callback:
(dataUrl: string) => void
captureVisibleTab
(
windowId
:
number
, callback
:
(dataUrl: string) => void
)
Parameters
windowId:
number
callback:
(dataUrl: string) => void
captureVisibleTab
(
options
:
CaptureVisibleTabOptions
, callback
:
(dataUrl: string) => void
)
Parameters
options:
CaptureVisibleTabOptions
callback:
(dataUrl: string) => void
captureVisibleTab
(
windowId
:
number
, options
:
CaptureVisibleTabOptions
, callback
:
(dataUrl: string) => void
)
Parameters
windowId:
number
options:
CaptureVisibleTabOptions
callback:
(dataUrl: string) => void
connect
(
tabId
:
number
, connectInfo
?:
ConnectInfo
)
Parameters
tabId:
number
connectInfo?:
ConnectInfo
optional
create
(
createProperties
:
CreateProperties
, callback
?:
(tab: chrome.tabs.Tab) => void
)
Parameters
createProperties:
CreateProperties
callback?:
(tab: chrome.tabs.Tab) => void
optional
detectLanguage
(
callback
:
(language: string) => void
)
Parameters
callback:
(language: string) => void
detectLanguage
(
tabId
:
number
, callback
:
(language: string) => void
)
Parameters
tabId:
number
callback:
(language: string) => void
duplicate
(
tabId
:
number
, callback
?:
(tab?: chrome.tabs.Tab) => void
)
Parameters
tabId:
number
callback?:
(tab?: chrome.tabs.Tab) => void
optional
executeScript
(
details
:
InjectDetails
, callback
?:
(result: any[]) => void
)
Parameters
details:
InjectDetails
callback?:
(result: any[]) => void
optional
executeScript
(
tabId
:
number
, details
:
InjectDetails
, callback
?:
(result: any[]) => void
)
Parameters
tabId:
number
details:
InjectDetails
callback?:
(result: any[]) => void
optional
get
(
tabId
:
number
, callback
:
(tab: chrome.tabs.Tab) => void
)
Parameters
tabId:
number
callback:
(tab: chrome.tabs.Tab) => void
getCurrent
(
callback
:
(tab?: chrome.tabs.Tab) => void
)
Parameters
callback:
(tab?: chrome.tabs.Tab) => void
highlight
(
highlightInfo
:
HighlightInfo
, callback
:
(window: chrome.windows.Window) => void
)
Parameters
highlightInfo:
HighlightInfo
callback:
(window: chrome.windows.Window) => void
insertCSS
(
tabId
:
number
, details
:
InjectDetails
, callback
?:
Function
)
Parameters
tabId:
number
details:
InjectDetails
callback?:
Function
optional
move
(
tabId
:
number
, moveProperties
:
MoveProperties
, callback
?:
(tab: chrome.tabs.Tab) => void
)
Parameters
tabId:
number
moveProperties:
MoveProperties
callback?:
(tab: chrome.tabs.Tab) => void
optional
move
(
tabIds
:
Array<number>
, moveProperties
:
MoveProperties
, callback
?:
(tabs: chrome.tabs.Tab[]) => void
)
Parameters
tabIds:
Array<number>
moveProperties:
MoveProperties
callback?:
(tabs: chrome.tabs.Tab[]) => void
optional
query
(
queryInfo
:
QueryInfo
, callback
:
(result: chrome.tabs.Tab[]) => void
)
Parameters
queryInfo:
QueryInfo
callback:
(result: chrome.tabs.Tab[]) => void
reload
(
tabId
?:
number
, reloadProperties
?:
ReloadProperties
, func
?:
Function
)
Parameters
tabId?:
number
optional
reloadProperties?:
ReloadProperties
optional
func?:
Function
optional
remove
(
tabId
:
number
, callback
?:
Function
)
Parameters
tabId:
number
callback?:
Function
optional
remove
(
tabIds
:
Array<number>
, callback
?:
Function
)
Parameters
tabIds:
Array<number>
callback?:
Function
optional
sendMessage
(
tabId
:
number
, message
:
any
, responseCallback
?:
(response: any) => void
)
Parameters
tabId:
number
message:
any
responseCallback?:
(response: any) => void
optional
update
(
updateProperties
:
UpdateProperties
, callback
?:
(tab?: chrome.tabs.Tab) => void
)
Parameters
updateProperties:
UpdateProperties
callback?:
(tab?: chrome.tabs.Tab) => void
optional
update
(
tabId
:
number
, updateProperties
:
UpdateProperties
, callback
?:
(tab?: chrome.tabs.Tab) => void
)
Parameters
tabId:
number
updateProperties:
UpdateProperties
callback?:
(tab?: chrome.tabs.Tab) => void
optional
Globals
chrome
chrome
chrome.alarms
chrome.bookmarks
chrome.browserAction
chrome.browsingData
chrome.commands
chrome.contentSettings
chrome.contextMenus
chrome.cookies
chrome.declarativeWebRequest
chrome.devtools
chrome.devtools.inspectedWindow
chrome.devtools.network
chrome.devtools.panels
chrome.downloads
chrome.events
chrome.extension
chrome.fileBrowserHandler
chrome.fontSettings
chrome.history
chrome.i18n
chrome.identity
chrome.idle
chrome.input
chrome.input.ime
chrome.management
chrome.notifications
chrome.omnibox
chrome.pageAction
chrome.pageCapture
chrome.permissions
chrome.privacy
chrome.proxy
chrome.runtime
chrome.scriptBadge
chrome.socket
chrome.storage
chrome.tabs
chrome.topSites
chrome.tts
chrome.ttsEngine
chrome.types
chrome.webNavigation
chrome.webRequest
chrome.webstore
chrome.windows
onActivated
onAttached
onCreated
onDetached
onHighlighted
onMoved
onRemoved
onReplaced
onUpdated
CaptureVisibleTabOptions
ConnectInfo
CreateProperties
HighlightInfo
InjectDetails
MoveProperties
QueryInfo
ReloadProperties
Tab
TabActivatedEvent
TabActiveInfo
TabAttachInfo
TabAttachedEvent
TabChangeInfo
TabCreatedEvent
TabDetachInfo
TabDetachedEvent
TabHighlightInfo
TabHighlightedEvent
TabMoveInfo
TabMovedEvent
TabRemoveInfo
TabRemovedEvent
TabReplacedEvent
TabUpdatedEvent
UpdateProperties
captureVisibleTab
connect
create
detectLanguage
duplicate
executeScript
get
getCurrent
highlight
insertCSS
move
query
reload
remove
sendMessage
update