Bỏ qua đến nội dung

Update "lookup" Tags

Chờ xử lý #anki #addon #update #lookup #tags
Unknown
19/11/2018

Cách tải addon Update "lookup" Tags

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

1715601279

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 1715601279 và copy

2

Mô tả chi tiết

Some facts are expected to change over time - countries choose new leaders, the list of operating Martian rovers increases by one, the top grossing movie of all time is supplanted by a new blockbuster. This add-on allows you to include a “<lookup>” tag with “href” and CSS “selector” attributes. At startup, or when run from the menu, it checks the web. If the content has changed, the add-on updates the note with the new values and resets the schedules of the affected cards.

For a silly example, try this note (be sure to paste it into the HTML editor view, not the normal text editor): Front: Is it Friday already? Back: <lookup href=“http://www.isitfridayalready.com/” selector=“#what”>Maybe</lookup>

Open Anki on Friday and you’ll see this card is New and says “Yes”; on Saturday it’s New again and says “No” for the rest of the week.

Be really careful what you link to - someone could put some malicious script into a web page, such that when this add-on runs, the downloaded content causes some kind of grief.


Reviews (2)

👍 2022-09-24


                    #newContent = item[0].string

                    newContent = str(item[0])

&lt;details open&gt;

  &lt;div id="lookuptagsfield"&gt;&#123;&#123;Update Lookup Tags&#125;&#125;&lt;/div&gt;

  &lt;script&gt;document.getElementById('lookuptagsfield').innerHTML = document.getElementById('lookuptagsfield').innerText&lt;/script&gt;

&lt;/details&gt;

&lt;details&gt;

  &lt;iframe loading="lazy" src="…"&gt;

&lt;/details&gt;

👍 2019-12-03

thank you