Facebook Typing Detector

Alerts you when you have an opened chat window and that person is typing. Might be usefull to stalk who's stalking you

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// Alerts you when you have an opened chat window and that person is typing 
// might be usefull to stalk who's stalking you
//
// ==UserScript==
// @name    Facebook Typing Detector
// @description Alerts you when you have an opened chat window and that person is typing. Might be usefull to stalk who's stalking you
// @date    2019-10-20
// @version  1.1
// @grant    none
// @include	https://facebook.com/*
// @include	https://www.facebook.com/*
// @namespace https://greasyfork.org/users/389185
// ==/UserScript==


 setInterval(function(){ 
  if(document.getElementsByClassName("_31o4 _3njy").length > 0)
  {
     alert("Yo, someone's typing"); 
  } 
 }, 1000);