Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_知乎直接看@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KLy8gQG5hbWUgIOefpeS5juebtOaOpeeciwovLyBAYXV0aG9yICDlpKfokIzkuLsKLy8gQHZlcnNpb24gICAgICA3LjkKLy8gQGRlc2NyaXB0aW9uIOS4jeeUqOaJk+W8gGFwcOWwseiDveeci+efpeS5juWbnuetlOOAgeeci+ivhOiuuu+8jOWOu+W5v+WRiu+8jOS9v+eUqOatpOiEmuacrOS4jeimgeeZu+W9leefpeS5jui0puWPt++8jOWQpuWImeS8muiiq+efpeS5juemgeatoua1j+iniAovLyBAbWF0Y2ggICo6Ly93d3cuemhpaHUuY29tLyoKLy8gQGV4Y2x1ZGUgaHR0cHM6Ly93d3cuemhpaHUuY29tL3NlYXJjaD8qCi8vIEBleGNsdWRlICo6Ly96aHVhbmxhbi56aGlodS5jb20vKgovLyBAcnVuLWF0IGRvY3VtZW50LXN0YXJ0Ci8vIEBuYW1lc3BhY2UgaHR0cHM6Ly9ncmVhc3lmb3JrLm9yZy91c2Vycy80NTI5MTEKLy8gQGRvd25sb2FkVVJMIGh0dHBzOi8vdXBkYXRlLmdyZWFzeWZvcmsub3JnL3NjcmlwdHMvNDU3NjA5LyVFNyU5RiVBNSVFNCVCOSU4RSVFNyU5QiVCNCVFNiU4RSVBNSVFNyU5QyU4Qi51c2VyLmpzCi8vIEB1cGRhdGVVUkwgaHR0cHM6Ly91cGRhdGUuZ3JlYXN5Zm9yay5vcmcvc2NyaXB0cy80NTc2MDkvJUU3JTlGJUE1JUU0JUI5JThFJUU3JTlCJUI0JUU2JThFJUE1JUU3JTlDJThCLm1ldGEuanMKLy8gPT0vVXNlclNjcmlwdD09CgovL+efpeS5juebtOaOpeeciwooZnVuY3Rpb24oKXsKICAgIHZhciBjdXN0b21Vc2VyQWdlbnQgPSAnTW96aWxsYS81LjAgKExpbnV4OyBBbmRyb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7bov581MDDmr6vnp5LmiafooYwKfQ==
Add Comment
Please, Sign In to add comment