SO-ify Chat

Style SE chat like SO

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

// ==UserScript==
// @name         SO-ify Chat
// @namespace    http://tampermonkey.net/
// @version      1.3.2
// @description  Style SE chat like SO
// @author       amflare
// @match        https://chat.stackexchange.com/*
// @grant
// ==/UserScript==
    
(function() {
	'use strict';

	// Replace CSS With SO Style Sheet
	$("link[rel='stylesheet']").attr('href','https://cdn-chat.sstatic.net/chat/css/chat.stackoverflow.com.css?v=ed51c363e03e');

	// Replace Foot Logo
	$('#footer-logo img').attr('src' ,'https://cdn.sstatic.net/Sites/stackoverflow/img/logo.png?v=da');

	// Replace Favicon
	$("link[rel='shortcut icon']").attr('href','https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico?v=4f32ecc8f43d');

	//Remove Background Image
	$('#container').attr('style', 'background:none!important;');

	// Change Site Name in Browser Tab
	var title = $('title').text().split(" - ")[0];
	$('title').text(title+' - Stack Overflow')
})();