Features
Adds a column to the Memrise level editor that checks each word for pronunciation audio files. If your word has no audio, you can download the files from Forvo, check if they sound good, then upload to Memrise.
Getting Started
Forvo.com offers accounts with free access to their API, but they limit use to 500 requests per day. Since that's not enough to share between all users of this script, you'll need to get your own API key and manually add it to the code after it has been installed in your browser. Follow these instructions.
- If you don't have a Forvo account already, browse to their site and sign up. If you do, skip to step 3.
- Check your email & click the link to verify your account.
- Browse to Forvo's API site and log in.
- Click on the Plans & Pricing tab and click the button for the Free Plan.
- Check the box to accept the license terms and click on the "Choose plan for free" button.
- Click on the Your account tab.
- Copy the API key (a string of letters and numbers) on the right side of the screen.
- Once the script is installed in your browser, you'll be pasting the key into the code.
Installation
I have only tested this user script on Chrome using Tampermonkey, but it should work on other browsers as well.
Firefox
- Install the Greasemonkey add-on from Mozilla.
- Add this user script through Greasemonkey.
- When Greasemonkey displays the code for your review, scroll down to where you see forvoApiKey = 'XXXXXXXXXXXXXXXXXXXXXXXXX'; and replace the Xs with your API key. Keep the quotation marks.
- Go to Memrise.com and try out the script.
Chrome
- Install the Tampermonkey extension on Chrome Store.
- Add this user script through Greasy Fork.
- When Greasy Fork displays the code for your review, scroll down to where you see forvoApiKey = 'XXXXXXXXXXXXXXXXXXXXXXXXX'; and replace the Xs with your API key. Keep the quotation marks.
- Go to Memrise.com and try out the script.
Safari
Instructions courtesy of SimpleHelp.net. Visit their site for (possibly outdated) pictures.
- First up – download SIMBL and install it (installation consists of clicking ‘next’ a bunch of times).
- Exit Safari if you’re using it.
- Next, download GreaseKit. To install it, drag the GreaseKit.bundle file to ~/Library/Application Support/SIMBL/Plugins (note: if you don’t have a SIMBL/Plugins/ folder, just create it, then drop GreaseKit.bundle into it).
- Now re-open Safari. You should see a GreaseKit entry in the Safari menu bar.
- Add this user script through Greasy Fork.
- You’ll see a bunch of JavaScript fill up your browser window, and a Safari dialog box will appear asking you to confirm the installation. Click Install.
- Scroll down to where you see forvoApiKey = 'XXXXXXXXXXXXXXXXXXXXXXXXX'; and replace the Xs with your API key. Keep the quotation marks.
- Your GreaseKit menu will now include the installed script.
- Go to Memrise.com and try out the script.
Opera
User scripts can be run by Opera without an extension, but the function needs to be explicitly enabled. These instructions should help.