Giter Club home page Giter Club logo

filter-bubble's Introduction

Filter Bubble

Filter Bubble is a browser add-on/extension for Chrome and Firefox that enables you to hide content that you don't want to see on the web.

How it works

  1. Create a list of "topics" that you want to hide or remove from specific websites
  2. Configure rules for these websites by specifying CSS selectors that target the HTML elements of the content blocks or feed items that might contain any of the targeted topics
  3. If a targeted topic appears in a targeted HTML element on a targeted website, then it'll be hidden or removed from view

n.b. Only a handful of websites are configured out of the box, and you'll need to know how to target HTML elements using CSS selectors in order to configure additional websites!

filter-out topics

website-specific query selectors

Developing

Getting Started

  1. Install node > v10.19.0
  2. Install npm > v6.14.4
  3. npm install
  4. npm run web-ext

Developing for Android

Follow the Extension Workshop guide:

  • Enable Android "Developer Options"

  • Remote Debugging via USB in Firefox for Android

  • Connect your device to your computer via USB

  • Install Android Platform Tools

  • Enable "Remote Debugging via USB" from Firefox Android -> Settings -> Developer Tools

  • Create /etc/udev/rules.d/50-android-usb.rules with the following content:

    SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"

    Replace the value for idVendor with the one from dmesg, eg:

    New USB device found, idVendor=18d1, idProduct=4ee7, bcdDevice= 5.15
sudo apt install adb android-sdk-platform-tools-common

# You may need to restart the adb server if you have a previous manual installation
sudo adb kill-server
sudo adb start-server

adb devices

Your device will now prompt you to authorize the computer. Once authorized, continue with the instructions for web-ext:

device="$(adb devices  2>&1| awk '/./{device=$1} END{print device}')"
echo Device \"${device}\"

./node_modules/.bin/web-ext run --target=firefox-android --android-device=${device}

# If you have multiple Firefox versions installed, then you can disambiguate using the `--firefox-apk` flag.
./node_modules/.bin/web-ext run \
    --target=firefox-android \
    --android-device=${device} \
    --firefox-apk=org.mozilla.firefox

Alternatively, you can run: npm run web-ext-android-firefox

Publishing

npm run package-production
ls web-ext-artifacts/

filter-bubble's People

Contributors

andornaut avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

alpy91

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.