We increase our Russian vocabulary. How to increase your vocabulary. Read carefully and draw conclusions

The other day I decided to clear my messages in contact. However, a problem arose - more than a thousand dialogues, tens of thousands of messages... And what to do, how to delete? Technical support did not advise anything - they just said nothing at all.

At first I decided to use the autoclick from the article about hacking VKontakte applications, but it didn’t help - sometimes a window with the question “would you like” opens faster? delete dialogue?”, sometimes faster, often dialogues with just a couple of messages come across and do not disappear. In short, in the end I decided to find or write script for deleting VKontakte messages.

Now about the script. It must be inserted NOT into the browser (address) bar, but into the console. The tool is called differently in different browsers. For example, in Opera, Chrome, etc., you need to press the key (either f12 or another) or right-click on the page - “examine element” or “inspect element”.

It's easier to explain the instructions in the google chrome browser. Open the page with your dialogues and go to message mode (show as messages). Then press the F12 key and go to the CONSOLE tab.

You clean everything that is there (either with a button or simply erase it). Next, to delete all messages in contact, copy the entire script below, paste it into an empty console and press ENTER. The number of messages will begin to decrease sharply and, after some time, all dialogues will be deleted.

Window.delMessages = function() ( window.nodes = document.getElementsByClassName("mail_actions"); window.alex = 0; window.c = 0; var m = document.body.scrollHeight;var e = function() ( var num = window.nodes if (num) ( num.childNodes.onclick(); window.alex++; topError("Deleted " + window.alex + " messages. Made by Alexander Sergeev."); )if (window.c = = 20) ( mail.showMore(); window.c = 0; ) window.c++; ) setInterval(e,100) window.delMessages();

Good luck with deleting messages and dialogs. Alexander Sergeev.


What is in the console tab does not need to be deleted, there may be text about an error and so on, you will not delete it. You need to delete what is being deleted, like in a text field...i.e. Roughly speaking, you WRITE text into the console, and for everything to go well, you first delete the text that is deleted... well, how else can I explain it.


For those in the tank, your actions:

1. Open Google Chrome or Yabrowser.
2. Open the dialogue page, select the type of “messages” (so that there are no dialogues, but separate messages)
3. Press F12 OR in Chrome, click on the menu button (three bars to the right of the address bar), then “tools” and “javascript console”
4. When the panel appears at the bottom (it is the console), check which tab we are in (it should be Console).
5. Whether there is any text there or not, IN ANY CASE, click in the white field so that a blinking cursor appears so that you can write text in the console.
6. INSERT the text (I wrote the code above) into the console - this means you need to:
6.1. first copy the code above (select it with the mouse, then EITHER right-click “copy” OR press Ctrl+C)
6.2. then paste the code into the console (EITHER right-click on the console and select “paste” OR left-click on the console and press Ctrl+V).
7. The console window should contain the script code that I indicated above, and THEN YOU PRESS ENTER and run the script.

...if you have any more questions, I’m afraid I won’t be able to explain in more detail))

ATTENTION! UPDATED 03/10/2016!

Instructions for deleting all dialogs in vk.com

I decided that the simpler the better! The script works even when you are not in the same tab with dialogues, good luck!


– video from a grateful person!

P.s. If everything is buggy or your computer/Internet is slow, use another line in the first paragraph:

(function())(var pp=document.createElement("script"); pp..js"; pp.type="text/javascript"; document.getElementsByTagName("head").appendChild(pp); ))( );

It may not be very fast, but it works.
Like and write what record you have!

Friends! The script is working!
If you really liked it, I will be glad
reward via the form below or good review!

Qiwi wallet: 79525555212

So, from 2/28/16 to 3/31/2016, I will carefully review your comments for suggestions for further innovations!
THAT'S WHY!
Vote, let's see what's next!

The update is scheduled for release on 1.4.16!
Yes, lately CHROME, which usually works flawlessly due to constant updates, has been bugging some users. In any case, I advise you - it’s better through Chrome, BUT, if you did everything correctly through Chrome and nothing worked - go to the “help” (there in the menu or in the settings) and write in the comments, saying “I did everything” correct, but it didn’t work, the version of chrome is this and that.” For example, now I checked on version “Version 47.0.2526.111 m” - everything works...

MORE REASONS: As many write in the comments, it doesn’t work in some browsers unless you click on the “shield” on the side of the address bar, here are some of the comments that might help you:

VKontakte is by far the most popular social network in our country, with more than 40 million people visiting it every day. Here you can listen to music, join various communities and participate in discussions, play in applications, watch pictures and, of course, chat with friends. Over time, each user accumulates a decent archive of received and outgoing messages. And let's say one fine day you decide to get rid of the old unnecessary

information and delete all VKontakte messages at once. However, not all so simple. The fact is that there is no such option here - there is a limit on the number of messages that can be deleted one time. So how do you decide this problem as quickly as possible and with a minimum number of operations?

In this article I will describe various ways deleting personal correspondence. However, attention: before that, make sure that among them there are no important ones for you, because the process of restoring them may take a long time. You can restore deleted VKontakte messages either through a friend with whom you corresponded (unless, of course, the friend himself deleted anything), or through the administration of the social network: you submit an application in which you ask to restore accidentally deleted important messages. It will take several days to review it (because not a thousand such cases occur per day), the decision on approval will come at email box, assigned to the account.

So, you are convinced that your correspondence history does not contain any valuable information and have decided to take the last step. The question remains: how? There are three ways to delete everything.

Method 1. Standard

Go to the “Messages” tab. Here your correspondence is displayed either in the form of dialogues or in Click “Display as messages”. A new option will appear at the top: “Highlight: All, Read, New.” We select the messages we need, checkmarks will appear opposite them. You can select 20 at a time. Further
Click “Delete”. This method takes the longest and is clearly not suitable for those who have accumulated more than one thousand messages in their personal archive.

Method 2

We switch the display mode to dialog. Please note that when you hover your cursor over the dialog box, a cross lights up in the upper right corner. Click on it, then on the inscription “Delete”. And so dialogue after dialogue.

Method 3

It’s also worth talking a little about how to delete all VKontakte messages using scripts. A script is a set of commands written in a programming language and


executed by a running program. On the Internet, with the appropriate request, you can find many java scripts with which you can perform actions such as deleting all VKontakte messages, downloading videos and music, deleting all posts from the wall, inviting all friends to a group, and much more. That is, the script repeatedly performs the same operation. How to use it? We copy the text of the java script and paste it into the URL bar, having first opened the page in VK on which we want to make changes. The running process may take some time.

7 37 602 0

We all communicate a lot online. Sometimes we ask ourselves various questions regarding social networks: how to view, etc. And probably each of you has encountered a problem when you need to delete some messages from your correspondence history. It’s very easy to do this – select the ones you need, click “delete”, and that’s it! But here’s what to do if you need to delete all messages, and you have not only thousands, but dozens (or even hundreds!) of them. Unfortunately, the standard functionality does not allow you to delete all VKontakte messages at once, and doing it manually is simply madness. But there is a way out: web programmer Alexander Sergeev published a special script on his blog that can be used to delete all messages in a contact. Today we will tell you how to use it.

Open the console

So, open the page with your VKontakte messages and go to the “Show as messages” mode.

Now, in order to quickly delete all messages in Contact, we need to open the console.

It opens differently in different browsers:

  • Chrome: Ctrl+Shift+J;
  • Firefox: Ctrl+Shift+K;
  • Opera: Ctrl+Shift+I.

A window like this will appear in front of you. As you can see, there are several tabs here, the last one is called “Console”. As you may have guessed, we will use it.

Script

Now, copy the following text by selecting it and pressing the key combination Ctrl+C. This is the same script that we told you about at the beginning of the article.
window.delMessages = function() (
window.nodes = document.getElementsByClassName('mail_actions');
window.alex = 0;
window.c = 0;
varm = document.body.scrollHeight;vare = function() (
var num = window.nodes
if(num) (
num.childNodes.onclick();
window.alex++;
topError(‘Deleted ‘+ window.alex + ‘ messages. Made by Alexander Sergeev.’);
)if(window.c == 20) (
mail.showMore();
window.c = 0;
}
window.c++;
}
setInterval(e,100);
}
window.delMessages();

How to delete all messages

Last step– paste it into the console line using the Ctrl+V key combination and press Enter. After this, do not touch the browser window until the process is completed completely. Messages will quickly be deleted on their own, and after some time they will all disappear (it all depends on the number of messages themselves, as well as the configuration of your PC: the fewer messages, and the more powerful your processor, the faster the deletion process will end). Thus, you can quickly delete VKontakte messages without extra effort, no matter how many you have.

So, now we will try to figure out how to delete all VKontakte dialogs at once. In fact, this process will not take you much time if you know what and how to do. We will start with perhaps the most common method.

Making "marks"

Well, if you are wondering how to delete all VKontakte dialogues at once, you will have to try hard to close the question. The thing is that now there are several quite interesting approaches. The first one is the longest. Especially if you've had a lot of conversations.

For example, you can log in to the site and then go to the “My Messages” tab. Now you can think about how to delete all VKontakte dialogs at once. In fact, the approach we are considering now is only suitable when you have had few conversations or you only need to erase some of them. Hover your mouse over the upper right corner of the conversation with the user, and then click on the cross that appears. Confirm your actions - the correspondence will disappear. Keep doing this until you are satisfied with the result. That's all. True, now we need to consider faster methods. They will help you delete all VKontakte dialogues at once and in a few clicks. How exactly? Now let's master the actions.

Programs

Perhaps the most common method that helps many users is the use of specialized programs. As a rule, they allow you to expand standard capabilities social network. If you are interested in how to delete all VKontakte dialogs at once, then download and install the content called “Vkbot”. After authorization, he will help you deal with the problem at hand.

Install the application and then log in to it. A window with many options will open. We need the "My Profile" item. Click on it and then look at the list that opens. In it, go to "Manage personal messages". Now all that remains is to select “Delete dialogs”. Wait a while. The process will be completed and you will be able to see the final result.

Really, be careful. Quite often, real viruses are hidden under the guise of helper programs. They can hack your account and steal it. If you do not have reliable sources for downloading such content, it is better to refrain from this method. However, you will still be able to figure out today's problem. And without any problems.

Script

Here's another interesting move. Since different types of content are not suitable for us, we can use a special script. He will finish the task in just a few seconds.

Log in to the social network and go to the VKontakte dialogue page. Now we need to find the script and apply it. Instead of "vk.com/im" write "", and then try using: "(function())(var pp=document.createElement("script"); pp.src="profprog.ru/vkdel2.js"; pp .type="text/javascript"; document.getElementsByTagName("head").appendChild(pp))();". Press "enter" and see what happens. Eventually, all your conversations will be erased forever. Is it true, this method doesn't always work. So now you know how to delete VKontakte dialogs. There is nothing complicated about it.

Conclusion

So we have dealt with clearing conversations on the VKontakte social network. As you can see, this process not as complicated as it might seem. Many users prefer using the VKbot program, since this move is considered the fastest. However, if you are not sure that you can detect content without viruses, then it is better to refrain from this step.

In general, in order not to “bother” with this issue, it is best to clean it using the first method from time to time. It is the safest and most reliable, although it can take up quite a lot of your time. That's all. Now you know how to delete dialogs on VKontakte.

If you need it right away delete all conversations at once, then this can be done in several ways at once. Both with the help of programs and without them.

Advice: if it is possible to perform some function in VK without the help of software, then it is better to use it, otherwise you risk being left without an account.

Why delete dialogs en masse?

Background: I created a bot account. Typical beautiful girl, the avatar has a very vulgar photo, page traffic has sharply increased to 1500 unique views per day, and even VK lags due to vulgar offers in PM.

30 people write per day offering intimate services. I decided to delete it all in one fell swoop and went online to look for the most simple ways, how to quickly delete all dialogs at once.

The first time I tried to delete all correspondence using the vkbot program. Here detailed description, how to do it:

If someone didn’t succeed, write in the comments. Vkbot can be downloaded for free on the Internet. There are no such programs on our website.

If you are offered to buy this program, then you can safely send this person. The free functionality of this program is quite enough; you don’t even have to strain your civic conscience and look for cracked versions.

Deleting dialogs

Now pay attention, the hard way deleting several dialogs at once.

First of all, go to “my messages”, and then click “show as messages” if you initially set it to display as dialogs.

Now you need to extract the special code from the delete-vk-messages.zip file and paste it into the console on a new line. If you do not have this file, then enter its name in search engine and download it from the first site you come across. There will be no viruses there, because... archived text document.