Improvements to Mixer, similar to FFZ for Twitch. Available for both Google Chrome and Mozilla Firefox. The Chrome build should also support all Chromium-based browsers which allow you to install Chrome webstore extensions (e.g. Edge, Opera, Brave).
Join the Better Mixer Discord server to report bugs, get help, request features, and chat with the developers!
Go to the Better Mixer self-service to add FFZ/BTTV emotes to your channel.
This extension is packaged for release with these commands:
# Node 12+
npm install --save-dev
npm run package
Visit the Issues tab and check if your bug report/feature request has already been submitted. If it has not (or if the issue has been erronously closed), you may open a new issue. Please describe what occurred or what you want in as much detail as possible.
In the case of a bug report, if you know how to do so, provide the console logs (either as a screenshot or saved as a .log file) and, if the issue is memory-related, provide a heap snapshot.
For Firefox, set up the development environment below and run the serve:firefox
npm script.
Note: Do NOT add additional dependencies without first asking to see if it's okay. This includes JavaScript libraries, build tools, and external stylesheets.
# Run ESLint manually
npm run lint
# Fix linting errors where possible
npm run lint:fix
# Build the extension with sourcemaps
npm run build:dev
# Build the extension without sourcemaps
npm run build
# Build the extension with sourcemaps and start watching for changes
npm run watch
# Start Firefox with the extension installed
# Note that this does not start a watch,
# so you should have a watch running alongside this
# for the smoothest experience
npm run serve:firefox
# Start Chrome with the extension installed
# The advice for serve:firefox still applies
npm run serve:chrome
# Build and package extension
npm run package
# Build and package the extension as a user script
npm run package:script
Better Mixer uses various tools to make development run as smoothly as possible. To set these up, install node, and then run
npm install --save-dev
To avoid requiring any global package installs, gulp-cli
is listed as a devDependency rather than a global install. If you wish to use gulp CLI tools on your command line, you'll need to install gulp-cli
globally:
npm install -g gulp-cli
If you're using Visual Studio Code, install the ESLint extension and add these lines to your workspace settings:
{
"eslint.enable": true,
"eslint.options": {
"configFile": ".eslintrc",
"extensions": [".js", ".ts"]
},
"eslint.lintTask.enable": true,
"eslint.validate": [
"javascript",
{
"language": "typescript",
"autoFix": true
},
]
}
Optionally, you can also add these lines which provide the schema for manifest.json
, though it's unlikely that they will be necessary.
{
"json.schemas": [
{
"fileMatch": [
"/Extension/manifest.json"
],
"url": "http://json.schemastore.org/chrome-manifest"
}
]
}