Open Reward Task Bug
Closed this issue · 19 comments
The Open Reward Task Button just loops the the Microsoft Rewards Page and doesn't actually open up the reward tasks.
I've noticed this issue on a few of my accounts now, even some new ones which are a day old! It seems that when you sign in to Bing normally it'll do the searches fine but when clicking the open reward tasks button it'll either go to a rewards login page or if you're lucky it'll go to the rewards page but will keep refreshing the page every time you click open reward tasks! The 1 thing i've noticed different is the page URL, the standard 1 will go to rewards.microsoft.com and search fine but the ones with issues will open up a URL with /?redref=amc at the end of it which seems to be messing up the function somehow and for the life of me I can't work out why, i've tried clearing the cache, VM's, different browsers, the lot and every time it'll open that same page with /?redref=amc in it!
Try this version, all i've done is alter the rewards tasks URL and altered 1 of the permissions URL's which seems to have done the trick and is working with the rewards URL that ends with /?redref=amc . From testing it does work on accounts that aren't affected too because the altered URL still opens the rewards page either way and will still perform both searches and the quiz's etc. You can find it on my Git here - https://github.com/h4x0rm1k3/ABS
Any issues give me a shout.
I'm running into the same bug, the original developer of the tool deleted the original repository. I think my fork is the only up-to-date fork that survived.
Maybe @mikeyaworski can provide some input.
I'm running into the same bug, the original developer of the tool deleted the original repository. I think my fork is the only up-to-date fork that survived.
Maybe @mikeyaworski can provide some input.
I forked @mikeyaworski ' s version and changed the URL's in the code to match the issue that myself and some others were facing where the daily tasks weren't being done apart from the daily searches. It now works as it should do and has worked perfectly ever since I updated it nearly 2 weeks ago now. The Chrome & Firefox extensions were removed by the stores so the only way to install it now is manually.
Hi daedalus311,
Yes I woke up this morning and all mine weren't done either. I've been trying to work out why for a couple of hours now and can't get it to work as of yet, i've tried reverting the URL back to it's original, adding other bits to it that i've found when clicking various things to get to the rewards page and nothing so far. I'd not seen that URL you mentioned before so hunted down the extension that you mentioned and got the exact same URL you have so i'll see if adding that 1 might work later on and if it does i'll update my git and let you know by messaging you on here again. It does seem very strange 'cos I keep getting the old ?redref=amc URL when going the route I did last time to find the changed URL. It seems strange that it's roughly exactly 28 days since I/we faced this issue before so i'm guessing Microsoft are changing the URL somehow every 28 days or so.
EDIT:- I've opened up the issues option on my git now, for some reason it was turned off so i've turned it on now!
I'm not a coder by any stretch of the imagination, I used to type out BASIC code years ago so can 'just' about follow what's going on in other code. The only thing I use is Notepad++ to be able to read & edit code and then just uploaded it on to git once i'd tested that it was working for me. If you want to try and see if your URL will work then the part of the code you want to be looking at is in the constants.js in the src folder, if you scroll down to the end of the code you'll find this line - REWARDS_URL: 'https://rewards.microsoft.com/?pc=U523&redref=amc', just change the URL in between the two ' ' and save it, then install it to chrome as before and test if it's working.
I just tried the URL you found and it's not working still. It's strange 'cos I just made a completely new Microsoft account and didn't install the extension, clicked through to the rewards page which still gives me the old ?redref=amc URL so I don't know what's going on with it at the moment, i'm guessing that they may have changed something else which isn't allowing the clicks to register and open the clickables in the rewards tabs but I can't be completely sure about that. I'll keep working at it anyway 'cos doing the clickables for 24 accounts takes A LONG TIME!!! and I can't be arsed to do them daily manually!
@daedalus311 It's now working as it should be. I ended up having to pick the brains of another github user who'd just updated their script to find out what changed. I was staring at the right place for ages but I just couldn't put my finger on what was wrong and couldn't find it in the page source code anywhere. Sneaky little MS, lets hope this fix holds out for longer than 28 days this time!. My Git has been updated accordingly so you can grab it from there and use as normal. When updating the bot/extension make sure to refresh the rewards page 1st time else it'll work but won't open pages so you'll think it's broken still, once refreshed with the new code in place it'll work like it did before.
I ended up asking Daniel203 for a little help as he has his own bot (which I couldn't work out how to use!) which he'd updated recently and had the URL which changed last month in the code so picked his brains for an answer. In the end it was a simple fix and the answer was pretty much staring me in the face as I had a hunch the issue was in the open-rewards-tasks.js file in the content-scripts folder but I just couldn't quite put my finger on it. All that needed to be changed was the line - clickAll('a.c-call-to-action', card); to clickAll('a.ds-card-sec', card); . Now I know what to look for if it changes again in 27-28 days time i'll start there and the URL again. How it was found is to right click any of the rewards boxes and inspect, from there you can see the bit of code that needs adjusting so that the bot can again click the boxes to open the rewards tabs.
I didn't know that closing the browser and re-opening would update the bot, seems a bit weird as it's not on the chrome store so shouldn't update that way. If by chance you mean you updated the old code to the new on your PC then yes that does seem to work but the version number in manage extensions won't change as I upped it to 1.2.31.2 because of this months update.
No doubt next month something will change again but at least now I have a better idea of where to look and how to find the info next time so i'll keep it up to date as and when things change.
By the way, most of the other bots on Github are old and not updated so the searches will probably work but the offers won't, I used to use Microsoft-rewards-bot myself a couple of years ago which used to run perfectly until 1 day it didn't and then I didn't bother until I come across ABS and because ABS can do multiple accounts and is pretty quick I want to try and keep it going for as long as possible!
I don't use Edge, only Chrome which is probably why. I did notice that when making new profiles in Chrome though that when you add the unpacked extension it always uses the same directory where the files are placed and they're not copied multiple times to the appdata's Google Chrome user folder which is handy. I only know that because when I set it up for my friend he moved the folder with the files from his desktop to a different folder and the next day when he went to use it the extension was broken and he had to install it again! Glad it's all working again though for the time being as I was dreading having to do the dailies 24 times every day!
@gaby The rewards link you used is correct but it will change itself to 'https://rewards.microsoft.com/?redref=amc'
So if you're updating ABS then use that link instead as it's been working for about 9+ months now without issue.
It's broken again. Trying to fix it. Hopefully, I figure it out today and I can post what I did.
@daedalus311 Let me know, i'm going to reopen this then
Looks like the new URL is https://rewards.bing.com/ should be an easy fix...maybe.
https://github.com/h4x0rm1k3/ABS That guy already fixed it apparently. Im at work and can't access the files to change the URL manually at the moment.
@daedalus311 Yes it's fixed on my version, it is just all mentions of rewards.microsoft.com need changing to rewards.bing.com in both constants.js & manifest.json and then it should work again.