github-pre

Switches word wrapping for comments on github.com

Pada tanggal 06 Juni 2015. Lihat %(latest_version_link).

Penulis
S-ed
Nilai
0 0 0
Versi
0.150605.3
Dibuat
06 Juni 2015
Diperbarui
06 Juni 2015
Size
2,56 KB
Lisensi
MIT
Berlaku untuk

Userscript for github that adds a button to switch word wrapping for code in comments (see attached GIF file).

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.