Last active
December 19, 2019 15:14
-
-
Save iplus26/672456d04a098ff335c3 to your computer and use it in GitHub Desktop.
磐石投票(http://www.stonepoll.com) 半手动刷票脚本,自动打开 Safari 无痕模式,输入网址,勾选目标选项,页面滚动至验证码处
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Safari" to activate | |
tell application "System Events" | |
tell process "Safari" | |
click menu item "New Private Window" of menu "File" of menu bar 1 | |
end tell | |
end tell | |
tell front window of application "Safari" | |
set the URL of the current tab to "http://pvote.v.mvote.net/poll/067cd4ee-49c3-90e6-4855-28386dfd4576.html?from=timeline&isappinstalled=0" | |
--这里是网址 | |
delay 10 | |
do JavaScript "document.getElementById('opinput_593813').nextElementSibling.click();window.scroll(0,2343);document.getElementById('inputCaptchacode').click();" in the current tab | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tell application "Safari" to activate
tell application "System Events"
tell process "Safari"
click menu item "New Private Window" of menu "File" of menu bar 1
end tell
end tell
tell front window of application "Safari"
set the URL of the current tab to "http://pvote.v.mvote.net/poll/067cd4ee-49c3-90e6-4855-28386dfd4576.html?from=timeline&isappinstalled=0"
http://m139022.mustfollow.axfree.mvote.net/wxvote/75510653-7c93-919b-1e78-3baecc2a0c91.html
delay 10
do JavaScript "document.getElementById('opinput_593813').nextElementSibling.click();window.scroll(0,2343);document.getElementById('inputCaptchacode').click();" in the current tab
end tell