/wordsponge

Word Sponge

Primary LanguageJavaScript

Word Sponge

Word Sponge is a Chrome extension that helps you learn a new language by replacing words on web pages with their translations. Simply download the extension, choose the language you want to learn, and start browsing the web!

Features

  • Easy installation and setup
  • Choose from a variety of languages to learn
  • Replace words on any web page with their translations
  • Click on translated words to switch back to the original word
  • Automatically refreshes words list once per day
  • Only replaces words in regular text, not in attributes such as classes or data tags
  • Does not replace words inside <a> tags or <input> tags
  • Uses local storage to store the words list, avoiding unnecessary requests to the server
  • Follows strict privacy and security guidelines and policies of the Chrome Web Store

Installation Now

  1. Download the wordsponge.zip file.
  2. Extract the contents of the zip file to a folder on your computer.
  3. Open Google Chrome and navigate to the extensions page by typing chrome://extensions into the address bar.
  4. Enable Developer mode by clicking the toggle switch in the top-right corner of the page.
  5. Click on the "Load unpacked" button in the top-left corner of the page.
  6. Navigate to the folder where you extracted the zip file, and select it.
  7. Click on the "Select Folder" button to load the extension.

Installation

  1. Go to the Chrome Web Store page for Word Sponge.
  2. Click on the "Add to Chrome" button to add the extension to your browser.
  3. Once installed, click on the Word Sponge icon in the top-right corner of your browser to open the options page.
  4. Choose the language you want to learn from the dropdown menu, and click on "Save" to update your preferences.

That's it! You're now ready to start browsing the web and learning a new language.

Usage

  • Navigate to any web page in your browser.
  • Any words on the page that match the words list for your chosen language will be replaced with their translations.
  • Click on a translated word to switch back to the original word.

Contributing

If you'd like to contribute to Word Sponge, please fork the repository and submit a pull request. All contributions are welcome, including bug fixes, feature requests, and translations for additional languages. Please note that by submitting a contribution, you agree to license your contribution for free to the creators and under any additional licenses we add to this project in the future.

Forking Your Own

If you'd like to fork your own, you can do so easily by forking this repository. You could, for example, add word lists directly into the extension. My version of the extension checks for updates to the word list every 24 hours from thewordsponge.com, but you could host your own site or use a different method to update the word list.

How to Change Language

  1. Install the extension
  2. Go to "thewordsponge.com" and click a new language
  3. Click the "confirm" button too.