GithubHelp home page GithubHelp logo

pavelgordon / duolingo2anki-chrome-extension Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 0.0 132 KB

Chrome Extension which imports and syncs Duolingo vocabulary to Anki.

HTML 18.86% JavaScript 79.92% CSS 1.22%
anki duolingo chrome-extension

duolingo2anki-chrome-extension's Introduction

duolingo2anki-chrome-extension's People

Contributors

pavelgordon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

duolingo2anki-chrome-extension's Issues

The plugin doesn't add the button.

Console shows following error:

contentscript.js:29 Uncaught TypeError: Cannot set properties of undefined (setting 'textContent')
    at injectSyncButton (contentscript.js:29)
injectSyncButton @ contentscript.js:29
requestIdleCallback (async)
(anonymous) @ contentscript.js:51

Sync with Anki fails with error

Hey, just wondering if this is user error, or if Duolingo did something that broke the extension? Been messing with it for a couple hours and can't get it working. I've tried getting it working on both my Ubuntu and Win 10 machines and it fails the same way on both.

The extension throws this error when clicking "Sync with Anki"

Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
Context
_generated_background_page.html
Stack Trace
_generated_background_page.html:1 (anonymous function)

And here's the steps I took on both machines to produce this:
Clean install of Anki 2.1.54 Qt5
Logged into Ankiweb
Ankiconnect installed, edited webCorsOriginList, localhost:8765 working. Relaunched Anki
Installed Duolingo2Anki 0.1.1 via github
Sync with Anki button appears on Duolingo words page, icon spins, throws error. Never completes or produces dialog

A lot of cards appear with "cloudurl download failed 403"

For example(from exported deck):

Leistung  <br>         <font color=blue>         https://d1vq87e9lcf771.cloudfront.net/vikramde/717fba50dcbf6dcbe5ba47ed5b1bc5c2 download failed with return code 403         </font>          <br>	"<br>  <span style=""color:grey"">performance, accomplishments, achievement</span> <br>"

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.