73 3
Contact Author Sign in to rate

Web Browser - Search terms, Import texts and images automatically

0.23MB. Updated 2022-08-03.
The author has shared 4 other item(s).

Description

The Anki Web Browser is a simple Internet Browser within Anki (as the name suggests). It aims to make it easy when you are studying or editing a card and want to look something up on the internet. You can also use it to open up your system desktop instead of the embedded browser (from version 1.1) For instance, you are studying a foreign language and suddenly there is a word which you haven't understood it properly. In such case it's common to shift to the web browser and make search for the term there. This addon makes this task smoother. Therefore, this addon provides 2 functionalities: - Search the some text on a website - Import text and images directly from a website to a given card Using ===== The functions of this addon are accessed through the context menu (either right click on mouse or right menu key on the keyboard) or using shortcuts. Search selected text ------------------------------- While studying or editing a given card: * Select a word or sentence * Right click (or use the shortcut) * Search on Web * Select the desired provider * Then a new window with the web browser will be opened, if it isn't opened yet (or a new tab on your external web browser) More detailed documentation (configuration, editing...) ------------------------------------------------------------------------ Please check the documentation at Github. This one here is not complete Updates ------------------ 7.1 | 02/08/22 * Change config to avoid losing configs between updates (Issue #15) * Fix problem on integration with Qt6 7.0 | 17/01/22 * Support base64 images (like in Google Images) * Add image processing (reducing) * Improve config view 6.0 | 06/01/22 * Add support to Anki 2.50 (huge thanks to @RisingOrange) * Internal fix: reading the config file from correct location 5.0 | 12/10/21 * Introduce new feature: Search Groups 4.3 | 24/08/21 * Introduce completely new config view (prepare future features) * Bug fixes - Issue #5 (some chars were not recognized/accepted on URLs) - Issue #9 (problem with multiple tabs - closing current) 4.2 | 29/08/20 * Bug fixes - NoneType message on close and reload - Issue #1 - Broken warning message for unsupported links * Added new shortcuts (back, forward, next / previous tab) (https://github.com/ssricardo/anki-web-browser/wiki/Keyboard-short-cuts) If you like it, consider buying me a coffee :)

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

864545277

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1668801146
Fantastic tool. Saves me a lot of time creating cards!
on 1659797416
amazing add-on
on 1659676461
Please save my config, because after update, all of my config was delete. And I had to add it again :(((((
Comment from author
Hi! Sorry about that. This update was exactly for that. But it had to happen 1 last time (because the feature wasn't there yet in the previous version).
If it works fine, it won't happen again in the future updates :)
on 1659508322
After 3rd August 2022 Update it starts to give error on launching Anki.
Workaround: Goto Addon>Web Browser - Search terms, Import texts and images automatically>Config>Restore Defaults>OK>Restart Anki
Comment from author
Thanks for reporting and for the tip: restore defaults
on 1656905224
Good!
on 1653902488
A great add-on that brings very useful additional functionality to Anki. It seems a bit buggy, though. I am happy after some work I could replace the search engines with customized ones.
But changes on the main menu (especially "keep always visible") seem to crash the add-on. It won't load any more when I start Anki, giving me cryptic information about the python code.

Update: I tested this config on another desktop device and it still happens.
Comment from author before post was edited
Thanks for info. I'll test that config.
on 1643206368
Love this!
on 1642492735
I can add new cards very quickly. Thanks.
on 1639761186
I always use google image for pictures to enrich the notes, but due to attention deficit I often waste my time on the net, so this is salvific for me. Thank you.
on 1638100671
Great addon, but the dark reader (dark mode) will be processed last when loading the page. Therefore, many flashing (white then black, after loading a new page, white then black again) occur, which hurt my eyes. Can you make the page dark first before loading other content?
Comment from author
Thanks! I definitely want to get this working well, also for myself. It's not so easy, that's why it's still "experimental". But I'll try it again in the future
on 1636893191
Superb Add-on !
Thank you for the work !
on 1635608006
Awesome add-on, but there is an error:

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.47 (dc156f34) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
Platform: Linux
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2021-10-29 22:43:00
Add-ons possibly involved: ⁨Web Browser - Search terms Import texts and images automatically⁩

Caught exception:
Traceback (most recent call last):
File "aqt/taskman.py", line 101, in _on_closures_pending
File "aqt/taskman.py", line 71, in <lambda>
File "aqt/taskman.py", line 90, in wrapped_done
File "aqt/operations/__init__.py", line 112, in wrapped_done
File "aqt/reviewer.py", line 412, in after_answer
File "aqt/reviewer.py", line 428, in _after_answering
File "/home/dell/.local/share/Anki2/addons21/864545277/review_controller.py", line 102, in wrapped
originalResult = originalFunction(self)
File "aqt/reviewer.py", line 199, in nextCard
File "aqt/reviewer.py", line 228, in _get_next_v3_card
File "anki/scheduler/v3.py", line 49, in get_queued_cards
File "anki/_backend/generated.py", line 44, in get_queued_cards
File "anki/_backend/__init__.py", line 131, in _run_command
anki.errors.InvalidInput: Invalid input: ⁨bug: card modified without updating queue⁩
Comment from author
Thanks for reporting, I'll try tackling it soon. Do you remember the steps / what you tried to do?
on 1630588244
Thanks for the add-on! It's the best but I run into a problem after the latest update: I've lost my providers and can't add any. Also, I can't return to the previous update. Is this fixable on my side? Maybe I'm doing something wrong.


Update:
Thanks for responding!
I'm sorry for the false alarm. It turned out that I made the program's interface look bigger and that affected the resolution of the configurations of the add-on so I couldn't see the 'Save' button.
Comment from author before post was edited
Hi! That's unexpected.
Can you give some samples of the providers you're trying to add?
on 1629480839
excellent & very useful!!

just wondering - i chanced upon a post from 2018 where someone who was using this addon had an option to "Search for [highlighted text] in Card Browser". is this an option that i can get as well, or did they write the script themself?
Comment from author
Thanks! In Card Browser you can still search the selected word. Just select it on the lower part (the embedded editor).
on 1628682994
Bug caught:

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.46 (94913ec2) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-08-10 14:09:11

Caught exception:
Traceback (most recent call last):
File "C:\Users\maestro\AppData\Roaming\Anki2\addons21\864545277\browser.py", line 368, in _goToAddress
self._currentWeb.load(q)
AttributeError: 'NoneType' object has no attribute 'load'


This happens every time you do the following:

1. Have one tab open
2. Create a second tab by right-clicking and "Open in new tab"
3. After the second page is loaded, close the first page without switching again (just press the red X icon)
4. A black screen will appear
5. Put your mouse on the URL and hit enter

Off-topic: Would it be possible to add an adblock? Or a filter on which domains you are (only) allowed to browse?

Thank you.
Comment from author
Thank you very much for the detailed description. I'm on that already. About the adBlock I can consider it in the future, but probably it wouldn't be so easy. Lets see
on 1628530786
Works great, easily customizable. I wish it had an "Open in Anki Web Browser" for the hyperlinks included in the cards as well.
on 1627108994
good
on 1625228303
Keep up the good work !

You are helping a lot of people be more efficient
on 1624196085
EXTRAORDINARY: PLEASE READ:

1. YOU CAN SET A HOTKEY TO SEARCH AGAIN WITH THE LAST TYPE OF SEARCH
2. YOU CAN SET TO AUTO GOOGLE TRANSLATE TO YOUR LANGUAGE.

So when I dont know a word I just highlight it when reviewing and press my hotkey. LIFE F*KIN CHANGING!
on 1623061239
A very wonderful and great add on but am having a problem when trying to copy and paste an image from google.
Comment from author
Unfortunately people don't read the docs (https://github.com/ssricardo/anki-web-browser/#limitation), then expect something that the add-on explicitly can't do...
on 1622445837
very helpful
on 1617361486
Should be implemented in Anki
Must have add-on
on 1617279094
Super useful addon!

Edit: Actually noticed an error box is popping up, so here's more specific info!

I right-click > search on web > (1) Google web > [search whatever i want and it works ok] > [if i click on a ?large website or open too many tabs i get hit with the following error popup box]

anki.exe - Application error:
"The instruction at 0x00007FF910F311D7 referenced memory at 0x00000000000E0. The memory could not be read.
Click on OK to terminate the program"

If I click OK or click x to close the error popup, either way it kills Anki immediately.

I'm on Version ⁨2.1.42, Windows. Maybe is it that my storage space on my laptop is getting too full?
Comment from author before post was edited
Wow! Which version is your Anki? Which operational system?
I'll check it for sure
on 1616257545
So useful, very very good. Thanks so much for this addon, I love being able to quickly search "(vocab term) + in a sentence" or grab images when making cards!
on 1614270010
Beautiful addon
on 1611840475
cannot add anything to card while reviewing (as should be possible) - "no action available in reviewer mode" - works only when creating a NEW card.

desktop computer/laptop, windows 10, anki 2.1.35

no time rn to report issue on github - if someone sees this, pls report this issue, as the addon (though very helpful) does not work as described (i.e. editing cards while reviewing)

many thanks
george
Comment from author
Hi! Actually it doesn't edit while reviewing (we don't have the reference to the fields). Could you point where in the docs says that it supports that? In that case the doc would be wrong...
on 1611046911
Very cool addon
on 1610496906
v
on 1609335327
Thank you. there is some other useful websites you can add, such as Reverso (Context & Conjugator)
on 1609063850
I love it for its flexibility. I can add my own sources to find sentences, synonyms, etc. Thank you!
on 1607070251
This addon helps me a lot. Making things much easier to create any new card based on some field added before. Thanks a lot. Please update regularly. And show a paypal button for everyone to make donations for this idea.
on 1606259463
Perfeito.
on 1606209759
awesome, works perfect
on 1604679066
Awesome! Thanks.
on 1601268546
A great and time-saving add-on!
on 1600760700
excellent
on 1600418380
This is super helpful!!!
on 1599824041
It helps me save so much time
on 1597451753
Not working on anki version 2.30. Every time I try to look up something it loads a window giving me 3 options, the first with a box to fill in with what I want to search. I've been using this useful add-on since it came out since it was very useful, please fix!

EDIT: I figured out that it's not the anki version, but the fact that I switched over to the V2.1 scheduler. Is there any fix for that?
Comment from author
Wow, I didn't know that there's a problem with that scheduler. I'll try to work that asap
on 1595886718
Fantastic addon, but it's really like it if dragging an image from the browser into anki would add it as an actual image rather than linking to it. Have I missed something?
on 1594420388
GOD BLESS YOU
on 1593877593
it's actually working? It doesn't work for me, what I'm doing wrong? It's like the addon is not installed. There is no option at all to search on the web browser and the shortcut doesn't work.

EDIT: Sorry. What a mistake of mine. For some reason I truly believed that I was using the last version, but it wasn't. Now it works. thanks
Comment from author
Ok, thanks for the update!
on 1593098836
I use this addon heavily. It really changed my workflow. There are some small bugs but do not affect normal using. Would recommend! I'm very grateful to the author for sharing this amazing prorgam.
on 1587774216
nice
on 1587156339
Great adonn. Thank you very much . But

"Added option to query without text selection
* Type in terms or use value from Field
* Memorize option"


functions was time saving. it has dissapered, is it related with upgrade ? Thanks


17.04-2020 thank you very much for great addon .
Comment from author before post was edited
Fixed!
on 1587113979
Works good but is there an Option to add "search in Card Browser" to directly search in my cards for a word ?
on 1587071278
Awesome addon! It's been a big time saver for me. Has anyone been able to use this to search Updtodate? I get an error when using
" https://www.uptodate.com/contents/search?search={} ". Also is there a way to stay logged in? Any help is appreciated!
on 1586525382
Thank you!

There is an issue with my Anki v. 2.1.23:
When I have the add-on enabled it does not automatically select the first text-box when adding cards. I have to press "Tab". This happens both when I start making a new card as well as when doing batch adding (when entering the card via Cmd(Ctrl)+Enter).
Comment from author
Just done! Version 4.0
on 1585737898
Thanks
on 1583911231
Awesome
on 1583871458
It works great using the web browser.
But could you please add a function to open a link? If the answer has a link, I hope right click to open it. Thank you.
on 1579945218
Very good!
on 1579426790
Hi, it's a great addon. But is there any way you programme it in a way that it pastes pictures in a specific size?
on 1578676493
I'm using this all the time. Adding images to your cards becomes super easy and it enhances learning sooo much!
on 1578033422
Just GREAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT

If you could add an drag & drop feature (like as I do drag picture from chrome to my anki fields ) then It lacks nothing

thanks alot keep up the good work
on 1577116840
Add images so quickly
on 1572500415
I want to use this add on for searching and adding images, so it can be very helpful for me in this regard. But I got the same issue here as mentioned before: greyed-out message "no action available on reviewer mode" when I right click on an image.
Comment from author
Hey! Were you adding or editing a card? Could you create an issue on github describing it please?!
on 1570899183
Honestly an amzaing add-on, but messes with my workflow. After adding a card by pressing Ctrl+Enter, I need to press Tab to move my cursor into the correct typing field.
Comment from author
Fixed on new release
on 1570297817
Doesn't appear to currently be working
Comment from author
I believe the problem is on your local installation, since nobody else is complaining.
on 1566130637
It's okay, would be better if you could right-click, copy and paste while in reviewer mode but you can't. Also, it's not compatible with the full screen toggle addon because for some reason your right-click options disappear.
on 1565688577
On Linux, I get a greyed-out message "no action available on reviewer mode" when I right click on an image. Is this a system issue or configuration mistake? The plugin is unusable for now.
Comment from author
Actually it seems neither... Were you either adding or editing a card when you called WebBrowser and got that message?
on 1563505080
I'm changing my review. Just a suggestion, please add a back button.
Comment from author
Done! Version 2.0
on 1560195321
Great addon, but the shortcut is not working..
it crashed my anki many times, tried to change it, no use...
Comment from author
Hi. I registered one issue here: https://github.com/ssricardo/anki-plugins/issues/22. Could you provide more information there, please?!
on 1559163422
cool
on 1556775844
Superb way to quickly add images!
on 1553443428
Good
on 1553291778
Could there be a way to import an image directly into the card if I already know the URL of the image I want?
Comment from author
Anki already does that!
There's just a restriction that the URL suffix needs to be an accepted image extension (png, jpg...)
on 1553239013
Must have plugin. Very easy and helpful.
on 1552424661
Wish I woulda found this sooner. Very awesome!
on 1552327639
So regret to see this so late. I tried a lot by writing code of Javascript, but fell, what a waste of time!
on 1551190010
So convenient!
Just one thing I'd like to ask.
Is Option to use the system web browser only for anki 2.1? I'm using anki 2.0 and I cannot see the option about the system web browser.
I'd like to use anki 2.0 and I want to use my chrome. :(
Always on top function is superb when you search and copy the picture of it to add.
Comment from author
Hi. Unfortunately I can't update the version for Anki 2.0 as I don't have that old version to test it anymore. So, new features will be available only from version 2.1 onwards.
on 1549567432
Good app! but I wish it opens on my chrome browser instead of Anki Web browser add on.
If there a way I can change it ?
Comment from author
Good idea! Done: https://github.com/ssricardo/anki-plugins/issues/9
on 1547544018
Good! Thank you
on 1545255021
Great but doesn't add thumbnails only the full image size
Comment from author
Thanks. About the thumbnails, take a look on https://github.com/ssricardo/anki-plugins/issues/8#issuecomment-466007069
on 1543153236
Works perfectly. I personally use it to add pictures to words which I have an especially hard time remember, funnily enough cheesy and stupid pictures seem to work best in helping me remember :)

It would be nice to have some shortcuts for searching the currently selected word and for instance adding the currently selected image to a predefined field.
Comment from author
Hi. Shortcus added on version 1.2
on 1539428017
Works perfectly, thank you! This is amazing for my workflow!