You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: microsoft-edge/extensions-chromium/getting-started/extension-sideloading.md
+70-18Lines changed: 70 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,77 +6,129 @@ ms.author: msedgedevrel
6
6
ms.topic: conceptual
7
7
ms.service: microsoft-edge
8
8
ms.subservice: extensions
9
-
ms.date: 10/04/2024
9
+
ms.date: 01/15/2025
10
10
---
11
11
# Sideload an extension to install and test it locally
12
12
13
13
To test an extension quickly and safely, sideload the extension in your own copy of Microsoft Edge, which means locally installing the extension. You can then run and test your extension without having to upload the extension to the Microsoft Edge Add-ins website (the _store_) and then install the extension from there.
This article assumes that your local drive contains an extension that you want to load, such as a sample from the [MicrosoftEdge-Extensions](https://github.com/microsoft/MicrosoftEdge-Extensions) repo.
20
+
21
+
If you want to obtain the samples, see [Clone the MicrosoftEdge-Extensions repo](./picture-viewer-popup-webpage.md#clone-the-microsoftedge-extensions-repo) in _Sample: Picture viewer pop-up webpage_.
To sideload an extension into Microsoft Edge, so that it's locally installed in your browser for testing:
20
28
21
-
1. In Microsoft Edge, click the **Extensions** () button, next to the Address bar, if this icon is displayed. Or, select **Settings and more** (...) > **Extensions**. The **Extensions** pop-up opens:
29
+
1. Go to a webpage, such as [TODO app](https://microsoftedge.github.io/Demos/demo-to-do/), in a new window or tab. For some samples, this step is optional and is just to match the screenshots below; some samples don't require a webpage to be open.
30
+
31
+
1. In Microsoft Edge to the right of the Address bar, if this icon is displayed, click the **Extensions** () button. Or, select **Settings and more** () > **Extensions**.
32
+
33
+
The **Extensions** pop-up opens:
22
34
23
35

24
36
25
37
1. Click **Manage extensions**. The **Extensions** management page opens in a new tab:
26
38
27
-

39
+

28
40
29
41
1. Turn on the **Developer mode** toggle.
30
42
31
43
1. When installing your extension for the first time, click the **Load unpacked** () button. The **Select the extension directory** dialog opens.
32
44
33
-
1. Select the directory that contains the extension's source files, such as `manifest.json`, and then click the **Select Folder** button.
45
+
1. Select the directory that contains the extension's source files, such as `manifest.json`.
34
46
35
-
Example path for [Sample: Picture viewer pop-up webpage](./picture-viewer-popup-webpage.md):
47
+
Example path for the **Picture viewer pop-up webpage** sample:
The **Select the extension directory** dialog closes.
42
58
43
59
The extension is installed in your browser, similar to extensions that are installed from the store:
44
60
45
-

61
+

46
62
47
-
1.To run the extension, first open a webpage, if the extension requires that a webpage is open. For example, go to a webpage, such as [Microsoft.com](https://www.microsoft.com), in a new window or tab.
63
+
1.If the extensionrequires that a webpage is open, make sure a webpage is open, such as [TODO app](https://microsoftedge.github.io/Demos/demo-to-do/).
48
64
49
-
1. In the upper right of Microsoft Edge, click the **Extensions** () button. Or, select **Settings and more** (...) > **Extensions**.
65
+
1. In Microsoft Edge to the right of the Address bar, click the **Extensions** () button. Or, select **Settings and more** () > **Extensions**.
1. Click the extension's icon or name. The extension opens, and the extension's icon is added next to the Address bar and Extensions () icon:
71
+
1. Click the extension's icon or name. The extension opens, and the extension's icon is added next to the Address bar and **Extensions** () button:
To update an extension that's been installed locally (sideloaded) in your browser:
64
80
65
-
1. Make any required changes to the extension.
81
+
1. Make any required changes to the extension, and save changes.
82
+
83
+
1. In Microsoft Edge, if the **Extensions** management tab is open, click it.
84
+
85
+
Or, to the right of the Address bar, if this icon is displayed, click the **Extensions** () button. The **Extensions** pop-up opens. Click **Manage extensions**.
66
86
67
-
1. Go to `edge://extensions`.
87
+
Or, select **Settings and more** () > **Extensions** > **Manage extensions**.
68
88
69
-
1. Click the **Reload** button for the sideloaded extension. The updated extension is reloaded.
89
+
The **Extensions** management tab is displayed.
90
+
91
+
1. Click the **Reload** link in the extension's card.
92
+
93
+
1. Depending on the sample, you might need to refresh the webpage where the sample was run.
To remove an extension that's been installed locally (sideloaded) in your browser:
76
100
77
-
1. Go to `edge://extensions`.
101
+
1. In Microsoft Edge, if the **Extensions** management tab is open, click it.
102
+
103
+
Or, to the right of the Address bar, if this icon is displayed, click the **Extensions** () button. The **Extensions** pop-up opens. Click **Manage extensions**.
104
+
105
+
Or, select **Settings and more** () > **Extensions** > **Manage extensions**.
106
+
107
+
The **Extensions** management tab is displayed.
108
+
109
+
1. Click the **Remove** link in the extension's card.
## Error reporting in the Extensions management page
114
+
115
+
If running an extension causes an error, in some cases, an **Error** link is added in the extension's card in the **Extensions** management page between the **Remove** and **Reload** links.
116
+
117
+
1. In Microsoft Edge, if the **Extensions** management tab is open, click it.
118
+
119
+
Or, to the right of the Address bar, if this icon is displayed, click the **Extensions** () button. The **Extensions** pop-up opens. Click **Manage extensions**.
120
+
121
+
Or, select **Settings and more** () > **Extensions** > **Manage extensions**.
122
+
123
+
The **Extensions** management tab is displayed.
124
+
125
+
1. Click the **Error** link in the extension's card.
126
+
127
+
1. Fix the error in the extension's code.
128
+
129
+
1. In the **Extensions** management page, click the **Reload** link.
78
130
79
-
1.On the extension, click **Remove**.
131
+
1.To make the **Error** link in the extension's card go away, in the **Extensions** management page, click the **Clear errors** button.
0 commit comments