Jaroslav Rojík

Results 3 comments of Jaroslav Rojík

code i use inside the user-javascript extension: ``` function getParameters() { // get id of common tab const commonTabImg = document.querySelector("img[src='/img/common.png']"); if (!commonTabImg) return {}; const commonTabId = Number.parseInt(commonTabImg.parentNode.id[3]); //...

In this case no, I just needed a way to listen to when images where loaded because it sometimes happened that wrong preview was displayed in channels on site load...

platform: windows 11 obsidian version: 1.8.9, 1.8.10