Coder Social home page Coder Social logo

afd-blocker-plugin's Introduction

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

afd-blocker-plugin's People

Contributors

dieparteidiepartei avatar lycianwolf avatar mohe2015 avatar romanzipp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.