Skip to content

A browser extension to redirect Stack Exchange/Overflow scrapers to the official website.

License

Notifications You must be signed in to change notification settings

y0lopix/fake-stackexchange-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake Stack Exchange redirect

This extension automatically redirects the user from websites displaying translated Stack Exchange questions to the corresponding Stack Exchange forum (e.g. Stack Overflow), on the original question page.

These websites are filled with advertisements and they just collect Stack Exchange questions in bulk to translate them automatically in various languages. Only a few of these fake websites mention the original source, so it's sometimes difficult to find the real Stack Exchange page. Moreover, the link that redirects to the original page is often not working properly.

Successfully tested on Chromium 97.

Currently, only QA Stack is supported. Compatibility will be extended to more websites soon.

Download and install

  • For Firefox: download this extension from Firefox Add-ons

  • For other browsers (Chrome, Edge, Brave, Opera...): download this extension from the Chrome Web Store

Build instructions

Prerequisites

Provided versions are for reference only, you can probably use any version of these programs.

  • GNU Make 4.3
  • Oxipng 5.0.1 (to optimize icons)
  • Inkscape 1.1.1 (to create PNG icons for Chromium browsers)
  • Info-ZIP's Zip 3.0 (to pack files in a zip file)
  • ImageMagick (to add padding to the 128px icon)

Build the extension

make

The extension will be built as fake-stackexchange-redirect.zip