mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
fix(examples.json): remove ​
There are two ​ (zero width space) in the examples.json
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"tabs.query",
|
||||
"tabs.Tab",
|
||||
"windows.getCurrent",
|
||||
"windows.Window"
|
||||
"windows.Window"
|
||||
],
|
||||
"name": "annotate-page"
|
||||
},
|
||||
@@ -195,11 +195,7 @@
|
||||
},
|
||||
{
|
||||
"description": "Dynamic theme example",
|
||||
"javascript_apis": [
|
||||
"alarms.create",
|
||||
"alarms.onAlarm",
|
||||
"theme.update"
|
||||
],
|
||||
"javascript_apis": ["alarms.create", "alarms.onAlarm", "theme.update"],
|
||||
"name": "dynamic-theme"
|
||||
},
|
||||
{
|
||||
@@ -321,10 +317,7 @@
|
||||
},
|
||||
{
|
||||
"description": "This extensions list the cookies in the active tab.",
|
||||
"javascript_apis": [
|
||||
"cookies.getAll",
|
||||
"tabs.query"
|
||||
],
|
||||
"javascript_apis": ["cookies.getAll", "tabs.query"],
|
||||
"name": "list-cookies"
|
||||
},
|
||||
{
|
||||
@@ -386,18 +379,12 @@
|
||||
},
|
||||
{
|
||||
"description": "This example shows two methods of testing an extension: running tests from within the extension, and running tests from the command line using Karma.",
|
||||
"javascript_apis": [
|
||||
"runtime.onMessage",
|
||||
"runtime.sendMessage"
|
||||
],
|
||||
"javascript_apis": ["runtime.onMessage", "runtime.sendMessage"],
|
||||
"name": "mocha-client-tests"
|
||||
},
|
||||
{
|
||||
"description": "Example of native messaging, including a Python application and an extension which exchanges messages with it.",
|
||||
"javascript_apis": [
|
||||
"browserAction.onClicked",
|
||||
"runtime.connectNative"
|
||||
],
|
||||
"javascript_apis": ["browserAction.onClicked", "runtime.connectNative"],
|
||||
"name": "native-messaging"
|
||||
},
|
||||
{
|
||||
@@ -422,10 +409,7 @@
|
||||
},
|
||||
{
|
||||
"description": "Adds a browser action icon to the toolbar. When the browser action is clicked, the add-on opens a page that was packaged with it.",
|
||||
"javascript_apis": [
|
||||
"browserAction.onClicked",
|
||||
"tabs.create"
|
||||
],
|
||||
"javascript_apis": ["browserAction.onClicked", "tabs.create"],
|
||||
"name": "open-my-page-button"
|
||||
},
|
||||
{
|
||||
@@ -468,16 +452,12 @@
|
||||
},
|
||||
{
|
||||
"description": "Allows the user to make quick notes by clicking a button and entering text into the resulting popup. The notes are saved in storage.",
|
||||
"javascript_apis": [
|
||||
"storage.local"
|
||||
],
|
||||
"javascript_apis": ["storage.local"],
|
||||
"name": "quicknote"
|
||||
},
|
||||
{
|
||||
"description": "Shows how to get details about a request's TLS connection.",
|
||||
"javascript_apis": [
|
||||
"webRequest.getSecurityInfo"
|
||||
],
|
||||
"javascript_apis": ["webRequest.getSecurityInfo"],
|
||||
"name": "root-cert-stats"
|
||||
},
|
||||
{
|
||||
@@ -565,10 +545,7 @@
|
||||
},
|
||||
{
|
||||
"description": "An example of how to use the management API for themes.",
|
||||
"javascript_apis": [
|
||||
"management.getAll",
|
||||
"management.setEnabled"
|
||||
],
|
||||
"javascript_apis": ["management.getAll", "management.setEnabled"],
|
||||
"name": "theme-switcher"
|
||||
},
|
||||
{
|
||||
@@ -578,9 +555,7 @@
|
||||
},
|
||||
{
|
||||
"description": "Demonstration of the topSites API.",
|
||||
"javascript_apis": [
|
||||
"topSites.get"
|
||||
],
|
||||
"javascript_apis": ["topSites.get"],
|
||||
"name": "top-sites"
|
||||
},
|
||||
{
|
||||
@@ -602,10 +577,7 @@
|
||||
},
|
||||
{
|
||||
"description": "Demonstrates how to use webpack to package npm modules in an extension.",
|
||||
"javascript_apis": [
|
||||
"runtime.onMessage",
|
||||
"runtime.sendMessage"
|
||||
],
|
||||
"javascript_apis": ["runtime.onMessage", "runtime.sendMessage"],
|
||||
"name": "webpack-modules"
|
||||
},
|
||||
{
|
||||
@@ -616,7 +588,7 @@
|
||||
"windows.getCurrent",
|
||||
"windows.remove",
|
||||
"windows.update",
|
||||
"windows.Window"
|
||||
"windows.Window"
|
||||
],
|
||||
"name": "window-manipulator"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user