Giter Site home page Giter Site logo

amboxer21 / fb-block Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensoars/fb-block

0.0 1.0 0.0 184 KB

Chrome extension that blocks ALL request made to the main Facebook domain and its subdomains

License: MIT License

JavaScript 80.68% HTML 19.32%

fb-block's Introduction

fb-block

Code Climate Inline docs

Chrome extension that blocks ALL request made to the main Facebook domain and its subdomains.


Why block Facebook?

A while ago, I decided to delete my Facebook account because of the way Facebook is getting used nowadays. In my opinion it wasn't much more than a data feed of complete utter bullshit. Fake happy messages and shit. So I was happy when facebook gave me the message that my account was 'deleted'. The first thing I went to do after this lovely message, was to check my cookies, cache and local storage for anything related to Facebook. To my surprise (not) there were still cookies left. A cookie named datr with a unique identifier. Oh wow, Facebook is still tracking me, such a lovely way to end a relationship between a company and its clients.

I wanted to get rid of this cookie by using a service recommended by Facebook: http://www.youronlinechoices.eu. I was told this would stop companies like Facebook tracking me for "advertising purposes". So, I let this wonderful application scan my cookies. And yes, it told me that Facebook was tracking me. After which I was letting the application get rid of everything that Facebook uses to track me. And I received a message telling me that Facebook was no longer tracking me, what a nice tool! How surprising to find out that the datr cookie was still present. Actualy the application caused Facebook to refresh the datr cookie, so I'd be tracked for an even longer period. This was all not really that surprising to me, but what really did surprise me is the following. When I didn't even have any Facebook cookies set, and I ran the tool recommended by Facebook, I was told that I was not being tracked by Facebook. Thats right, I WAS not being tracked, until I used the tool. Another datr cookie was set. To sum that up:

  • Case: already being tracked
    • I wanted to get rid of Facebook tracking me
    • I used a tool recommended by Facebook to opt-out of the tracking
    • The tool told me that I was no longer being tracked whilst still being tracked
  • Case: not being tracked
    • I wanted to check whether I was being tracked by Facebook, knowing I was not being tracked
    • I used a tool recommended by Facebook to find out if I was being tracked and if so, to opt-out of it
    • The tool told me that I was not being tracked, after which I checked my cookies and found the datr tracking cookie set by Facebook.

The datr cookie I mentioned was set to the domains .facebook.com and facebook.com/ which means it will be send along with every HTTP request to the main Facebook website, well that makes sense. But more concerning, it was also send along with every request made to a facebook.com subdomain. Well, I never visit a single Facebook page, neither do I browse to one of its subdomains, so I should be in the clear right? Well no.. the web is cluttered with Facebook social plugins, and each of them made requests to either facebook.com or one of its subdomains. Meaning, I was still being tracked by Facebook after all these steps:

  • Request an account deletion
  • Confirming the account deletion
  • Clearing my cookkies
  • Using a tool recommended by Facebook to opt-out of their tracking which was not saying anything about setting cookies or the possibility of cookies being set by trackers.

Well, just fuck Facebook, so here is fb-block!

Install

  • Clone or download source code.
  • Browse to chrome://extensions
  • Check the box Developer mode shown at the top of the chrome://extensions page.
  • Click load unpacked extensions and browse to the direcotry you cloned or downloaded fb-block in and select the fb-block directory.

Use

Click the extension popup button (Facebook 'f' logo with a red cross) and click the button to toggle whether to block Facebook or not. This popup also shows how much requests to Facebook are blocked, in total and in the current browsing session.

fb-block's People

Contributors

opensoars avatar

Watchers

Anthony Guevara 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.