返回首頁 

Greasy Fork is available in English.

Github Word Wrapping for CODE blocks

Switches word wrapping for CODE blocks in comments on github.com


Установить этот скрипт?
Автор
S-ed
Установок в день
0
Всего установок
42
Оценки
101
Версия
1.220705.1
Создано
06.06.2015
Обновлено
05.07.2022
Размер
3,3 КБ
Лицензия
MIT
Работает на

Userscript for github that adds a button to switch word wrapping for code in comments.

example

Script uses Local Storage to store a default setting of word wrapping for whole site. It will use hardcoded value

var wrapDefault = false;

if no Local Storage available.

There is no also menu to reset default value stored in Local Storage.

localStorage.removeItem("wrapDefault");

command may be used to reset the value.