Comments (6)
I plan to update the extension to use different hosted UA sources, perhaps two to start with, where one is a tested stable UA hosted in the extension (this) repo, and the other is updatedUA. The extension should only look for alternative UA when the stable UA stops working. Then I shall update the stable UA. It may worthwhile to host historical UAs too for the extension to loop through to check.
The problem with the updatedUA is the website blocks scraping scripts, so I only schedule to run the script once a week. Apparently, the previous UA has been blocked already and the next scheduled update is next Monday...
from microsoft-reward-chrome-ext.
Useragent has been updated.
You can Temporarly update utility.js to use
https://raw.githubusercontent.com/666dsa666/UpdatedUserAgents/master/useragents.json
I will probably not update it or run the script unless I really need it and will be back to tmxk1n version as soon as the script has been ran.
(I have no idea how many things on github works but I believe some scripts can be ran automatically by github servers that may be an idea ?)
Another way would be forking the script from tmxkn1 and run it yourself and update the same file (utility.js) to route the script to your fork.
tmxk1n made it really easy to maintain and update so you should ;)
from microsoft-reward-chrome-ext.
Much appreciated. Maybe I should.
So Basically I need to install Python, fork the UserAgent repo, download it and run the script to get the updated version of the UserAgent ?
Does the Version of Python need to be specific or I can use the latest version ?
I'm dumb... after installing what I need I just need to launch main.py and update useragents.json
I forked your repo though but I might get the tmxk1n repo now that I know what to do. I just need to Pull a request to update which he needs to approve.
from microsoft-reward-chrome-ext.
first of all, thanks for the updated useragents.json @666dsa666. seems to be working just fine.
@TrialMacameau you shouldn't have to install python or do anything of the sort. you just need to update the url thats inside utility.js.
if you still have the extension downloaded, just go to /src/utility.js and change the json file url on line 106 to this:
const fetchProm = fetch('https://raw.githubusercontent.com/666dsa666/UpdatedUserAgents/master/useragents.json', {method: 'GET', signal: signal});
save it, and then re-install the extension. it should work again. its a temp fix obviously until the main repo is updated.
from microsoft-reward-chrome-ext.
I believe some scripts can be ran automatically by github servers
Could be an awesome idea. I haven't looked into this, but there is Github action that might do something like this. I know there are third-party services that can do this too but may involve payment. I need to allocate time to look into this.
from microsoft-reward-chrome-ext.
@TrialMacameau you shouldn't have to install python or do anything of the sort. you just need to update the url thats inside utility.js.
I mean it doesn't hurt to have a new contributor to it until there's an updated version of the extension
from microsoft-reward-chrome-ext.
Related Issues (20)
- New Extension Update Searches Not Working (only does 1-2 searches before error) HOT 27
- It shows manifest version 2 is deprecated HOT 1
- Manifest Isnt working please fix it HOT 1
- Manifest Version 2 has expired and causing errors. HOT 3
- Showing error with the red tag and unable to do searches HOT 1
- [ParseJSONFailed: Fail to parse the received json document.] Not doing searches. HOT 2
- [Suggestion] Add Auto Clear for "Read to earn" (news) HOT 1
- Unable to get reward point
- Extension stuck on a microsoft announcement HOT 3
- Search not completing or adding points after aproximate 20-25 search
- Not doing searches anymore HOT 7
- Control over search speed HOT 14
- status/DailyRewardStatus.js:91 (anonymous function) HOT 4
- "Fail to parse the received json document. Has MSR updated its json structure?" was thrown.
- Icon turns red, when clicked turns back to blue but doesnt do searched HOT 53
- [error_type] Temporary issue with Microsoft Rewards. HOT 3
- [error_type] It keeps showing errors, but when I remove them, they come back a short time later. HOT 1
- [Invalid offer ID] Error- Invalid offer ID HOT 1
- Microsoft Rewards account temporarily restricted
- Microsoft Rewards Terms of Service Update HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoft-reward-chrome-ext.