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
+22-8Lines changed: 22 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,16 +7,28 @@ This is a browser extension made for simplifying the mod and helper workflow on
7
7
8
8
On top of that, it always keeps the messages up-to-date with the latest version from the `helper-messages` repository.
9
9
10
-
As of right now, the extension has only been tested in Mozilla Firefox. It is possible that it works in other browsers like Chrome or Opera as well, but those are currently unsupported.
10
+
This extension has primarily been created for and tested in Mozilla Firefox. However, it should also work in Chromium-based browsers, such as Google Chrome, Opera, and modern versions of Microsoft Edge.
11
11
12
12
⚠ Please note that the helper messages may only be used on the bug tracker by helpers, moderators or Mojang staff. Do not use them yourself if you do not belong to one of these groups as it may confuse users regarding your role.
13
13
14
14
## Installation
15
-
1. Download the latest version of the extension from the [releases](https://github.com/mojira/message-extension/releases) page.
16
-
2. Open `about:addons` in your browser
17
-
3. Click on the gear icon
18
-
4. Select "Install Add-on from File..."
19
-
5. Select the downloaded file
15
+
### Firefox
16
+
1. Select the latest version of the extension on the the [releases](https://github.com/mojira/message-extension/releases) page.
17
+
2. Click on the `.xpi` file
18
+
3. Follow the instructions on the popups that show up in order to install the extension
19
+
20
+
You now have installed the extension successfully. If this is enabled in the browser settings, it will be automatically updated whenever there's a new version of it available.
21
+
22
+
### Google Chrome and other Chromium-based browsers
23
+
1. Select the latest version of the extension on the the [releases](https://github.com/mojira/message-extension/releases) page.
24
+
2. Download the `.zip` file
25
+
3. Extract the `.zip` file into a folder and place it somewhere on your system
26
+
4. Open `chrome://extensions`
27
+
5. Enable developer mode
28
+
6. Click on "Load unpacked extension"
29
+
7. Select the folder you placed the source files in
30
+
31
+
You now have installed the extension successfully. It will not be automatically updated, and on every browser restart you will be warned about having developer extensions enabled.
20
32
21
33
## Usage
22
34
When the addon recognizes a Mojira text field, it automatically highlights it in a green color to indicate that the addon is active. At the same time, it adds an additional "Add Message" button to the toolbar of that text field. You can use that button to insert messages and view all available messages along with their shortcuts.
@@ -41,10 +53,12 @@ You can configure the addon by clicking the Mojira icon in the browser's toolbar
41
53
Issues and pull requests are always very much appreciated. If you want to help developing the extension, here are a few tips:
42
54
43
55
* Run `npm i` in order to install the needed dependencies. Currently this only includes the type definitions for web extensions.
44
-
* Run `npm i -g web-ext` in order to install some handy developer tools for web extension development.
56
+
* Run `npm run build` in order to build the current version of the extension and to load the required dependencies into the correct folder.
45
57
* Run `web-ext run` in order to launch a blank instance of Firefox where your addon is running. The addon is reloaded every time a file is changed.
46
58
* You can visit `about:debugging` in that Firefox instance and access the addon's console and dev interface from the "This Firefox" tab.
47
-
* You can run `web-ext lint --self-hosted` in order to check whether the addon has any issues that might prevent it from being signed.
59
+
* You can run `npm run lint` in order to check whether the addon has any issues that might prevent it from being signed.
48
60
49
61
## Publishing
50
62
When a new version is released, it first needs to be signed by Mozilla. After this is done, the addon file is uploaded to the "releases" page and the version manifest in the `releases` branch is updated.
63
+
64
+
For the Chromium version of the extension, the file from `npm run build` can directly be used.
Copy file name to clipboardExpand all lines: manifest.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"manifest_version": 2,
3
3
"name": "Mojira Message Extension",
4
-
"version": "0.1",
4
+
"version": "0.2",
5
5
6
6
"description": "Easily access helper messages directly on Mojira by using shortcuts. Please note that the helper messages may only be used by Mojira helpers, Mojira moderators, and Mojang staff.",
0 commit comments