Blocked domain names will be allowed to be registered with 2 file types:
.ts
: this is a Typescript file that you have to comply with using thedefineRule
function..txt
: this file accepts the syntax ofAdBlock Plus List
import { defineRule } from "../scripts/defineRule"
export default defineRule({
condition: {
urlFilter: "||www.google.com.vn/*",
resourceTypes: [
"main_frame",
"sub_frame",
"stylesheet",
"script",
"image",
"object",
"xmlhttprequest",
"other"
]
},
priority: 1
})
rules.txt
! redirect from bing.com.vn by script and style
||www.bing.com.vn^$stylesheet,script
! redirect all from google.com
||google.com^$all
transform.json
scheme
is http versionhost
new host redirect
{
"scheme": "https",
"host": "animevietsub.cc"
}