Firebug Command Line is probably one of the most important Firebug features and its value is yet extended by set of built-in commands.
One of the new commands, introduced in Firebug 1.11 is
include() and this post is intended to explain how to use it and make your development more effective.
Before we start with include() command let's take a look at quick summary of all Firebug built-in commands.
Did you know all of them? See Firebug wiki for more details.
See all Firebug tips
Now learn about include()
Include Remote Script
The basic purpose of include() command is to include a remote script into the current page.
In this particular example we included jQuery script and effectively jQuerified the page.
It would be irritating to type long URLs (and remember them) every time you reload the page and so, it's possible to create an alias.
Now, all you need to do to include jQuery on your page is type:
Aliases are persistent across Firefox restarts and list of existing aliases can be displayed by typing:
To remove an existing alias type:
See also Firebug wiki for include() command.
Do you want to have more built-in commands in Firebug's Command Line? Just leave a comment and we can discuss it!