Comments (3)
So part of the issue is that the script won't get triggered until you add the following:
// @match https://www.duolingo.com/lesson*
You'll also need to update the solveChallenge() code to detect a lesson URL:
if (/[sacl][klhe][ipes][lhcs][lako]/gi.test(window.location.href) == true) {
Mine is currently running OK. The main problem now is that they appear to have removed the challenge tests so you can't farm them any more using the redirector.
from duohacker.
where do you add the code to detect a lesson url
im not really familiar with javascript haha
from duohacker.
In Tampermoney (or whatever addin/extension you're running the script with) you'd open the duohacker script. The first section or block is "// ==UserScript==" which contains "// @match" lines which identify URLs that trigger the script.
from duohacker.
Related Issues (9)
- update for the new version of duolingo HOT 1
- Not working :(
- TAP_COMPLETE_TYPE questions don't get answered. HOT 2
- Duo extension not working on https://www.duolingo.com/learn page and not working when started lesson. HOT 1
- NOT WORKING HOT 3
- Word Bank issues HOT 3
- This script doesn't work on some questions, will it be fix any time soon? HOT 2
- Userscript manager HOT 1
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 duohacker.