// ==UserScript== // @name VirtualBlinders // @namespace Utopiah // @description Stay focus, damnit! // @include *youtube.com* // ==/UserScript== GM_xmlhttpRequest({ method: "GET", url: "http://fabien.benetou.fr/pub/currenttask", onload: function(response) { res = response.responseText; if (res == 'Reading\n' || res == 'Programming\n'){ document.body.innerHTML="You should be focusing on "+res+" instead,\nare you sure you need that information from that website?"; } } });