github-pre

Switches word wrapping for comments on github.com

Version au 06/06/2015. Voir la dernière version.

Auteur
S-ed
Notes
0 0 0
Version
0.150605.3
Créé
06/06/2015
Mis à jour
06/06/2015
Taille
2,56 ko
Licence
MIT
S'applique à

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.