Page 1 of 1

[RESOLVED]:personal ruleset and subscription

Posted: Tue Sep 10, 2013 9:58 am
by 江3如此多娇
user_pref("noscript.ABE.rulesets.USER2", "Site *\nDeny INC(SCRIPT) from ^http://(www\\.)??([0-9]{2,}[a-z]+|[a-z]+[0-9]{2,}[a-z]*)\\.com");

I tried to create a personal ABE ruleset,and It seems work, So I guess we can create rulesets apart from the built-in SYSTEM and USER, am I right :?:
If so, does the order of different rulesets works as: USER1, USER2,3,4,

another old question(i think), can we use rulesets online,in other words, can I use the SUBSCRIPTION ruleset?

Re: HELP:personal ruleset and subscription

Posted: Tue Sep 10, 2013 10:27 am
by Thrawn
江3如此多娇 wrote: I tried to create a personal ABE ruleset,and It seems work, So I guess we can create rulesets apart from the built-in SYSTEM and USER, am I right :?:
Yes, you can, but do you really need to do this? You might be better off just adding to the USER ruleset.

The situations where you would need an extra ruleset are pretty limited and specialised. For example, I'm making use of one for my Firefox extension (under development), so that it can generate extra ABE rules without touching your existing rulesets, and it can easily delete them when uninstalled. But just for writing your own rules, you don't need this. You're better off using the built-in editor, which provides syntax checking.
If so, does the order of different rulesets works as: USER1, USER2,3,4,
The order of rulesets doesn't matter. They are all applied to every request, and any filters stack. So, if one ruleset allows a request, but another denies it, it is blocked. If one ruleset anonymizes a request, and another one sandboxes it, it will be both anonymized and sandboxed.
another old question(i think), can we use rulesets online,in other words, can I use the SUBSCRIPTION ruleset?
Currently, no.

But sites that you visit can advertise extra rules to protect themselves, by providing a rules.abe file.

Re: HELP:personal ruleset and subscription

Posted: Thu Sep 12, 2013 2:14 am
by 江3如此多娇
Thrawn wrote:The situations where you would need an extra ruleset are pretty limited and specialised. For example, I'm making use of one for my Firefox extension (under development), so that it can generate extra ABE rules without touching your existing rulesets, and it can easily delete them when uninstalled. But just for writing your own rules, you don't need this. You're better off using the built-in editor, which provides syntax checking.
:D got it, as you mentioned, we can delete personal ruleset, and also we can forbid them using the button "forbid" whenever we want to.
I think the best way to use personal ruleset is to create a preference noscript.ABE.rulesets.name without a value, and write and chack rules in the UI as you adviced.

Thank you Thrawn :D