Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dieparteidiepartei/afd-blocker-plugin
- Owner: dieparteidiepartei
- License: isc
- Created: 2019-05-10T16:11:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T01:46:28.000Z (almost 2 years ago)
- Last Synced: 2024-07-18T08:46:25.632Z (4 months ago)
- Language: JavaScript
- Size: 1.13 MB
- Stars: 285
- Watchers: 15
- Forks: 30
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.MD
- License: LICENSE
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)