Greasy Fork is available in English.

Facebook Chat Offline Hide ajax figuccio

mostra solo persone online chat Facebook

// ==UserScript==
// @name        Facebook Chat Offline Hide ajax figuccio
// @namespace   https://greasyfork.org/users/237458
// @include     https://*.facebook.com/*
// @author      figuccio
// @require     http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js
// @grant       GM_getValue
// @grant       GM_setValue
// @version     0.4
// @description mostra solo persone online chat Facebook
// ==/UserScript==
var $j =jQuery.noConflict();
  console.log("running now...");
  setInterval(function () {
  $j('._42fz').each(function (i, obj) {
    var $jfound = $j(this).find("span")
    if ($jfound.length === 0) {
      console.log($j(this));
      $j(this).hide();
    }
     }, 1000);
  });