NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name CloudJournal // @include *://nv-study.ru:*/* // @version 0.7.3 // @grant GM_setValue // @grant unsafeWindow // @grant GM_getValue // @grant GM_xmlhttpRequest // @grant GM_listValues // @copyright 2018, oblaqoo (Danya Kotletka, oblaqoo.ru) // @author oblaqoo // @homepageURL https://oblaqoo.ru/ // @license MIT // ==/UserScript== if(typeof console == "object") console.log("domain",location.href); function loadjs(src){ var script = document.createElement("script"); script.setAttribute("type", "text/javascript"); script.src = src; document.head.appendChild(script); } function loadcss(src){ var link = document.createElement("link"); link.type = "text/css"; link.rel = "stylesheet"; link.href = src; document.getElementsByTagName("head")[0].appendChild(link); } loadjs("//oblaqoo.ru/src/CJ/CloudJournal.js?r=5"); loadjs("//oblaqoo.ru/src/CJ/md5.min.js?r=1"); loadjs("//oblaqoo.ru/src/CJ/emojionearea.min.js?r=1"); loadjs("//cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.2/socket.io.js"); loadjs("//oblaqoo.ru/src/CJ/toastify.js?r=1"); loadcss("//oblaqoo.ru/src/CJ/style.css?r=3"); loadcss("//fonts.googleapis.com/icon?family=Material+Icons"); loadcss("//oblaqoo.ru/src/CJ/emojionearea.min.css?r=1"); loadcss("//cdnjs.cloudflare.com/ajax/libs/emojione/2.1.4/assets/sprites/emojione.sprites.css"); loadcss("//oblaqoo.ru/src/CJ/toastify.css?r=1"); window.onload = function(){ CJ.settings.storage = { getItem:GM_getValue, setItem:GM_setValue, removeItem:function(name){GM_setValue(name,null);} }; CJ.settings.load(); };