Giter Club home page Giter Club logo

Comments (5)

jpchip avatar jpchip commented on August 15, 2024

That would be great. Unfortunately I actually have no idea what happens when you win! I've never won myself, and I haven't been able to find a screenshot of it. Do you know what it looks like?

from giveaway-grabber.

famewolf avatar famewolf commented on August 15, 2024

I haven't a clue..haven't won either and am spending way to much time having to enter capcha's. I do know that most of the sweeps will say "User, you did not win" or something similar so perhaps looking for the absence of that?

from giveaway-grabber.

famewolf avatar famewolf commented on August 15, 2024

Ryan Montgomery's userscript shows when a user wins so I'd assume his code would show you what to check for? (the other giveaway grabber I mentioned previously)

This is what I found:

// check page until results show up then continue to next giveaway in queue if not a winner
function handleSubmit(){
let emailed = false
setInterval(() => {
if(document.getElementById('title')){
if(document.getElementById('title').innerHTML.includes('won')){
// setInterval( () => GM_notification("You just won an Amazon giveaway!", "Amazon Giveway Automator"), 5000)
if(!emailed){
emailed = true
GM_xmlhttpRequest({
method: "POST",
url: "http://email-sender-213012.appspot.com/hello",
data: email=${GM_getValue("userEmail")}&href=${window.location.href},
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
});
}
document.getElementById('lu_co_ship_box-announce').click()
processGiveaways()
return
} else {
processGiveaways()
return
}
return
}
}, 1000)
}

from giveaway-grabber.

jpchip avatar jpchip commented on August 15, 2024

Hey @famewolf, Check out the comments on #32. The person on that ticket was kind enough to provide code and fill me in on what happens when you win. I added code to handle that case, and deliver a notification on win. That's why I closed this ticket.

from giveaway-grabber.

famewolf avatar famewolf commented on August 15, 2024

Thank you! I was afraid it got closed due to lack of information. Great work! I will mention I do not believe the system notifications work under linux...at least nothing is popping up for me when capcha's show up...I'll eventually notice it paused and enter one.

from giveaway-grabber.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.