Last active
June 7, 2016 13:07
-
-
Save kav2k/5481365 to your computer and use it in GitHub Desktop.
A quick'n'dirty fix for current chat CSS problems at godville.net (Chrome)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Godville chat fix (Chrome) | |
// @version 1.1 | |
// @namespace tag:Xanos | |
// @description Fixes wraparound in Godville chat | |
// @include http://godville.net/* | |
// @include https://godville.net/* | |
// ==/UserScript== | |
document.styleSheets[0].insertRule('.fr_msg_l { white-space:normal !important; }', 0); |
в корне неверно вместо юзерстиля использовать юзерскрипт. ставь Stylish и в нём напиши .fr_msg_l { white-space:normal !important;} - реакция браузера заметно быстрее будет, т.к. юзерскрипт включается только после полной загрузки страницы, а юзерстиль немедленно. такова архитектура
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Использование в Chrome: правый клик на кнопку "<>" наверху (View raw), Сохранить как. Потом открыть chrome://extensions и перетащить на него.