Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dieparteidiepartei/afd-blocker-plugin

AfD Blocker Browser Plugin
https://github.com/dieparteidiepartei/afd-blocker-plugin

Last synced: 3 months ago
JSON representation

AfD Blocker Browser Plugin

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.com/dieparteidiepartei/afd-blocker-plugin.svg?branch=master)](https://travis-ci.com/dieparteidiepartei/afd-blocker-plugin)

![AfD Blocker](app/images/icon-128.png)

# AfD Content Blocker von Die PARTEI

An alle, die das Internet zu einem besseren Ort machen möchten.
An alle, die genervt sind davon, das rechte Kleinparteien von den Medien so wichtig gemacht werden.
Nehmt euch unseren "AfD-Blocker“ vor und macht ihn noch größer, noch kompatibler, noch besser.
Damit diese bräunliche und klimaschutzfeindliche Gestern-Partei einfach noch öfter Sendepause im Netz hat.
Es danken die Grundgesetz-Fans von Die PARTEI!

## Download

- [Chrome Extension](https://chrome.google.com/webstore/detail/afd-content-blocker-from/iolepjjfgagknkdffhbkdcfmamfchdch)
- [Firefox Add-on](https://addons.mozilla.org/de/firefox/addon/afd-content-blocker/)

## Install

Install [Node.js](https://nodejs.org/en/) and run:

$ npm install

## Development

npm run dev chrome
npm run dev firefox
npm run dev opera
npm run dev edge

## Getting started

The basic functionality is implemented in `app/scripts/blocker_general.js`

Each site has its own blocker within `app/scripts`.
Try to copy one and build an additional blocker for another news website.

The blocker has to be activated in `app/manifest.json`:

"content_scripts": [
{
"matches": [
"*://www.sueddeutsche.de/*"
],
"js": [
"scripts/blocker_sueddeutsche.js"
],
"css": [
"css/overlay.css"
]
},
...
]

## Build

npm run build chrome
npm run build firefox
npm run build opera
npm run build edge

## Environment

The build tool also defines a variable named `process.env.NODE_ENV` in your scripts.

## Webextension toolbox docs

* [webextension-toolbox](https://github.com/HaNdTriX/webextension-toolbox)