Always refresh the page before copying HTML to Anki. You can choose normal or random ID via floating menu or keyboard shortcut. After reload, it auto-copies once then clears the flag so you can repeat when needed.
This script is for students interested in importing cards from html into anki. See more information here: https://github.com/nabekhan/cardstoankiHTML