Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

facebook unsponsored is out!!!

About: Facebook unsponsored
Bonjour,

Depuis ce soir le script "facebook unsponsored" du plug-in Greasemonkey ne fonctionne plus, il n'arrête plus, en effet, les publicités imposées par "publication suggérées".

J'espère bien que SOLSKIDO va remédier au plus vite à cet inconfort, car je préfère me passer définitivement du réseau social plutôt qu'avoir à supporter ses publicités incessantes.

A suivre!
Capture.PNG
577 x 183 - 22K
Capture2.PNG
571 x 237 - 28K

Comments

  • im experiencing this too... fucking facebook assholes!!
  • godammit, why is facebook "free", but you have to watch ads
    a few people I know don't have to fight with ads ... they don't see them, but I do (I am using adblock, they are too) ...

  • This has stopped working because of the way facebook makes the posts.
    I have added the following code as line 18
    'a[href^="https://l.facebook.com/"]',


    so that the code now reads

    var sponsoredSelectors = [
    'a[href^="https://www.facebook.com/about/ads"]',
    'a[href^="https://www.facebook.com/ads/about"]',
    'a[href^="/about/ads"]',
    'a[href^="https://l.facebook.com/"]',
    'a[href^="/ads/about"]'
    ];


    this now removes the sponsored posts BUT I do not know yet what else, if anything, it removes. USE AT YOUR OWN RISK!
  • yoinkster said:

    This has stopped working because of the way facebook makes the posts.
    I have added the following code as line 18
    'a[href^="https://l.facebook.com/"]',


    so that the code now reads

    var sponsoredSelectors = [
    'a[href^="https://www.facebook.com/about/ads"]',
    'a[href^="https://www.facebook.com/ads/about"]',
    'a[href^="/about/ads"]',
    'a[href^="https://l.facebook.com/"]',
    'a[href^="/ads/about"]'
    ];


    this now removes the sponsored posts BUT I do not know yet what else, if anything, it removes. USE AT YOUR OWN RISK!

    Your filter catches also Twitter, Instagramm and Pinterest posts. I modified your filter a little bit:

    var sponsoredSelectors = [
    'a[href^="https://www.facebook.com/about/ads"]',
    'a[href^="https://www.facebook.com/ads/about"]',
    'a[href^="/about/ads"]',
    'a[href^="https://l.facebook.com/l.php"]:not([data-appname]):not([onmouseover^="LinkshimAsyncLink"])',
    'a[href^="/ads/about"]'
    ];
  • Merci beaucoup yoinster & spameru.kaste pour votre aide, vos petites modifications dans le code sont, en effet, d'une efficacité redoutable..!
  • The previous suggested change seemed a bit bulky for me - more processing to do to make sure it's not an app or link to be replaced. There are a couple specific classes that appear in Sponsored and Suggested posts that I added to the selectors list instead, which fixed it for me;

    'a[class^="_3e_2 _m8c"]',
    'span[class^="_m8d"]'

  • I'm open to suggestions on how to internationalize this script. The fix in 1.6 is for English only due to the nature of the changes Facebook has made, and my reluctance to use the minified class names. They've made it much more difficult to identify a post as an advertisement this time around.

  • There are already new ways FB is getting around the update - they now have the Sponsored text in an A element within a span instead of a div. Once again, though, they're using a unique class name that only shows up on Sponsored posts (I guess they only learn from official updates?). I added this to the sponsoredSelectors and it removed the sponsored posts that were evading everything else:

    'span[class^="_5paw _4dcu"]'

    YMMV.
Sign In or Register to comment.