Skip to content

Commit

Permalink
put something in the default config, largely to have a reference for …
Browse files Browse the repository at this point in the history
…its structure
  • Loading branch information
Anthropohedron committed Apr 18, 2015
1 parent a017ab8 commit 3b57903
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,44 @@ var addonPrefs = require("sdk/simple-prefs").prefs;
}());

var defaultConfig = {
//TODO
actionAliases: {
"+crunch-all-cookies": [{
name: "crunch-incoming-cookies"
}, {
name: "crunch-outgoing-cookies"
}],
"-crunch-all-cookies": [{
name: "negate",
negatedName: "crunch-incoming-cookies"
}, {
name: "negate",
negatedName: "crunch-outgoing-cookies"
}]
},
actionGroups: [{
actions: [{
name: "block",
param: "garbage"
}],
patterns: [
"ad.",
"adserv.",
"ads."
]
}],
filters: [{
name: "cybercloud",
desc: "Convert 'cyber' to 'computery' and 'cloud' to 'butt'",
subs: [{
find: "cyber",
repl: "computery",
flag: "gI"
}, {
find: "cloud",
repl: "butt",
flag: "gI"
}]
}]
};

var curConfig = null;
Expand Down

0 comments on commit 3b57903

Please sign in to comment.