Greasy Fork is available in English.

Forvo Audio in the Memrise Level Editor

Adds a column to the Memrise level/database editor with buttons to check for Forvo audio

作者
carpiediem
日安装量
0
总安装量
214
评分
1 1 1
版本
0.7
创建于
2014-11-07
更新于
2014-11-16
许可证
暂无
适用于

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.

Hosted by imgur.com

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.

  1. If you don't have a Forvo account already, browse to their site and sign up. If you do, skip to step 3.
  2. Check your email & click the link to verify your account.
  3. Browse to Forvo's API site and log in.
  4. Click on the Plans & Pricing tab and click the button for the Free Plan.
  5. Check the box to accept the license terms and click on the "Choose plan for free" button.
  6. Click on the Your account tab.
  7. Copy the API key (a string of letters and numbers) on the right side of the screen.
  8. 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

  1. Install the Greasemonkey add-on from Mozilla.
  2. Add this user script through Greasemonkey.
  3. 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.
  4. Go to Memrise.com and try out the script.

Chrome

  1. Install the Tampermonkey extension on Chrome Store.
  2. Add this user script through Greasy Fork.
  3. 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.
  4. Go to Memrise.com and try out the script.

Safari

Instructions courtesy of SimpleHelp.net. Visit their site for (possibly outdated) pictures.

  1. First up – download SIMBL and install it (installation consists of clicking ‘next’ a bunch of times).
  2. Exit Safari if you’re using it.
  3. 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).
  4. Now re-open Safari. You should see a GreaseKit entry in the Safari menu bar.
  5. Add this user script through Greasy Fork.
  6. 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.
  7. Scroll down to where you see forvoApiKey = 'XXXXXXXXXXXXXXXXXXXXXXXXX'; and replace the Xs with your API key. Keep the quotation marks.
  8. Your GreaseKit menu will now include the installed script.
  9. 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.