Many find the job search service
hh.ru good, but the seeker will always find something to improve. For example, the service has a field to fill in a letter - an answer to a vacancy, but there is no elementary template for writing a letter - a title, briefly about yourself, answers to requirements for a vacancy.
If not, you have to do it. After all, a JS specialist will not be involved in Copy-Paste operations many times when he knows that they can be automated without even burdening the site service. There are tools such as custom scripts.
UPD 12.1.2016 : The script is extended to career.ru sites (HH clone with the same client base),
itmozg.ru ,
superjob.ru .
')
At first, of course, I had to copy it, until regularities came to light and the
user script hhFiller did not work. The response pattern, in my opinion, should contain:
1. Headline greeting. After it will go immediately handwritten text, a lively response to a vacancy of 2-3 or more lines.
2. Briefly about yourself. Probably, we can assume that the author of the vacancy will look at the page of the applicant and see everything. But it is more polite to say about it immediately, without burdening the employer with the need to look into the link. This text is, for the most part, the same for all letters, and it always has to be inserted (maybe for a vacancy on a different profile you will need different text or delete some lines from the template). Here we also place a link to our examples of works and familiar technologies.
3. Signature. This is also a part of the politeness protocol that does not change for different letters.
4. Responses to job requirements. With this part it is more interesting, because it must be copied from the text of the vacancy and diluted with your answers. Without answers - it is impossible, otherwise it will turn out dry and patterned, copy by Ctrl-C - yet, for a long time. JS allows you to simply copy the selected text to which we want to respond, and then it is inserted into the template with a script.
That's all that is needed to facilitate the job of compiling a response to a vacancy. A similar technique can be applied to any other sites.
Technical side
To implement this, a custom script (user script) or browser extension works. The extension is inconvenient because for each browser it is necessary to write it individually, and user scripts are more versatile: it runs in all major browsers - Chrome, Firefox, Opera (old and new), Safari and others. By specifying the site hh.ru as the target site, we will ensure the launch of the script only on the indicated site, after the site loads its page. Further, the script looks at the page, searches for the field where to enter the letter template, and if there is one (and if it is empty), enter it.
Due to the characteristics of each site, the goal is not always achieved equally and simply. For example, on hh.ru, the response field does not initially exist on the job page, you have to wait for it. But these are optional technical details if the script is already there and working. Once it was written - it remains to be corrected in case of a change in the page layout on the target site.
There remains a question with the text of the template - it is for each applicant, his own, individual. Where to write it? The simplest thing is to write directly into the text of the script. But then after installing the user script, you will have to look into the code, which is not very common for non-specialists in JS. Let's expand the circle of users by first asking the script what the template should be (this is just a single block of text), and then store it in the browser memory (localStorage). Then the applicant will not have to work with the script code. In case of erasing the browser or the need to install a script on another computer, it is advisable to copy the template to your computer into a text file in order to use it later.
Now the way to work with vacancies is as follows:
1. Download
user hhFiller .
2. Open a vacancy (need authorization on
hh.ru ).
3. If the template has not yet been communicated to the script, it will ask how to fill in the answer field. We fill the answer field with our (individual) letter template. (Like that.)
4. (Optional.) So that at the end of the letter your answers to the vacancy requirements appear, select the text of the requirements on the page.
5. Press the button "Respond to the vacancy." Now a “miracle” will occur: the selected text is not simply copied to the end of the letter template, but at the end of each sentence the answers “yes” appeared.
Because most often you answer so. But then, of course, it is necessary to clarify these short answers as a matter of fact of each requirement, and some - delete or replace with “no”.
6. We finish the letter template to the full answer to the vacancy. Best of all - if there is something to say at the very beginning about yourself, so that it looks advantageous against the background of other responses.
7. We send the made response.
Some tips
*
How to supplement the response if it has not yet been sent? On the website hh.ru there is a feature that the response is made out in a pop-up, while the text of the vacancy is partially visible. You can return to the text of the job by clicking outside the popup. In this case, the typed text does not disappear. The response text can be opened once again (with the same button “Respond to the vacancy”) and added.
*
How to return to the original template with the requirements (a copy of the selected text)? It is enough to select the entire response text and delete it. An empty field is immediately (script) filled with the template text and the selected text below it.
*
If you do not want to use the template, but do not disable the script for this job? Similarly, we delete the text, but not with the Delete button, but by entering a character so that the field immediately becomes non-empty.
*
How to copy to the response more than one selection? In the old way - via Ctrl-C. At the same time, the way of copying through selection (Selection) of requirements for a vacancy provided by the script is not canceled. True, it will work either for the first time (when the response is first opened), or after clearing the input field, as described above. So it is provided that there was no repeated automatic input of the selected text.
* Need
to change or edit the template ? In the browser console, being on the site hh.ru, the expression “localStorage.tmpl” can display and read the template text (this is one line). Expression localStorage.tmpl = "" - delete the template. After that, reloading the page, we have the opportunity to enter a new template text.
* The template can be
entered into the script . Instead of the line "Uv. job seeker Please ... ”write down your template (note, it will be erased when updating the script from the Internet, so save it separately). To make it easier to read, use "\ n". For example, here is the "template template" for the script:
', !\r\n\' +'\r\n\' +', , , .\r\n\' +'\r\n\' +' : HTML, CSS, JS, plain text, Photoshop, PHP, Perl, Apache.\r\n\' +'\r\n\' +' : http://yandex.ru/search/?text=%20%20html .\r\n\'' +'\r\n\' +'-- ,\r\n\' +' ,\r\n\' +'email: <CENSORED - >'
If the template is entered into the textarea input field during execution in the "Message from hhfiller.user.js ..." window, the "\ n" characters, on the contrary, will be unnecessary.
Everything, the script helped us not to perform routine work, and employers had the opportunity to experience your ability to work with information.
*
To run in Chrome, you need to place the manifest.json file next to it and install it as an unpacked extension (in developer mode, by checking the checkbox on chrome: // extensions /).
File manifest.json:
manifest.json { "content_scripts": [ { "exclude_globs": [ ], "exclude_matches": [ ], "include_globs": [ "http://hh.ru/*", "http://career.ru/*", "https://moikrug.ru/*", "http://itmozg.ru/*" ], "js": [ "hhfiller.user.js" ], "matches": [ "http://*/*", "https://*/*" ], "run_at": "document_idle" } ], "converted_from_user_script": true, "description": " hh.ru|career|moikrug|itmozg||superjob ", "name": "hhFiller", "version": "8.2016.1.12", "manifest_version": 2 }
The feature of the engine hh.ru
The web engine of this site has one unpleasant and uncontrollable feature by the applicant, which he himself cannot see without having an employer account. And there is this bug for at least more than 2 years. About him is very rare, but employers mention the words "you have everything merged into one line." And this is with the manual filling of the response, without any scripts. The competitor does not see the bug - under the link “View Response” he observes a decent formatted text, correctly divided into paragraphs.
And somewhere in the depths of the pages of the employer when viewing the same response, he sees the text, put together in one line! (Once, about 2 years ago, someone even sent me a screenshot of what happens. And now, according to reviews, the bug has survived.) Therefore, until it is corrected, it makes no sense to form long lists of your achievements - all of them, imagine that they will be read put together in one line. As a result, the applicant will win, who writes relatively briefly, and not vice versa.
I think everyone will be grateful if the management of the site and the company corrects, finally, this bug.
Improvements to the script for use on other sites are welcome.
While writing text and debugging the script before publication, a
new moikrug.ru appeared in the design of the TM team.
Well, this format, of course, is still very unstable, but there is a good opportunity to try and apply the same technique with a pattern and responses on another site.
From the peculiarities, it turned out that here the field for response is already open on the vacancy page, so to insert the selected text “on the fly” we stop (to confirm) with the question: do we need to change the answers to the requirements for the vacancy?
If the selection was for other purposes, we say "No" (cancel the action). In general, the interface on this site is more user-friendly, since further shows in what form the letter and related data are submitted to the employer, the process of reading the letter by the recipient does not look like a “black box”.
Feedback
Question to readers. I would like to know which works services involved the use of a letter template through the site, without the need for such scripts?
Another question: on which sites I would like to have a similar script and template?
Do you need such a script at all? Or on the site, the interface should be so perfect that the need for a script does not arise? In general, as done on ... where?