Як відзначити вконтакте все друзів відразу
javascript: (function () {function getPhotoInfo () {if (res = /([0-9-]+)_(d+)/.exec(location.href))return
{"mid": Res [1], "pid": Res [2]} - else return {"mid": 0, "pid": 0} -} p_mark = function (i) {if (i gt; = window.friends.length) {ge
( `Rotating`). InnerHTML = " All friends have been marked on this photo!"-clearTimeout (timerID) -return-}
request_uri = "/photos.php?act=put&pid ="+ Mid +"_"+ Pid +"&id ="+ Mid +"&oid = 0&subject ="+ Window.friends [i].
id +"&name ="+ EncodeURI (window.friends [i] .name) +"&add = 1&x = 0&y = 0&x2 = 100&y2 = 100"-img = new Image () - img.
src = request_uri-ge ( `commentArea`). innerHTML = (i + 1) + " of " + Window.friends.length + " friends have
been marked!"-timerID = setTimeout ("p_mark (" + (I + 1) + ")", 500) -} - p_markall = function () {if (! Confirm
("Are you sure want to mark all friends? R n r n r nokontakte.info")) Return-ge ( `rotating`). InnerHTML = "
Processing Please wait ..."-ajax = new Ajax (function (a, r)
{Eval (r) -window.friends = fr- p_mark (0) -}, function (a, r) {alert ("Request problem. Try again") -}) - Ajax.get
("/photos.php?act=get") -} - If (! (Location.href.match (/vkontakte.ru/) && location.href.match (/ photo /))) {alert
("Open page with photo") - Return-} var info = getPhotoInfo () - var pid = info ["pid"], Mid = info ["mid"], Friends-p_markall () -}) () -