mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-01 14:39:26 +00:00
23 lines
556 B
JavaScript
23 lines
556 B
JavaScript
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
"use strict";
|
|
|
|
const gcli = require("gcli/index");
|
|
|
|
exports.items = [
|
|
{
|
|
name: "qsa",
|
|
description: gcli.lookup("qsaDesc"),
|
|
params: [{
|
|
name: "query",
|
|
type: "nodelist",
|
|
description: gcli.lookup("qsaQueryDesc")
|
|
}],
|
|
exec: function(args, context) {
|
|
return args.query.length;
|
|
}
|
|
}
|
|
];
|