Quote:
Originally Posted by ElCho
I have tried different ways, but still can't add that code:
|
Sorry I must have added a syntax error just before posting it.
The following should work fine:
Code:
[ {
"enabled" : true,
"updateCookies" : true,
"logging" : false,
"maxDecryptDepth" : 1,
"name" : "subdivx.com example rule 1",
"pattern" : "https?://www\\.subdivx\\.com/.*?\\.html",
"rule" : "DEEPDECRYPT",
"packageNamePattern" : null,
"passwordPattern" : null,
"formPattern" : null,
"deepPattern" : "(/bajar\\.php\\?id=\\d+[^<>\"]+)",
"rewriteReplaceWith" : null
}, {
"enabled" : true,
"updateCookies" : true,
"logging" : false,
"maxDecryptDepth" : 1,
"name" : "subdivx.com example rule 2",
"pattern" : "https?://www\\.subdivx\\.com/bajar\\.php.+",
"rule" : "DIRECTHTTP",
"packageNamePattern" : null,
"passwordPattern" : null,
"formPattern" : null,
"deepPattern" : null,
"rewriteReplaceWith" : null
} ]
Quote:
Originally Posted by ElCho
Why is kind of limited the way one can add/edit the entered code into that box? I mean, for example the "Return" key has no effect at all. Moreover when some new code has to be combined with an already existing one. How that should be correctly accomplished?
|
What do you mean?
Combining more than two of such rules?
Check out the json syntax (google).
As you maybe can see, rules are in an Array ("[]") and comma separated.
-psp-