xiaomianao666

插件名:global_海角社区脚本

Aug 4th, 2023
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_海角社区脚本@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KLy8gQG5hbWUgICAgICAgICDmtbfop5LnpL7ljLrohJrmnKwKLy8gQG5hbWVzcGFjZSAgICBoYWlqaWFvLXNjcmlwdAovLyBAdmVyc2lvbiAgICAgIDAuMC4yMwovLyBAYXV0aG9yICAgICAgIG1lbW9wYWMKLy8gQGRlc2NyaXB0aW9uICDmtbfop5LnpL7ljLrop4bpopHop6PmnpAKLy8gQGxpY2Vuc2UgICAgICBNSVQKLy8gQGljb24gICAgICAgICBodHRwczovL3BvbWYyLmxhaW4ubGEvZi9lcmVqeHRmby5pY28KLy8gQG1hdGNoICAgICAgICAqOi8vKi5oYWlqaWFvLmNvbS8qCi8vIEBtYXRjaCAgICAgICAgKjovLyovcG9zdC9kZXRhaWxzKgovLyBAcmVxdWlyZSAgICAgIGh0dHBzOi8vY2RuLmpzZGVsaXZyLm5ldC9ucG0vanF1ZXJ5QDMuNi40Ci8vIEByZXF1aXJlICAgICAgaHR0cHM6Ly9jZG4uanNkZWxpdnIubmV0L25wbS9kcGxheWVyQDEuMjcuMQovLyBAcmVxdWlyZSAgICAgIGh0dHBzOi8vY2RuLmpzZGVsaXZyLm5ldC9ucG0vaGxzLmpzQDEuMy41Ci8vIEBncmFudCAgICAgICAgR01fc2V0Q2xpcGJvYXJkCi8vIEBncmFudCAgICAgICAgR01feG1saHR0cFJlcXVlc3QKLy8gPT0vVXNlclNjcmlwdD09CgooZT0+e2NvbnN0IHQ9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic3R5bGUiKTt0LmRhdGFzZXQuc291cmNlPSJ2aXRlLXBsdWdpbi1tb25rZXkiLHQudGV4dENvbnRlbnQ9ZSxkb2N1bWVudC5oZWFkLmFwcGVuZCh0KX0pKCIgLmNyYWN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BmdW5jdGlvbiBpc1ZhbGlkSHR0cFVybChzdHIpIHsKICAgIGNvbnN0IHBhdHRlcm4gPSBuZXcgUmVnRXhwKAogICAgICAiXihodHRwcz86XFwvXFwvKT8oKChbYS16XFxkXShbYS16XFxkLV0qW2EtelxcZF0pKilcXC4pK1thLXpdezIsfXwoKFxcZHsxLDN9XFwuKXszfVxcZHsxLDN9KSkoXFw6XFxkKyk/KFxcL1stYS16XFxkJV8ufitdKikqKFxcP1s7JmEtelxcZCVfLn4rPS1dKik/KFxcI1stYS16XFxkX10qKT8kIiwKICAgICAgLy8gZnJhZ21lbnQgbG9jYXRvcgogICAgICAiaSIKICAgICk7CiAgICByZXR1cm4gcGF0dGVybi50ZXN0KHN0cik7CiAgfQogIGZ1bmN0aW9uIG1haW4odXJsKSB7CiAgICB0cnkgewogICAgICBsZXQgaW5pdCA9IGZ1bmN0aW9uKCkgewogICAgICAgIGNyYWNrQnRuID0gJCgnPGRpdiBjbGFzcz0iY3JhY2tfdGl0bGUiIGlkPSJjcmFja19hbmFsIj7op6PmnpA8L2Rpdj4nKTsKICAgICAgICBqdW1wTGluazEgPSAkKAogICAgICAgICAgJzxhIGNsYXNzPSJjcmFja190aXRsZSIgdGFyZ2V0PSJfYmxhbmsiIGlkPSJjcmFja19qdW1wIj7ot7Povazmkq3mlL4xPC9hPicKICAgICAgICApLmhpZGUoKTsKICAgICAgICBqdW1wTGluazIgPSAkKAogICAgICAgICAgJzxhIGNsYXNzPSJjcmFja190aXRsZSIgdGFyZ2V0PSJfYmxhbmsiIGlkPSJjcmFja19qdW1wIj7ot7Povazmkq3mlL4yPC9hPicKICAgICAgICApLmhpZGUoKTsKICAgICAgICBjb3B5QnRuID0gJCgKICAgICAgICAgICc8ZGl2IGNsYXNzPSJjcmFja190aXRsZSIgaWQ9ImNyYWNrX2NvcHkiPjxpbWcgc3JjPSIiIHdpZHRoPSI5NCIvPjwvZGl2PicKICAgICAgICApLmhpZGUoKTsKICAgICAgICBjb250YWluZXIgPSAkKGA8ZGl2IGNsYXNzPSJjcmFja19jb250YWluZXIiIGlkPSJjcmFja19jb250YWluZXIiPjwvZGl2PmApLmFwcGVuZChjcmFja0J0bikuYXBwZW5kKGp1bXBMaW5rMSkuYXBwZW5kKGp1bXBMaW5rMikuYXBwZW5kKGNvcHlCdG4pOwogICAgICAgIGNyYWNrQnRuLm9uZSgiY2xpY2siLCBjcmFjayk7CiAgICAgICAgJCgiYm9keSIpLmFwcGVuZChjb250YWluZXIpOwogICAgICB9LCBjcmFjayA9IGZ1bmN0aW9uKCkgewogICAgICAgIGNyYWNrQnRuLmh0bWwoIuino+aekOaIkOWKnyIpOwogICAgICAgIGNvbnN0IGVuY29kZVVybDIgPSBgaHR0cHM6Ly9tM3U4cGxheS5jb20vP3BsYXk9JHtlbmNvZGVVUklDb21wb25lbnQoCiAgICAgICAgdXJsCiAgICAgICl9YDsKICAgICAgICBjb25zdCBlbmNvZGVVcmwxID0gYGh0dHBzOi8vbS5hdW9rLnJ1bi9wbGF5ZXIvIyR7dXJsfWA7CiAgICAgICAgY29uc3Qgc2VsbENvbnRhaW5lcjIgPSBnZXRTZWxsZXJDb250YWluZXIoKTsKICAgICAgICBqdW1wTGluazEuYXR0cigiaHJlZiIsIGVuY29kZVVybDEpOwogICAgICAgIGp1bXBMaW5rMi5hdHRyKCJocmVmIiwgZW5jb2RlVXJsMik7CiAgICAgICAgaWYgKHNlbGxDb250YWluZXIyKSB7CiAgICAgICAgICBzZWxsQ29udGFpbmVyMi5pbm5lckhUTUwgPSAiIjsKICAgICAgICAgIGlmIChpc01vYmlsZSgpKSB7CiAgICAgICAgICAgIGNvbnN0ICRpZnJhbWUgPSAkKAogICAgICAgICAgICAgIGA8aWZyYW1lIHNyYz0iJHtlbmNvZGVVcmwxfSIgYWxsb3dmdWxsc2NyZWVuPSd0cnVlJz48L2lmcmFtZT5gCiAgICAgICAgICAgICkuY3NzKHsKICAgICAgICAgICAgICB3aWR0aDogIjEwMCUiCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICAkKHNlbGxDb250YWluZXIyKS5hcHBlbmQoJGlmcmFtZSk7CiAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICBuZXcgRFBsYXllcih7CiAgICAgICAgICAgICAgY29udGFpbmVyOiBzZWxsQ29udGFpbmVyMiwKICAgICAgICAgICAgICBhdXRvcGxheTogZmFsc2UsCiAgICAgICAgICAgICAgdGhlbWU6ICIjRkFERkEzIiwKICAgICAgICAgICAgICBsb29wOiB0cnVlLAogICAgICAgICAgICAgIGxhbmc6ICJ6aCIsCiAgICAgICAgICAgICAgc2NyZWVuc2hvdDogdHJ1ZSwKICAgICAgICAgICAgICBob3RrZXk6IHRydWUsCiAgICAgICAgICAgICAgcHJlbG9hZDogImF1dG8iLAogICAgICAgICAgICAgIHZpZGVvOiB7CiAgICAgICAgICAgICAgICB1cmwsCiAgICAgICAgICAgICAgICB0eXBlOiAiaGxzIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGNvcHlCdG4ub24oImNsaWNrIiwgKCkgPT4gewogICAgICAgICAgX0dNX3NldENsaXBib2FyZCh1cmwsICJ0ZXh0L3BsYWluIik7CiAgICAgICAgfSk7CiAgICAgICAganVtcExpbmsxLnNob3coKTsKICAgICAgICBqdW1wTGluazIuc2hvdygpOwogICAgICAgIGNvcHlCdG4uc2hvdygpLmZpbmQoImltZyIpLmF0dHIoInNyYyIsIHNyYyk7CiAgICAgICAgcmV0dXJuOwogICAgICB9LCB0cmFjayA9IGZ1bmN0aW9uKCkgewogICAgICAgIGluaXQoKTsKICAgICAgICBjcmFjaygpOwogICAgICB9OwogICAgICBsZXQgY3JhY2tCdG47CiAgICAgIGxldCBqdW1wTGluazE7CiAgICAgIGxldCBqdW1wTGluazI7CiAgICAgIGxldCBjb3B5QnRuOwogICAgICBsZXQgY29udGFpbmVyOwogICAgICBjb25zdCBzZWxsQ29udGFpbmVyID0gZ2V0U2VsbG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SA9PiB7CiAgICAgIGNvbnN0IG5ld1VybCA9IHdpbmRvdy5sb2NhdGlvbi5ocmVmOwogICAgICBjb25zdCBpc0hhaUppYW9QaWQgPSB3aW5kb3cubG9jYXRpb24uaHJlZi5pbmNsdWRlcygiP3BpZD0iKTsKICAgICAgY29uc3Qgc2VsbENvbnRhaW5lciA9IGdldFNlbGxlckNvbnRhaW5lcigpOwogICAgICBpZiAoIXNlbGxDb250YWluZXIpIHsKICAgICAgICByZXR1cm47CiAgICAgIH0KICAgICAgaWYgKG9sZFVybCAhPT0gbmV3VXJsKSB7CiAgICAgICAgb2xkVXJsID0gbmV3VXJsOwogICAgICAgIGlmIChpc0hhaUppYW9QaWQpIHsKICAgICAgICAgIGlmIChpbmplY3RFbnRyeVVybCAhPT0gd2luZG93LmxvY2F0aW9uLmhyZWYpIHsKICAgICAgICAgICAgaW5qZWN0RW50cnkoKTsKICAgICAgICAgIH0KICAgICAgICB9IGVsc2UgewogICAgICAgICAgY29uc3QgaGlkZSRFbGVtZW50ID0gJCgiI2NyYWNrX2NvbnRhaW5lciIpOwogICAgICAgICAgaWYgKGhpZGUkRWxlbWVudC5sZW5ndGggPiAwKSB7CiAgICAgICAgICAgIGhpZGUkRWxlbWVudC5yZW1vdmUoKTsKICAgICAgICAgIH0KICAgICAgICB9CiAgICAgIH0gZWxzZSB7CiAgICAgICAgaWYgKGlzSGFpSmlhb1BpZCAmJiBpbmplY3RFbnRyeVVybCAhPT0gd2luZG93LmxvY2F0aW9uLmhyZWYpIHsKICAgICAgICAgIGluamVjdEVudHJ5KCk7CiAgICAgICAgfQogICAgICB9CiAgICB9KTsKICAgIGZ1bmN0aW9uIGluamVjdEVudHJ5KCkgewogICAgICBjb25zdCBzZWxsQ29udGFpbmVyID0gZ2V0U2VsbGVyQ29udGFpbmVyKCk7CiAgICAgIGlmIChzZWxsQ29udGFpbmVyKSB7CiAgICAgICAgbGV0IFtwaWRdID0gd2luZG93LmxvY2F0aW9uLnNlYXJjaC5tYXRjaCgvXGQrLykgfHwgW107CiAgICAgICAgaWYgKCFwaWQpIHsKICAgICAgICAgIHJldHVybjsKICAgICAgICB9CiAgICAgICAgY29uc3QgZm9ybWF0VXJsMiA9IGAke2xvY2F0aW9uLm9yaWdpbn0vYXBpL3RvcGljLyR7cGlkfWA7CiAgICAgICAgaW5qZWN0RW50cnlVcmwgPSB3aW5kb3cubG9jYXRpb24uaHJlZjsKICAgICAgICBfR01feG1saHR0cFJlcXVlc3QoewogICAgICAgICAgbWV0aG9kOiAiR0VUIiwKICAgICAgICAgIHVybDogZm9ybWF0VXJsMiwKICAgICAgICAgIG9ubG9hZDogZnVuY3Rpb24oeyByZXNwb25zZSB9KSB7CiAgICAgICAgICAgIGNvbnN0IGZvcm1hdERhdGEgPSBKU09OLnBhcnNlKHJlc3BvbnNlKTsKICAgICAgICAgICAgaWYgKGZvcm1hdERhdGEgPT0gbnVsbCA/IHZvaWQgMCA6IGZvcm1hdERhdGEuZGF0YSkgewogICAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBjb25zdCBkYXRhID0gSlNPTi5wYXJzZShhdG9iKGF0b2IoYXRvYihmb3JtYXREYXRhLmRhdGEpKSkpOwogICAgICAgICAgICAgICAgY29uc3QgYXR0YWNobWVudHMgPSBkYXRhLmF0dGFjaG1lbnRzOwogICAgICAgICAgICAgICAgY29uc3QgdXNlZnVsRGF0YSA9IGF0dGFjaG1lbnRzLmZpbmQoCiAgICAgICAgICAgICAgICAgIChpdGVtKSA9PiB7CiAgICAgICAgICAgICAgICAgICAgY29uc3QgcmVtb3RlVXJsID0gaXRlbS5yZW1vdGVVcmwgfHwgIiI7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHJlbW90ZVVybC5pbmNsdWRlcygibTN1OCIpOwogICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICApOwogICAgICAgICAgICAgICAgY29uc3QgdXJsID0gdXNlZnVsRGF0YSA9PSBudWxsID8gdm9pZCAwIDogdXNlZnVsRGF0YS5yZW1vdGVVcmw7CiAgICAgICAgICAgICAgICBpZiAodXJsKSB7CiAgICAgICAgICAgICAgICAgIGNyYWNrVXJsKHVybCk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHsKICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKCLmtbfop5Lop6PmnpDlpLHotKXkuoY6ICIsIGVycm9yKTsKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICB9KTsKICAgICAgfQogICAgfQogICAgaWYgKCFpc01vYmlsZSgpKSB7CiAgICAgIHNldFRpbWVvdXQoKCkgPT4gewogICAgICAgIG11dGF0aW9uT2JzZXJ2ZXIuZGlzY29ubmVjdCgpOwogICAgICB9LCAxMjAgKiAxZTMpOwogICAgfQogICAgbXV0YXRpb25PYnNlcnZlci5vYnNlcnZlKGRvY3VtZW50LmJvZHksIHsKICAgICAgYXR0cmlidXRlczogdHJ1ZSwKICAgICAgY2hpbGRMaXN0OiB0cnVlCiAgICB9KTsKICB9KSgpOwoKfSkoRFBsYXllciwgSGxzLCBqUXVlcnkpOwo=
Add Comment
Please, Sign In to add comment