Skip to content

Firefox and Chrome (+Chromium based) extension to disable Reddit auto translation

License

Notifications You must be signed in to change notification settings

SeidSmatti/redditUntranslate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redditUntranslate Extension

Overview

redditUntranslate removes language parameters that are automatically added to Reddit URLs, ensuring redirection to original, non-translated content. This extension is particularly useful for users who prefer browsing Reddit in their default language without automatic translation.

Features

  • Automatic URL Redirection: Strips out the language parameters (?tl=...) from Reddit URLs.
  • Lightweight and Efficient: The extension operates seamlessly in the background with minimal impact on browsing performance.
  • Privacy-Focused: No data is collected or stored; the extension only processes URLs locally.

Installation

Mozilla and Chrome Web Store

  1. Mozilla Addons (Also work on the android version of Firefox)
  2. Chrome Web Store

To install the extension directly from GitHub (for testing only):

**For Chrome:

  1. Download the repository or clone it using the following command:

    git clone https://github.com/SeidSmatti/reddituntranslate.git
  2. Open Chrome and navigate to chrome://extensions/.

  3. Enable "Developer mode" in the top right corner.

  4. Click "Load unpacked" and select the reddit-untranslate directory from the cloned repository.

**For Firefox: s

  1. Download the repository or clone it using the following command:

    git clone https://github.com/SeidSmatti/reddituntranslate.git
  2. Open Firefox and navigate to about:debugging.

  3. Click on "This Firefox" on the left sidebar.

  4. Click on "Load Temporary Add-on..." and select the manifest.json file inside the reddit-untranslate directory from the cloned repository.

The extension should now be installed temporarily. Note that it will be removed when you restart Firefox, so repeat these steps if needed.

Usage

Once installed, redditUntranslate works automatically. Simply browse to any Reddit URL, the extension will remove any language parameters, redirecting you to the original version of the site.

Permissions

This extension requires the following permissions:

  • declarativeNetRequest: To intercept and modify network requests, ensuring the removal of language parameters from Reddit URLs.
  • declarativeNetRequestWithHostAccess: To apply the redirection rules specifically to Reddit URLs.
  • declarativeNetRequestFeedback: To monitor and ensure that the redirection rules are functioning as intended.
  • Host Access to https://*.reddit.com/*: This is necessary to apply the modifications only to Reddit URLs.

Privacy

The redditUntranslate extension does not collect, store, or transmit any personal data. All URL processing is done locally on your device.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.

An asset of the logo is from Freepik

About

Firefox and Chrome (+Chromium based) extension to disable Reddit auto translation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •