Skip to content

dieparteidiepartei/afd-blocker-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

AfD Blocker

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

Install

Install Node.js 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

About

AfD Blocker Browser Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published