Sign in
webkit
/
WebKit
/
0f9dda3eb5e8bee1224032800f3b156cd5ce812d
/
.
/
LayoutTests
/
http
/
tests
/
contentextensions
/
block-everything-unless-domain-redirect.py.json
blob: f07b9914babece665e298ced58adf1ef983aa44d [
file
] [
log
] [
blame
]
#!/
usr
/
bin
/
env python3
import sys
sys
.
stdout
.
write
(
'Content-Type: text/html\r\n\r\n'
)
print
(
'''[
{
"action"
:
{
"type"
:
"block"
},
"trigger"
:
{
"url-filter"
:
".*"
,
"unless-domain"
:
[
"127.0.0.1"
]
}
}
]
''')