User:Volcanooo456/common.js

// ==UserScript==

// @name Text Color Changer

// @namespace https://www.example.com

// @description Changes the color of all instances of "ERROR404:NAMENOTFOUND" between black and blue every couple of seconds.

// @include https://en.wikipedia.org/*

// @version 1.0

// @grant none

// ==/UserScript== // test

(function {

setInterval(function {

var elements = document.getElementsByTagName("body")[0].getElementsByTagName("*");

for (var i = 0; i < elements.length; i++) {

var element = elements[i];

if (element.innerHTML.includes("Chosen_One")) {

if (element.style.color === "black") {

element.style.color = "blue";

} else {

element.style.color = "black";

}

}

}

}, 2000);

}); importScript('User:Evad37/livenotifications.js'); // Backlink: User:Evad37/livenotifications.js