How to use iMacros in Google Chrome and Firefox to record tasks?

0
117

Are you interested in an extension that can perform repetitive tasks in the browser, on its own? Well, this is exactly what iMacros does, the addon compatible with Chrome and Firefox browsers, which came to automate tasks.

If you frequently find yourself carrying out the same activity on the web, the time has come for you to take a step forward and record them with iMacros, it works like any other macro, repeating in a sequence of defined options, we will tell you how to use it right away.

get macros for google chrome

What tasks can iMacros perform to start automating our activities?

Both average users and web developers have found iMacros to be a very valuable task facilitator. When you repeat the same tasks in the browser every day, without a doubt, it becomes tedious and there are means that can do it for you, it is unwise not to 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, so why not also use 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 executed 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 the recording and reproduction of Scripts or lines of code.

A practical example would be when you want to delete a set of specific URLs from 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 be deleted, with which a prompt will appear to which you will add the root of the web, is: RL = prompt(“web address to be deleted”); iimPlay(“CODE:”+”URL GOTO=https://search.google.com/search-console/abouturl-removal hl=es&siteUrl=” + ROOTURL).

download macros for firefox

Read the URL’s of the CSV

To complete the task of removing web addresses in the Google search console, you need to download the URL data in CSV format, let’s say that this is a medium-level task, but perfectly executable through a file with a JS extension. What you must do to tell the macro to check a CSV file row by row, is to copy the following code into the iMacros files folder:

  • varload;
  • load = “CODE:”;
  • load += “SET !DATASOURCE urlsToDelete.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 basic-medium knowledge of the JavaScript language, you are most likely already devising thousands of applications for this resource, and 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 that you logically have the Google Chrome or Mozilla Firefox browser installed on your computer, then you would have to download iMacros for Google Chrome or Firefox, as appropriate. Then when you access the web you can 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 already recorded in files are at the top, while at the bottom, the execution buttons. To record in the conventional mode, you must go to the recording tab and modify the mode from the “Record options” button there, select “Conventional recording mode”, so you start recording actions on the web.

PlayLoop

Now to run the macros that you are saving, what you have to do is also very simple, you select it and press the “Play” button, if you want the macro to be executed in defined repetitions then click on “Play (Loop)”, it will be shown a text box in which you enter the number of views you need.

You must 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

using imacros with your favorite browser

What should you do to automatically deindex various URLs?

A more advanced task that iMacros allows you to do is execute a loop so that, together, it reads a CSV file, extracts URLs and removes them from Google Webmaster Tools, something that will surely be useful to you through the following Script:

  • varload;
  • load = “CODE:”;
  • load += “SET !DATASOURCE urlsToDelete.csv” + “n”;
  • load += “SET !DATASOURCE_COLUMNS 1” + “n”;
  • load += “SET !DATASOURCE_LINE {{i}}” + “n”;
  • load += “TAG POS=2 TYPE=DIV ATTR=TXT:Hidetemporarily” + “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);
Previous articleThe iPhone 14 calls emergencies by mistaking a car accident for a roller coaster
Next articleThese are the safest fish because of their lower mercury levels