mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:58:00 +01:00
add liberator.hasExtension for testing for the presence of a given FF extension
This commit is contained in:
@@ -866,6 +866,8 @@ const liberator = (function () //{{{
|
||||
return features.indexOf(feature) >= 0;
|
||||
},
|
||||
|
||||
hasExtension: function (name) Application.extensions.all.some(function (e) e.name == name),
|
||||
|
||||
help: function (topic)
|
||||
{
|
||||
var where = (options["newtab"] && options.get("newtab").has("all", "help"))
|
||||
|
||||
Reference in New Issue
Block a user