All Projects → tiratatp → Facebook_adblock

tiratatp / Facebook_adblock

Licence: gpl-3.0
An open-source Ad Blocker for Facebook™

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Facebook adblock

Darkness
Dark Themes for Popular Websites
Stars: ✭ 467 (+295.76%)
Mutual labels:  facebook, chrome-extension
Projectfib
Chrome extension to flag fake news on Facebook. Built at HackPrinceton '16
Stars: ✭ 741 (+527.97%)
Mutual labels:  facebook, chrome-extension
Shrinktome
📘Shrink facebook by 5% every 10th second. You're welcome!
Stars: ✭ 15 (-87.29%)
Mutual labels:  facebook, chrome-extension
React Chrome Extension
Boilerplate code to build a Chrome extension in React
Stars: ✭ 112 (-5.08%)
Mutual labels:  chrome-extension
Flutter auth buttons
Flutter buttons for social platforms
Stars: ✭ 114 (-3.39%)
Mutual labels:  facebook
Serverlog
A simple, practical and innovative Node.js log library that enables you to view logs in Chrome dev tools and browser Console.
Stars: ✭ 117 (-0.85%)
Mutual labels:  chrome-extension
Serverless To Cgi Bin
A browser extension that replaces occurrences of 'serverless' with 'cgi-bin'
Stars: ✭ 119 (+0.85%)
Mutual labels:  chrome-extension
Paodin
Chrome / Firefox browser extension that integrates word translation, sentences collection, and words memory
Stars: ✭ 112 (-5.08%)
Mutual labels:  chrome-extension
Polydev
Automatic web components profiling in chrome devtools
Stars: ✭ 118 (+0%)
Mutual labels:  chrome-extension
Vertical Tabs Chrome Extension
A chrome extension that presents your tabs vertically. Problem solved.
Stars: ✭ 117 (-0.85%)
Mutual labels:  chrome-extension
Skeletonview
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
Stars: ✭ 10,804 (+9055.93%)
Mutual labels:  facebook
Github Vscode Icons
📦 vscode-icons for github, nearly 1000 file/folder icons
Stars: ✭ 113 (-4.24%)
Mutual labels:  chrome-extension
Draft Js Typeahead
Typeaheads for Draft.js inspired by Facebook.com 🔭
Stars: ✭ 117 (-0.85%)
Mutual labels:  facebook
Deepface
Keras implementation of the renowned publication "DeepFace: Closing the Gap to Human-Level Performance in Face Verification" by Taigman et al. Pre-trained weights on VGGFace2 dataset.
Stars: ✭ 113 (-4.24%)
Mutual labels:  facebook
Editchromethemes
A guide to editing Chrome themes
Stars: ✭ 118 (+0%)
Mutual labels:  chrome-extension
Youdao Collins Chrome Extension
A chrome extension to help you search english words in collins dict.
Stars: ✭ 112 (-5.08%)
Mutual labels:  chrome-extension
Facebook Video Downloader
Facebook Video Downloader in PHP
Stars: ✭ 117 (-0.85%)
Mutual labels:  facebook
Ui Mention
Facebook-like @mentions for text inputs built around composability
Stars: ✭ 115 (-2.54%)
Mutual labels:  facebook
Web Extension Starter
Typescript, React, Redux, Styled-Component and Webpack based sample extension boilerplate. Runs on Chrome and Firefox. Sample chrome extension.
Stars: ✭ 115 (-2.54%)
Mutual labels:  chrome-extension
Solvedac Plugin
(Deprecated) 백준 온라인 저지 문제들에 난이도 붙여 주는 서비스 - 브라우저 플러그인
Stars: ✭ 117 (-0.85%)
Mutual labels:  chrome-extension

facebook_adblock

An open-source Ad Blocker for Facebook™

This extension is 100% free and open source.

Installation

Chrome

https://chrome.google.com/webstore/detail/ad-blocker-for-facebook/kinpgphmiekapnpbmobneleaiemkefag

Chrome Web Store Chrome Web Store Chrome Web Store

Firefox

https://addons.mozilla.org/en-US/firefox/addon/fb_ad_block/ (Thanks to Chih-Hsuan Yen)

Mozilla Add-on Mozilla Add-on Mozilla Add-on

Enjoy!

We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Facebook.

Facebook is a registered trademark of the Facebook, Inc.

Building

  1. Run npm run release
  2. The compiled extension should be in dist/
  3. Load the unsigned extension into your browser

Debugging

All processed DOM elements are flagged with data-blocked attribute. Possible values are:

  • allowedList: allowed list
  • blockedList: blocked due to blocked list check
  • sponsored: blocked due to sponsored label

You can use dev tools console with CSS selectors like *[data-blocked] or *[data-blocked=sponsored].

For example add inline style properties to all existing hidden sponsored posts:

document.querySelectorAll("*[data-blocked=sponsored]").forEach((x) => {
  x.style.display="inherit";
  x.style.border="red 10px solid";
});

You can also inject css which applies to both existing and new processed elements:

document.head.insertAdjacentHTML("beforeend",
`<style>
  *[data-blocked] {
    display:inherit !important;
    border: red 10px solid;
  }
  *[data-blocked=allowedList] {
    border-color: green;
  }
</style>`);

Publishing

  1. Tag a commit with a string with this format v*.*.*
    • git tag -a v2.0.0
  2. Push a tag to Github
  3. Github action should publish the extension to both Firefox and Chrome
    • Firefox should be released in a couple of minutes
    • Chrome can take as long as a few months if it needs a review
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].