github-pre

Switches word wrapping for comments on github.com

目前为 2015-06-06 提交的版本,查看 最新版本

作者
S-ed
评分
0 0 0
版本
0.150605.3
创建于
2015-06-06
更新于
2015-06-06
大小
2.6 KB
许可证
MIT
适用于

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

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.