🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Greasy Fork is available in English.

📂 缓存分发状态(共享加速已生效)
🕒 页面同步时间:2026/02/01 16:47:56
🔄 下次更新时间:2026/02/01 17:47:56
手动刷新缓存

Tinychat Optimizer

Optimize something ;)

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

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

คุณจะต้องติดตั้งส่วนขยาย เช่น 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			Tinychat Optimizer
// @namespace			https://greasyfork.org/users/14254-anyone
// @description			Optimize something ;)
// @include			http://tinychat.com/*
// @version			1.1
// @require			https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @icon			https://pbs.twimg.com/profile_images/618048559137472512/lqVpYWag.png
// @grant			none
// ==/UserScript==

// hide commercial on top
$('body > img').remove();

// hide Premium Buttons
$('[href="http://tinychat.com/payment/upgrade_to_pro/step1"]').remove();
$('[href="http://tinychat.com/payment/promote_a_room/step1"]').remove();

// hide share-bar (facebook, twitter...)
$('#share-bar').remove();

// move counter to Topbar
$( '#live-count' ).insertAfter( $( '#logo' ) );
var count_anyone = document.getElementById('live-count');
count_anyone.style.position = 'relative';
count_anyone.style.display = 'inline-block';
count_anyone.style.width = '100px';
count_anyone.style.height = '35px';
count_anyone.style.margin = '0px 20px 0px';		// oben/unten, links/rechts   -  oben, seiten, unten
count_anyone.style.padding = '8px 0px 0px';

// move info to Topbar
document.getElementById('room_info').classList.remove('name');
$( '#room_info' ).insertAfter( $( '#live-count' ) );
document.getElementById('room_info').id='room_info_anyone';
var info_anyone = document.getElementById('room_info_anyone');
if (info_anyone) {
	info_anyone.style.margin = '0px';
	info_anyone.style.verticalAlign = 'middle';
	info_anyone.style.display = 'inline-block';
	info_anyone.style.color = '#fff';

	$('h1 > small').remove();
	$('#room_info_anyone > h2').remove();
	$('#location').remove();
	$('#website').remove();
}

// hide popularity
var popularity_anyone = document.getElementById('room-popularity-container');
if (popularity_anyone) {
	popularity_anyone.style.display = 'none';
}

// hide unused container
$('#room_header').remove();

// hide right Premiumbanner
var right_anyone = document.getElementById('right_block');
if (right_anyone) {
   right_anyone.style.display = 'none';
}

// set left container to 100%
document.getElementById('left_block').id='left_block_anyone';
var left_anyone = document.getElementById('left_block_anyone');
if (left_anyone) {
	left_anyone.width= '100%';
}

// hide footer
var footer_anyone = document.getElementById('footer');
if (footer_anyone) {
	footer_anyone.style.display = 'none';
}