Add missing FAVICON (base64)- ToBlek (Was Good Streaming site)

Example to how Change favicon for the defunct Toblek site [from RTM Favicon Redesigned: https://userscripts-mirror.org/scripts/review/42247]

21.08.2020 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name          Add missing FAVICON (base64)- ToBlek (Was Good Streaming site)
// @description   Example to how Change favicon for the defunct Toblek site  [from RTM Favicon Redesigned: https://userscripts-mirror.org/scripts/review/42247]
// @version       1.08
// @author        decembre
// @namespace     decembre
// @include       http://toblek.com/*
// @require       http://code.jquery.com/jquery-latest.min.js
// @grant         GM_log

// ==/UserScript==

// PNG : https://i.imgur.com/34C3CXI.png

(function(d, h) {
	// Create this favicon
	var ss = d.createElement('link');
	ss.rel = 'shortcut icon';
	ss.type = 'image/x-icon';
	ss.href = 'data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACNklEQVQ4jW2TW2sTURSFv31mJslMmphbKxojUrR4ofSxIPgXBMG/6J/wXWhFS58qClaFik1MmjSTzCQzk7N9yM1Y98t+OXvttdZeR46/nyiLUlVQiEcho06Hxu4uIjBsd5glCdXWPUAQkeUI7sYwgMDlh2PynXO60wn5Qp7u6Xtcm+LXXlMIAhRWILJkoKqoKr2Ln/hv33C3aBBW5EgsnJb22Hv5ClRXACsGANN4wvjsmOQ6ZBK7VHyDAUap0h8nFJIfXH39Qm330U0JAFmSUMyBayzJJOZyYlDAwVIyMPUESWOMrLltAPxdRoQ8dm4KrMUIIAILz8z/hmcIiTiICEaUDEMqi126+dZdur/spUqR89IOtWqJab+L7wqhLeD7OYJ6GUVhYfiGhGkUEV1fc7/s8/jwKcOrkPqzB7iuQ74XotbSajU4+z1hNOjjl8qIyBxAVfl89I40Crn/pE6tGpBllihKAMH1XCplH8cIg8sL2u1ftA6eU729PQewVsm5yszY+TUyi+cIomsD02w291CUXE6wNlszYGGsGMGqcnb8iZ14wERyWMcjyCLaMyE9PEBkHuVlmN3lZZb/IMsUHfTpDgdEQQVvy2Xc6eG5DuEwBhRVO9+4BDCOYfvhPsNej6u4S07AEYsT9dGoj2uUgqOE8Qyv1iIoV7nV2EZV1xIazSaNZpM0SYm7I4rnJ1irC3qQ+lsU919wp15DzDo+cvTt4z/RADuzjAeDdWoUvMCnEAQ3QvcHNYMJeRRrEuUAAAAASUVORK5CYII=';
	// Remove any existing favicons
	var links = h.getElementsByTagName('link');
	for (var i=0; i<links.length; i++) {
		if (links[i].href == ss.href) return;
		if (links[i].rel == "shortcut icon" || links[i].rel=="icon")
			h.removeChild(links[i]);
	}
	// Add this favicon to the head
	h.appendChild(ss);
	// Force browser to acknowledge
	var shim = document.createElement('iframe');
	shim.width = shim.height = 0;
	document.body.appendChild(shim);
	shim.src = "icon";
	document.body.removeChild(shim);

})(document, document.getElementsByTagName('head')[0]);