github-pre

Switches word wrapping for comments on github.com

2015-06-06 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

लेखक
S-ed
रेटिंग
0 0 0
आवृत्ती
0.150606.2
बनवली
2015-06-06
अपडेट केली
2015-06-06
आकार
2.56 KB
License
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.