https://github.com/sebadorn/mle
Browser extension for Firefox and Chrome to manage emotes of sub-reddits.
https://github.com/sebadorn/mle
browser-extension javascript reddit
Last synced: 11 months ago
JSON representation
Browser extension for Firefox and Chrome to manage emotes of sub-reddits.
- Host: GitHub
- URL: https://github.com/sebadorn/mle
- Owner: sebadorn
- License: other
- Created: 2012-12-16T00:53:16.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2025-04-05T09:39:53.000Z (about 1 year ago)
- Last Synced: 2025-04-09T11:48:45.451Z (about 1 year ago)
- Topics: browser-extension, javascript, reddit
- Language: JavaScript
- Homepage: https://sebadorn.de/mlp/mle/
- Size: 1.28 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My Little Emotebox
Browser extension for Firefox and Chrome to manage emotes of subreddits. Also provides a feature to see the emotes of /r/mylittlepony and /r/MLPLounge in other parts of reddit as well.
[A small project page with changelog and download links can be found here.](https://sebadorn.de/mlp/mle/)
## Forword on the project structure
The directory `all/` is where I store all the files that are shared cross-browser. The only exception is `background.js`. From there I just hardlink them to their respective places (`ln`). The script `link.sh` does this (and overwrites existing files by the same name!).
## Build it
In order to build the browser extensions I wrote the *build.sh* script. It takes two parameters; one for the browser (all, chrome, firefox) and one for the version (for example "2.12.0"). Example:
./build.sh firefox 2.12.0
There are some variables inside of some files, that will be replaced while building the extension:
* `%MLE_VERSION%` – Will be replaced with the version parameter provided when calling *build.sh*. Please note that Chrome only accepts versions in the form of point seperated numbers. So "1.9-dev" or "2.5a" wouldn't be valid.
* `%MLE_URL%` – Absolute URL to the project home page. In my case: "https://sebadorn.de/mlp/mle".
### Chrome
The build script created a ZIP file for the extension. For validation and signing this has to be uploaded to the [Chrome Web Store Developer Dashboard](https://chrome.google.com/webstore/devconsole/).
Uploaded builds can then also be downloaded as `.crx` file under "Build -> Package".
### Firefox
The build script created a ZIP file for the extension. For validation and signing this has to be uploaded to the Mozilla [Add-on Developer Hub](https://addons.mozilla.org/developers/).