Skip to content

Instantly share code, notes, and snippets.

@autonome
Last active July 26, 2017 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save autonome/d3f8bf4f3c8ea8518fa44feea5e3390e to your computer and use it in GitHub Desktop.
Save autonome/d3f8bf4f3c8ea8518fa44feea5e3390e to your computer and use it in GitHub Desktop.
[
{
"namespace": "showonlythesetabs",
"description": "WebExtension API to show only some tabs on the tab strip.",
"permissions": ["experiments.showonlythesetabs"],
"types": [
{
"id": "Tab",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -1,
"optional": true,
"description": "The ID of the tab."
}
}
}
],
"functions": [
{
"name": "showOnlyTheseTabs",
"type": "function",
"description": "Returns nothing.",
"async": true,
"parameters": [
{
"name": "tabs",
"type": "array",
"items": { "$ref": "Tab" }
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment