ruffle/web/packages/extension/README.md

49 lines
1.8 KiB
Markdown
Raw Normal View History

2020-05-26 13:57:28 +00:00
# ruffle-extension
ruffle-extension is all of the power of Ruffle, in your browser.
2021-02-26 03:04:45 +00:00
Without needing websites to do anything, the browser extension automatically replaces any Flash content on websites with the Ruffle player.
2020-05-26 13:57:28 +00:00
2021-02-26 03:04:45 +00:00
It automatically negotiates with websites that do have Ruffle installed, to ensure that there is no conflict between the versions. Newer version of ruffle, either from the website or extension, will always take precedence and disable the other.
2020-05-26 13:57:28 +00:00
## Using ruffle-extension
2021-02-26 03:04:45 +00:00
The browser extension works in Chrome, Firefox, and Safari 14+.
2020-05-26 13:57:28 +00:00
2021-02-26 03:04:45 +00:00
Before you can install the extension, you must either download the [latest release](https://github.com/ruffle-rs/ruffle/releases) or [build it yourself](../../README.md).
2020-05-26 13:57:28 +00:00
### Chrome
2021-02-26 03:04:45 +00:00
These instructions also apply to Chromium-based browsers such as Edge, Opera and Brave.
- Navigate to `chrome://extensions/`.
- Turn on Developer mode in the top-right corner.
- Drag and drop the `*_extension.zip` file into the page.
Alternatively, loading unpacked can save time during development:
- Navigate to `chrome://extensions/`.
- Turn on Developer mode in the top-right corner.
- Click "Load unpacked".
- Select the `assets/` folder.
- Each time after making changes, click the reload icon.
2020-05-26 13:57:28 +00:00
### Firefox
- Navigate to `about:addons`.
- Click the gear and select "Install Add-on From File...".
2021-02-26 03:04:45 +00:00
- Select the `.xpi` file.
### Safari
- Unzip the `*_extension.zip` file.
- Run `xcrun safari-web-extension-converter path/to/unzipped_folder/`
- Click "Run on Xcode".
- Enable `Safari > Preferences > Advanced > Show Develop menu in menu bar`.
- Enable `Develop > Allow Unsigned Extensions`.
- Enable the extension by checking the box in `Safari > Preferences > Extensions`.
2020-05-26 13:57:28 +00:00
## Building, testing or contributing
2021-02-26 03:04:45 +00:00
Please see the [ruffle-web README](../../README.md).