// ==UserScript== // @name push me before doing anything! // @description 深呼吸を促す // @include * // ==/UserScript== /* * @title push me before doing anything! * @description 深呼吸を促す * @include * * @license CC BY 3.0 * @javascript_url */ (function() { var wrap = document.createElement('div'); wrap.style.backgroundColor = 'rgba(255,250,255, 0.7)'; wrap.style.color = '#000'; wrap.style.display = 'table'; wrap.style.fontSize ='90px'; wrap.style.height = '100%'; wrap.style.left = '0'; wrap.style.position = 'fixed'; wrap.style.textAlign = 'center'; wrap.style.top = '0'; wrap.style.width = '100%'; wrap.style.zIndex = '99999999999'; wrap.innerHTML = '
深呼吸しましょう!
'; document.body.appendChild(wrap); var remove = function() { document.body.removeChild(wrap); }; setTimeout(remove, 5000); }())