Skip to content

Instantly share code, notes, and snippets.

@graememcc
graememcc / gist:2996890
Created June 26, 2012 16:29
Basic find functionality for Fx GCLI
Components.utils.import("resource:///modules/devtools/gcli.jsm");
gcli.addCommand({
name: 'find',
description: 'Find text within the page',
params: [
{
name: 'search',
type: 'string',
description: 'The text to search for',