Skip to content

Instantly share code, notes, and snippets.

@wspl
Created August 26, 2017 22:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wspl/dfd56885e59365405c8bb316912f8082 to your computer and use it in GitHub Desktop.
Save wspl/dfd56885e59365405c8bb316912f8082 to your computer and use it in GitHub Desktop.
Qzone Deleter
jqTag = document.createElement('script')
jqTag.setAttribute("type","text/JavaScript")
jqTag.setAttribute("src", 'https://cdn.bootcss.com/jquery/3.2.1/jquery.js')
document.getElementsByTagName("head")[0].appendChild(jqTag)
fuckers = $('body').find('iframe').eq(0).contents().find('.del')
deleter = (index) => {
fuckers[index].click()
setTimeout(() => {
$('.qz_dialog_layer_btn.qz_dialog_layer_sub')[0].click()
setTimeout(() => {
deleter(index + 1)
}, 500)
}, 500)
}
deleter(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment