Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@360·Q@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiMzYwwrdRIiwiYXV0aG9yIjoi5Y+R57Kq5raC5aKZIiwidXJsIjoiaHR0cHM6Ly9hcGkud2ViLjM2MGthbi5jb20vdjEvZmlsdGVyL2xpc3Q/c2l6ZT0zNSZwYWdlbm89ZnlwYWdlJmNhdGlkPWZ5Y2xhc3MiLCJ2ZXJzaW9uIjowLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJjbGFzc19uYW1lIjoi55S16KeG5YmnJueUteW9sSbliqjmvKsiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIyJjEmNCIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbkpTT04ucGFyc2UoZ2V0UmVzQ29kZSgpKS5kYXRhLm1vdmllcy5mb3JFYWNoKHZpZGVvID0+IHtcbiAgICBkLnB1c2goe1xuICAgICAgICB0aXRsZTogdmlkZW8udGl0bGUsXG4gICAgICAgIGRlc2M6IHZpZGVvLnVwaW5mbyA/IHZpZGVvLnVwaW5mbyArICfpm4YnIDogKHZpZGVvLmRvdWJhbnNjb3JlID8gdmlkZW8uZG91YmFuc2NvcmUgOiB2aWRlby50YWcpLFxuICAgICAgICBpbWc6ICdodHRwczonICsgdmlkZW8uY292ZXIgKyAnQFJlZmVyZXI9aHR0cHM6JyArIHZpZGVvLmNvdmVyLFxuICAgICAgICB1cmw6ICdodHRwczovL2FwaS53ZWIuMzYwa2FuLmNvbS92MS9kZXRhaWw/Y2F0PScgKyBNWV9VUkwuc3BsaXQoJ2NhdGlkPScpWzFdICsgJyZpZD0nICsgdm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tcbiAgICAgICAgICAgIHRpdGxlOiBqc29uLnB1YmRhdGUsXG4gICAgICAgICAgICBpbWc6IGxpc3QuY2RuX2hfY292ZXIsXG4gICAgICAgICAgICBkZXNjOiBqc29uLm1vdmllY2F0ZWdvcnkuam9pbignICcpLFxuICAgICAgICAgICAgdXJsOiBsaXN0LmRlZmF1bHRfdXJsICsgbGF6eSxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnbW92aWVfMidcbiAgICAgICAgfSk7XG4gICAgfVxufVxuc2V0VGFicyh0YWJzLCBNWV9VUkwpO1xuc2V0TGlzdHMobGlzdHMsIGdldFZhcihNWV9VUkwsICcwJykpO1xuc2V0UmVzdWx0KGQpIiwic2RldGFpbF9jb2xfdHlwZSI6Im1vdmllXzEiLCJzZGV0YWlsX2ZpbmRfcnVsZSI6IioiLCJ1YSI6Im1vYmlsZSIsInByZVJ1bGUiOiIiLCJwYWdlcyI6IltdIiwiaWNvbiI6Imh0dHBzOi8vYmtpbWcuY2RuLmJjZWJvcy5jb20vcGljL2NhZWY3NjA5NGIzNmFjYWYyZmFkY2E1YTcwZDk4ZDEwMDBlOTljYzIifQ==
Add Comment
Please, Sign In to add comment