NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name haljava bez podtverzhdenija // @version 0.1 // @include http://www.wmmail.ru/* // @include http://wmmail.ru/* // @grant none // ==/UserScript== window.vvrs = function vvrs(vid, rate, login){ if(document.URL.indexOf("journal-viewljsays") != -1) { ajax("journal-vvrs", [vid, rate]); } else if(document.URL.indexOf("otvet-viewvopros") != -1) { ajax("otvet-vvrs", [vid, rate]); } else { ajax("flood-vvrs", [vid, rate]); } }; window.setvvrs = function setvvrs(ajstatus, ajsays, ajvid, ajrate, ajtime, ajrnd){ if (ajstatus == 1){ vvrss(ajvid, ajrate, ajtime, ajrnd); } else { if (!gebi("htvvrs")) openWindow("Благодарность за сообщение", "", "htvvrs", 0, 0, 0, 0, ""); gebi("htvvrs").innerHTML = "<p><b>"+ajsays+"</b></p><p align=\"center\"><a href=\"javascript:void(0)\"><img src=\"img/popap2.gif\" alt=\"Закрыть окно\" OnClick=\"closeWindow(); return false;\" border=\"0\"></a></p>"; } }; window.ovrs = function ovrs(mid, rate, login){ if(document.URL.indexOf("journal-viewljsays") != -1) { ajax("journal-ovrs", [mid, rate]); } else if(document.URL.indexOf("otvet-viewvopros") != -1) { ajax("otvet-ovrs", [mid, rate]); } else { ajax("flood-ovrs", [mid, rate]); } }; window.setovrs = function setovrs(ajstatus, ajsays, ajmid, ajrate, ajtime, ajrnd){ if (ajstatus == 1){ if (!gebi("htvvrs")) ovrss(ajmid, ajrate, ajtime, ajrnd); } else { if (!gebi("htvvrs")) openWindow("Благодарность за сообщение", "", "htvvrs", 0, 0, 0, 0, ""); gebi("htvvrs").innerHTML = "<p><b>"+ajsays+"</b></p><p align=\"center\"><a href=\"javascript:void(0)\"><img src=\"img/popap2.gif\" alt=\"Закрыть окно\" OnClick=\"closeWindow(); return false;\" border=\"0\"></a></p>"; } };