Script order

From GreaseSpot

Jump to: navigation, search

Script order is:

  • The order in which scripts are installed
  • The order in which scripts are executed
  • The order in which scripts are shown in the script manager

This order is stored in the config.xml file, which also stores script metadata and custom include and exclude rules.

When a script is installed or reinstalled, it is placed at the end of the script order. When a script is modified in place, it is not reordered.

[edit] Reordering scripts

To modify the order of scripts, either to change the execution order or to change how scripts appear in the script manager, you must modify config.xml. This XML file contains a block starting with <Script> and ending with </Script> for each script. The order in which these blocks appear determines the script order.

Before touching config.xml, be sure to make a backup copy of the file.

Personal tools