Log a message to the Finicky console
Create a function to match domains easier.
Example:
modules.exports = {
handlers: [{
match: finicky.matchDomains([/example\.(org|com)$/, "github.com"]),
browser: "Firefox"
}]
}
Show an app notification
Example:
let numFacebookVisits = 0;
modules.exports = {
handlers: [{
match: ({url}) => {
return url.host === "facebook.com";
},
browser: () => {
finicky.notify("Facebook again?", `That's ${++numFacebookVisits} too many!`);
return "Firefox"
}
}]
}
Generated using TypeDoc
These are the methods available on the globally available
finicky
object.