github-pre

Switches word wrapping for comments on github.com

ของเมื่อวันที่ 06-06-2015 ดู เวอร์ชันล่าสุด

ผู้เขียน
S-ed
คะแนน
0 0 0
เวอร์ชัน
0.150606.2
สร้างเมื่อ
06-06-2015
อัปเดตเมื่อ
06-06-2015
Size
2.56 กิโลไบต์
สัญญาอนุญาต
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.