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: README.md
+17-21Lines changed: 17 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@
5
5
[](https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)
For more information on web-ext, [read this documentation](https://extensionworkshop.com/documentation/develop/web-ext-command-reference/).
103
111
To pass additional arguments to an `npm run` command, use `--`.
104
-
Example: `npm run chrome -- --chromium-binary=...`
112
+
Example: `npm run chrome -- --chromium-binary=...`
105
113
106
114
## Building
107
115
@@ -111,25 +119,17 @@ See [gulpfile.js](gulpfile.js) for more information on `postinstall`.
111
119
npm install
112
120
```
113
121
114
-
To load unpacked or temporary addon from the [src](src) folder, you must generate the `src/manifest.json` for the desired browser.
115
-
```shell
116
-
npm run manifest:chrome
117
-
npm run manifest:firefox
118
-
```
119
-
120
-
If you would like to create a `.zip` archive of the [src](src) directory for the desired browser.
122
+
To create a `.zip` archive of the [src](src) directory for the desired browser run one of the following:
121
123
```shell
122
124
npm run build
123
125
npm run build:chrome
124
126
npm run build:firefox
125
127
```
126
128
127
-
For more information on building, see the scripts in the [package.json](package.json) file.
129
+
For more information on building, see the scripts section in the [package.json](package.json) file.
128
130
129
131
## Chrome Setup
130
132
131
-
To install for production: https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp
132
-
133
133
1. Build or Download a [Release](https://github.com/cssnr/link-extractor/releases).
134
134
1. Unzip the archive, place the folder where it must remain and note its location for later.
135
135
1. Open Chrome, click the `3 dots` in the top right, click `Extensions`, click `Manage Extensions`.
@@ -138,18 +138,14 @@ To install for production: https://chromewebstore.google.com/detail/link-extract
138
138
139
139
## Firefox Setup
140
140
141
-
To install for production: https://addons.mozilla.org/addon/link-extractor
142
-
143
-
Note: Firefox Temporary addon's will **not** remain after restarting Firefox, therefore;
144
-
it is very useful to keep addon storage after uninstall/restart with `keepStorageOnUninstall`.
145
-
146
141
1. Build or Download a [Release](https://github.com/cssnr/link-extractor/releases).
147
142
1. Unzip the archive, place the folder where it must remain and note its location for later.
148
143
1. Go to `about:debugging#/runtime/this-firefox` and click `Load Temporary Add-on...`
149
144
1. Navigate to the folder you extracted earlier, select `manifest.json` then click `Select File`.
150
-
1.Open`about:config` search for `extensions.webextensions.keepStorageOnUninstall` and set to `true`.
145
+
1.Optional: open`about:config` search for `extensions.webextensions.keepStorageOnUninstall` and set to `true`.
151
146
152
147
If you need to test a restart, you must pack the addon. This only works in ESR, Development, or Nightly.
148
+
You may also use an Unbranded Build: [https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds](https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds)
153
149
154
150
1. Run `npm run build:firefox` then use `web-ext-artifacts/{name}-firefox-{version}.zip`.
155
151
1. Open `about:config` search for `xpinstall.signatures.required` and set to `false`.
0 commit comments