Skip to content

Instantly share code, notes, and snippets.

@suchi
Created May 19, 2020 04:47
Show Gist options
  • Save suchi/29fb14a4a8205af1edacf169cd180792 to your computer and use it in GitHub Desktop.
Save suchi/29fb14a4a8205af1edacf169cd180792 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Cybozu Holiday Wordwarp
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Enablle holidy wordwrap
// @author suchi
// @match
// @grant none
// ==/UserScript==
(function() {
'use strict';
let d=document;
var a = d.querySelectorAll('nobr');
for (var i = 0; i < a.length; i++) {
a[i].style.whiteSpace='normal';
}// Your code here...
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment