Greasy Fork is available in English.

AdBlock for Facebook

Block / Hide "Sponsored" posts on Facebook

Estas são as versões deste script em que houve atualização do código. Mostar todas versões.

  • v1.6 09/08/2019 Fix script not working due to facebook not creating the stream_pagelet element until first post loads. Ads may show for 1.5 seconds, but will be blocked after that.
  • v1.5 01/04/2019 Facebook has apparently loading sponsored posts asynchronously. Asynchronous loading of posts was causing sponsored posts to not contain ad content for some time if the user was scrolling slowly. As a result, such posts were getting marked as "not ads" and were not re-scanned when the sponsored content was inserted. This new version fixes that issue by using a checksum to re-scan posts when their innerText changes.
  • v1.12 13/03/2019 Turn off script for pages other than news feed to prevent errors
  • v1.11 13/03/2019 Hide ads instead of deleting them because deleting them now breaks the Facebook site. This is an important update.
  • v1.04 05/03/2019 Add URL tag abDbg=true for debug mode
  • v1.03 03/03/2019 Comment out console.log statements to stop unnecessary clutter of console
  • v1.02 03/03/2019 Recently, Facebook has started randomly inserting newlines in the "Sponsored" declaration, so about 1/3 to 1/2 of the ads were not getting blocked. This issue has been fixed for this version and all ads are blocked at time of update
  • v1.01 21/02/2019 Hide ads with CSS instead of deleting them to prevent them from being re-inserted
  • v1.0 21/02/2019 Slight code refactoring / debugging improvements
  • v0.9 21/02/2019 Stop constant console messages
  • v0.1 21/02/2019