heval.js / Scripta Realtime

// ==UserScript==
// @name         Scripta Realtime
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       heval.js
// @match        https://tirsik.net/*
// @icon         https://www.google.com/s2/favicons?domain=tirsik.net
// @grant        none
// @license      MIT
// ==/UserScript==

console.log('Scripta Realtime')
console.log(window.location.href)



function hello(){
var hello = "mesajek heye";
document.title = hello;
}


setInterval("peyamataybetkontrolke()",1000);


	function peyamataybetkontrolke(){

		$.ajax({
			type:'POST',
			url:'peyamanukontrol.php',
			success: function (msg) {
				$("#peyamataybetkontrol").html(msg);
             console.log("zikkom")
			}
		});
	}

document.body.style.backgroundColor = "#67037b"

for(var i = 0; i <= document.getElementsByClassName("btn btn-default btn-xs").length; i++){
document.getElementsByClassName("btn btn-default btn-xs")[i].style.backgroundColor = "darkgray"
}
for(var c = 0; c <= document.getElementsByClassName("list-group-item text-lowercase").length; c++){
document.getElementsByClassName("list-group-item text-lowercase")[c].style.backgroundColor = "darkgray"
}

document.getElementsByClassName("list-group-item text-lowercase")[3].style.backgroundColor = "darkgray"

document.getElementsByClassName("col-md-6")[2].style.backgroundColor = "pink"
document.getElementsByClassName("table table-striped")[0].style.backgroundColor = "pink"


var x = document.getElementsByClassName("panel panel-default widget")[0];
x.style.backgroundColor = "gray"