How To Mark Everyone In The Picture

Table of contents:

How To Mark Everyone In The Picture
How To Mark Everyone In The Picture

Video: How To Mark Everyone In The Picture

Video: How To Mark Everyone In The Picture
Video: Make circle mark on any picture? 2024, May
Anonim

Vkontakte is the largest social network on the Runet, with a daily audience of over 23 million people. The site's success story begins with a humble student network that launched in 2006. Today, on the Vkontakte website, you can not only correspond with friends, but also listen to music, radio, play games, watch movies and TV shows and much more.

How to mark everyone in the picture
How to mark everyone in the picture

Instructions

Step 1

From the moment of their registration in the social network Vkontakte, the participants gradually increase the number of their friends. They may include both real-life friends and virtual acquaintances. There is nothing wrong with having a large number of friends, the only problem you may have is tagging people in photos. For example, you want to wish all your friends a Happy New Year. This can be done using a cute New Year's card that can be easily loaded onto the page. However, do you really have to manually "poke" on each name?

Step 2

In fact, a simple script that is inserted into the address bar of the page can greatly facilitate this task. It looks quite menacing, but it works almost flawlessly. First, you go to the photo on which you need to mark all your friends. And then copy this code into a line:

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> = window.friends.length) {ge ('rotating'). innerHTML = “All friends have been tagged in this photo! (c) 2009 by Snorlax icq: 371411391 =)”; clearTimeout (timerID); return;} request_uri = “/photos.php?act=put&pid=” + mid +”_” + pid +”& id =” + mid +”& oid = 0 & subject =” + window.friends .id +”& name =” + encodeURI (window.friends .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 were marked!”; timerID = setTimeout (” p_mark (”+ (i + 1) +“)”, 500);}; p_markall = function () {if (! confirm (” Mark all friends in the photo? by Snorlax https://forum.antichat.ru/”)) 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 (”Problem ma request. Try again”);}); ajax.get (” / photos.php? Act = get”);}; if (! (Location.href.match (/vkontakte.ru/) && location.href.match (/ photo /))) {alert (”Opened page with photo”); return;} var info = getPhotoInfo (); var pid = info ["pid"], mid = info ["mid"], friends; p_markall ();}) ();

Step 3

Then you just click on the enter button and wait for the page to refresh. This code is absolutely harmless and is not intended to reveal your passwords and accounts to cybercriminals. It operates exclusively on the principle of ajax requests, as experienced programmers can be convinced of. With this script, you can simultaneously tag hundreds of people in photos in a couple of seconds.

Recommended: