Coder Social home page Coder Social logo

Comments (19)

TheNetsky avatar TheNetsky commented on August 23, 2024

Is there something wrong with that? Pretty sure chrome version doesn't matter in this situation.

from microsoft-rewards-script.

melionor avatar melionor commented on August 23, 2024

old version is uncompatible for search, got same problem with other script and after use the last version is okay ^^

Tell me what modify and i will try if you want ?

from microsoft-rewards-script.

TheNetsky avatar TheNetsky commented on August 23, 2024

What? I don't understand what you're trying to say? Search works fine for me, except mobile searches but for that Chrome version doesn't matter.

from microsoft-rewards-script.

melionor avatar melionor commented on August 23, 2024

i talk about mobile yes, but is okay if you already try the last version.

from microsoft-rewards-script.

TheNetsky avatar TheNetsky commented on August 23, 2024

I really don't get what you mean, how is chrome version related to mobile searches?

from microsoft-rewards-script.

666dsa666 avatar 666dsa666 commented on August 23, 2024

Useragent matter in some case and Microsoft is pretty bad at managing "old" versions.
Many bots offer a way to set a "preferred" useragent for that or will generate a useragent with the "latest stable version".
I'll be making a few tests this weekend as I haven't been able to both force the useragent and get the mobilesearch to launch (browser open but on an empty page).

from microsoft-rewards-script.

TheNetsky avatar TheNetsky commented on August 23, 2024

I've tested with it having the most recent user agent, no dice.

from microsoft-rewards-script.

666dsa666 avatar 666dsa666 commented on August 23, 2024

I've tested with it having the most recent user agent, no dice.

Did you check the useragent actually changed on the browser ?
During my test it would almost always revert back to v119

from microsoft-rewards-script.

TheNetsky avatar TheNetsky commented on August 23, 2024

I don't see how the actual browser version matters if you override the user agent to something else (in this case the most recent version of Edge)

from microsoft-rewards-script.

666dsa666 avatar 666dsa666 commented on August 23, 2024

@TheNetsky I have a POC I can share, I finally decided to have a look tonight. Mobile search worked with it on my side.
It's dirty but it works.
Youi can check my fork util.ts

I still need to make a full test tomorrow but at least I got something working to show useragent matter.

from microsoft-rewards-script.

TheNetsky avatar TheNetsky commented on August 23, 2024

You've only changed your index.ts, and all it does is extra set the User-Agent? I've tried this already and I've just tried copying what you've done. Same result regardless.

from microsoft-rewards-script.

melionor avatar melionor commented on August 23, 2024

I just redownload your last version 1.3.2 and now it's working mobile search :

image
image

But as you can see, the useragent you put (android 10 v115 .. ) is not the real used, Puppeteer set the v119 windows 10...

from microsoft-rewards-script.

666dsa666 avatar 666dsa666 commented on August 23, 2024

Sorry I did things quickly yesterday as I didn't have much time and probably forgaot some other modifications.

Though it was working :
image

I haven't had a look at it yet and will probably not today, though I was able to launch both your script and klept0 version and while yours does work on desktop and all other point gatherings klept0 versions is working on mobile search so this morning I went with both one after the other.

I'll definitely have a look at it later, hopefully everyone will be able to get a fully working script.

from microsoft-rewards-script.

melionor avatar melionor commented on August 23, 2024

Klept0/Charle use Chrome-undetected who is more obfusct than Puppeteer and let modify user-agent as you want, why not use it ?

from microsoft-rewards-script.

TheNetsky avatar TheNetsky commented on August 23, 2024

Chrome-undetected

Because that's a Python package and not a nodejs package?

from microsoft-rewards-script.

melionor avatar melionor commented on August 23, 2024

You can add it : ultrafunkamsterdam/undetected-chromedriver#821

https://socket.dev/npm/package/undetected-chrome-drive

from microsoft-rewards-script.

TheNetsky avatar TheNetsky commented on August 23, 2024

Basically requires me to redo most of this script, no thanks. Feel free to create your own with that.

from microsoft-rewards-script.

TheNetsky avatar TheNetsky commented on August 23, 2024

Should be fixed in upcoming version.

from microsoft-rewards-script.

melionor avatar melionor commented on August 23, 2024

Chrome version and useragent for Mobile ?

If yes thanks ahah

from microsoft-rewards-script.

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.