2 posts
· 2 views
· Last UP: 03/05/2011 18:38
Script con codice sbagliato
Salve.. ho preso questo codice da vari script su userscript e ho creato un nuovo script con queste funzioni: Skippa la pagine dell'info del premio e mette il mouse automaticamente sul riquadro del capctha.. Però quando provo ad installarlo, greasemonkey mi dice che lo script è danneggiato e quindi non si può installare.. Lo script si chiama LockerBot.user.js CODICE // ==UserScript== // @name LockerzBot // @include *ptzplace.lockerz.com* // @include *simulator.bygray.net* // ==/UserScript== if (location.href.indexOf("prizedetail") > -1) { redeembuttons = document.evaluate("//a[contains(@class,'btnRedeem')]", document, null,7, null); redeembutton = redeembuttons.snapshotItem(0); if (this.redeembutton != null) { window.location = redeembutton; } redeembuttons = document.evaluate("//a[contains(@href,'redeem')]", document, null,7, null); redeembutton = redeembuttons.snapshotItem(0); if (this.redeembutton != null) { window.location = redeembutton; } } if (document.body.innerHTML.indexOf("recaptcha_response_field") > -1) { $$('recaptcha_response_field').focus(); } }
03/05/11 18:38
0
// ==UserScript== // @name LockerzBot // @include *ptzplace.lockerz.com* // @include *simulator.bygray.net* // ==/UserScript== if (location.href.indexOf("prizedetail") > -1) { redeembuttons = document.evaluate("//a[contains(@class,'btnRedeem')]", document, null,7, null); redeembutton = redeembuttons.snapshotItem(0); if (this.redeembutton != null) { window.location = redeembutton; } redeembuttons = document.evaluate("//a[contains(@href,'redeem')]", document, null,7, null); redeembutton = redeembuttons.snapshotItem(0); if (this.redeembutton != null) { window.location = redeembutton; } } if (document.body.innerHTML.indexOf("recaptcha_response_field") > -1) { document.getElementById('recaptcha_response_field').focus(); }
Log in to reply to this topic.
Messaggio simile al precedente
Il testo sembra un duplicato o un tentativo di UP. Per far risalire la discussione usa il pulsante UP: mantiene il thread pi├╣ ordinato. Puoi comunque pubblicare il messaggio se lo desideri.
Select message
False or abusive reports are misconduct and may lead to account restrictions and other action by staff.