10ff Logout Message

tells you if you aren't logged in anymore

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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 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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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!)

// ==UserScript==
// @name         10ff Logout Message
// @namespace    http://tampermonkey.net/
// @version      0.111
// @description  tells you if you aren't logged in anymore
// @author       Ayasu/godsblade
// @match        *://10fastfingers.com/typing-test/*
// @match        *://10fastfingers.com/widget*
// @match        *://10fastfingers.com/competition/*
// @match        *://10fastfingers.com/advanced-typing-test/*
// @match        *://10fastfingers.com/top1000/*
// @grant        none
// ==/UserScript==
setInterval(function() {
	var cookies = document.cookie;

	if (!(cookies.includes("CakeCookie[remember_me_cookie]")))
	{

		var notLoggedInEle = document.getElementById("notLoggedIn");
		if(!notLoggedInEle){
			$('#words').before("<div id='notLoggedIn'></div>");
		}
		$('#notLoggedIn').html("Might not be logged in anymore...");

		document.getElementById("notLoggedIn").style.color = "red";
		document.getElementById("notLoggedIn").style.fontSize = "2em";
		document.getElementById("notLoggedIn").style.textAlign = "center";
	}
	else
	{
		var notLoggedInEle = document.getElementById("notLoggedIn");
		if(notLoggedInEle){
			notLoggedInEle.remove();
		}
	}
} , 100);