Difference between revisions of "FILTER"

From iMacros
Jump to: navigation, search
(Parameters)
 
(One intermediate revision by one user not shown)
Line 3: Line 3:
 
Currently the support for filtering is experimental. If you need any other data filtered please let us know what kind of filter you would like to see added.  
 
Currently the support for filtering is experimental. If you need any other data filtered please let us know what kind of filter you would like to see added.  
  
=== Syntax [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ff-icon.png|Firefox]]===
+
=== Syntax [[Image:IMacros-icon.png|iMacros Browser]] <!--[[Image:Ff-icon.png|Firefox]]-->===
  
 
  FILTER TYPE=IMAGES STATUS=(ON|OFF)
 
  FILTER TYPE=IMAGES STATUS=(ON|OFF)
Line 12: Line 12:
 
*:Specifies the type of elements to filter. Currently only IMAGES is supported  
 
*:Specifies the type of elements to filter. Currently only IMAGES is supported  
 
*STATUS  
 
*STATUS  
*:Specifies whether the filter is turned on of off.  
+
*:Specifies whether the filter is turned on of off.
 +
 
 +
=== Notes ===
 +
 
 +
# [[Image:Ff-icon.png|Firefox]] This command is also available in legacy iMacros for Firefox (9.0.3 and older)
  
 
=== Examples ===  
 
=== Examples ===  

Latest revision as of 11:59, 12 July 2019

Filtering is a feature that allows you to change data on the website before it reaches the browser. Currently only the TYPE=IMAGES filter is supported. If enabled it removes all references to images from the html source and thus speeds up page loading. The filter command works for all macros until the filter is switched off or the iMacros Browser is closed.

Currently the support for filtering is experimental. If you need any other data filtered please let us know what kind of filter you would like to see added.

Syntax iMacros Browser

FILTER TYPE=IMAGES STATUS=(ON|OFF)

Parameters

  • TYPE
    Specifies the type of elements to filter. Currently only IMAGES is supported
  • STATUS
    Specifies whether the filter is turned on of off.

Notes

  1. Firefox This command is also available in legacy iMacros for Firefox (9.0.3 and older)

Examples

To start the filter and remove images add this line to your macro:

FILTER TYPE=IMAGES STATUS=ON 

To stop the filter:

FILTER TYPE=IMAGES STATUS=OFF 

See Also