anki 2.1.54 windows 10
I was wondering if someone already worked on or seen something similar.
I created some clickable icons that link to dictionaries. I need to open the dictionary very often. A new tab is opened every time I click a word. I tried using the same name for the target attribute, but it didn’t work. I tried some javascript but it also didn’t work. although both methods work when I create an ordinary webpage.
I know the docs say that it’s not possible to provide help writing javascript. I was wondering if someone has already done it.
here’s my html block for example:
<span class="icon-bar">
<a class="favicon-link" href="``https://de.wiktionary.org/wiki/{{text:Word}``}" target="\_blank" rel="noopener">
<img class="favicon-img" src="``https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Wiktfavicon_en.svg/64px-Wiktfavicon_en.svg.png``" alt="open" />
</a>
</span>