Are you interested? an extension that can perform repetitive tasks in the browser, by itself? Well, this is exactly what iMacros does, the addon compatible with Chrome and Firefox browsers, which came to automate tasks.
If you often find yourself doing the same thing on the web, it’s time to dump her and move on record them with iMacrosworks like any other macro, repeating in a sequence of defined options, then we tell you how to use it.
What tasks can iMacros perform to start automating our activities?
Both average users and web developers, they have found iMacros as a task facilitator very valuable. When you repeat the same tasks in the browser every day, without a doubt, it turns into something tedious and there are means that can do it for you, it is unwise to not take advantage of them immediately.
It is known that there are Google Chrome extensions to add new tags, which allows you to better organize your activities in the browser, then, why not also resort to an automator for tasks such as:
- Automatically complete forms
- Automatically register email users.
- Make inquiries
- Extract or scrape data to create databases or other purposes.
- Capture screens at a specific point.
Script playback
These are just some of the most used, however, any activity that is systematic and defined can be performed by iMacros. This extension has proven particularly useful in the areas of content marketing, SEO positioning and programming. Precisely in this last area, one of the most important objectives of the macro is script recording and playback or lines of code.
A practical example would be when desees delete a set of URLs specific to the Google Search Console, instead of selecting one by one, for this task you could program a script that takes care of it under the instructions that you configure. The code that calls the web to delete, with which a prompt will appear to which you will add the root of the web, is: RL = prompt (“web address to delete”); iimPlay (“CODE:” + “URL GOTO = https: //search.google.com/search-console/abouturl-removal hl = es & amp; amp; siteUrl =” + ROOTURL).
Read CSV URLs
To complete the web address removal task in the Google Search Console, you need download the URL data in CSV format, let’s say this is a mid-level task, but perfectly executable using a JS file extension. All you have to do to tell the macro to check a CSV file row by row is to copy the following code into the iMacros files folder:
- var load;
- load = “CODE:”;
- load + = “SET! DATASOURCE urlsDelete.csv” + ” n”;
- load + = “SET! DATASOURCE_COLUMNS 1″ + ” n”;
- load + = “SET! DATASOURCE_LINE {{i}}” + ” n”;
- load + = “PROMPT {{! COL1}}” + ” n”;
- for (i = 1; i <4; i ++) {
- iimSet («i», i);
- iimPlay (load);
- siteName = iimGetLastExtract (0);
- If you have a basic knowledge of JavaScript language, you are probably already thinking thousands of applications for this resourceand since it is also compatible with Mozilla Firefox, you could, for example, clear Firefox’s cache and cookies automatically.
How to start recording Macros with iMacros?
In order to enjoy the benefits of this repeater, the first thing is to logically have the Google Chrome or Mozilla Firefox browser installed on your computer, then you should download iMacros for Google Chrome Firefox, as appropriate. Then when you access the web you will be able to view the iMacros extension and start making recordings.
Conventional recording mode
The first thing is that you will notice that it is a relatively simple panel, where the tasks are already saved in files at the top, while at the bottom, the execution buttons. To record in the conventional mode, you must go to the recording tab and change the mode from the “Record options” button there, select “Conventional recording mode”, so you start recording actions on the web.
Play Loop
Now to run the macros you are saving is also very simple what you have to do, select it and press the “Play” button, if you want the macro to run in defined repeats then click “Loop”a text box will be displayed in which you enter the number of plays you need.
You should remember that in case of any failure with Firefox, you should open the safe mode of Mozilla Firefox and check if the problem persists. After an error in a script you can generate
What do you need to do to automatically deindex various URLs?
A more advanced task that allows you to run iMacros is to run a loop to read a file together. CSV, extract URLs and delete them of Google Webmaster Tools, something that will surely be useful to you through the following Script:
- var load;
- load = “CODE:”;
- load + = “SET! DATASOURCE urlsDelete.csv” + ” n”;
- load + = “SET! DATASOURCE_COLUMNS 1″ + ” n”;
- load + = “SET! DATASOURCE_LINE {{i}}” + ” n”;
- load + = “TAG POS = 2 TYPE = DIV ATTR = TXT: Temporarily hide
” + ” n”; - load + = «TAG POS = 1 TYPE = INPUT: TEXT FORM = ID: newremovalform ATTR = ID: urlt CONTENT = {{! COL1}}» + « n»;
- load + = «TAG POS = 1 TYPE = INPUT: BUTTON FORM = ID: newremovalform ATTR = NAME: urlt.submitButton» + « n»;
- load + = “TAG POS = 1 TYPE = INPUT: SUBMIT FORM = ID: the-form ATTR = ID: submit-button” + ” n”;
- load + = “WAIT SECONDS =” + Math.round (Math.random () * (5-3) + parseInt (3)) + ” n”;
- for (i = 1; i <= 41; i ++) {
- iimSet («i», i);
- iimPlay (load);
- siteName = iimGetLastExtract (0);