La Cosa Video&Chat

Rimpicciolisce il Video e allarga la chat

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        La Cosa Video&Chat
// @include     http://www.beppegrillo.it/la_cosa/
// @description	Rimpicciolisce il Video e allarga la chat
// @version     1.1
// @grant       none
// @namespace https://greasyfork.org/users/4153
// ==/UserScript==



video = document.getElementById('video-home');
chat = document.getElementById('disqus_thread');
primary = document.getElementById('primary');
secondary = document.getElementById('secondary');


document.getElementById('primary').style.width = '35%';
document.getElementById('primary').style.paddingRight = '0px';
document.getElementById('primary').style.float = 'left';
document.getElementById('primary').style.display = 'block';
document.getElementById('primary').style.position = 'relative';

document.getElementById('secondary').style.width = '65%';
document.getElementById('secondary').style.paddingRight = '0px';
document.getElementById('secondary').style.paddingLeft = '0px';

document.getElementById('message').style.background = 'white';
chat.removeAttribute('class');
chat.setAttribute('style', 'padding:0px;height:800px;overflow-x:scroll;');