Is any hook that is invoked before opening the “Current Card (Browser)” window by “Cards → Card Info…” menu item?
How to modify content of the “Current Card (Browser)” window from an addon?
Thanks!
Is any hook that is invoked before opening the “Current Card (Browser)” window by “Cards → Card Info…” menu item?
How to modify content of the “Current Card (Browser)” window from an addon?
Thanks!
You could try the gui_hooks.webview_did_inject_style_into_page hook.
Try the example given there in the docstring. Use AnkiWebViewKind.BROWSER_CARD_INFO to check for the Card Info screen.
Hello, once you got that webview, is there any clean method to get the Card ID related to it ?