AdBlock for Facebook

Block / Hide "Sponsored" posts on Facebook

Verze ze dne 13. 03. 2019. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
thorlancaster
Hodnocení
0 0 0
Verze
1.11
Vytvořeno
21. 02. 2019
Aktualizováno
13. 03. 2019
Size
3,2 KB
Licence
neuvedeno
Spustit na

This script blocks ads on Facebook that use the word "Sponsored" or contains those letters in that order with other characters from "Sponsored" thrown in between.

As of the time posting it works great on the English version of Facebook.

This script works differently than other sponsored-post blockers in that it does not try to match a list of possible patterns. In addition, posts that have been scanned and are not ads are marked with a special variable. The above improvements make the performance impact of this script minimal (around 4ms with 100 posts on page).

Due to Facebook's ever-changing ad-obfusciation techniques, this script may periodically fail to block sponsored posts. To determine the cause of the error, add "abDbg=true" as a URL parameter. Normal posts will then be colored green and sponsored posts red. If a post is not colored, the checkAds() function is missing some posts. If a sponsored post is green, the isAd() function is at fault.