IMDb-Scout-Mod icon indicating copy to clipboard operation
IMDb-Scout-Mod copied to clipboard

check if nextSibling exists before wrapping

Open Audionut opened this issue 6 months ago • 6 comments

This seems to get reference view working on Edge. There's still IMDb Scout Mod (Get a genre Error): Element not found! Please report it. Screenshot 2025-06-14 104450

Audionut avatar Jun 14 '25 00:06 Audionut

This fixes a different error to the one posted on the forum. It seems like there might be some different page layouts depending on the page.

Audionut avatar Jun 14 '25 00:06 Audionut

This seems to get reference view working

I wouldn't call this "working", all reference stuff needs to be rewritten.

It seems like there might be some different page layouts depending on the page.

That's why I'm not in a hurry on this, they will probably change it few times till they will stop touching it.

Purfview avatar Jun 14 '25 01:06 Purfview

Working, as in the script loads, heh.

But yes, I don't envy the amount of changes that's been made.

Audionut avatar Jun 14 '25 01:06 Audionut

"fix genre error" - you are not fixing the error there, you just hide report about the error. 😁

Purfview avatar Jun 14 '25 01:06 Purfview

well here It's ipc not ipl

<li role="presentation" class="ipc-inline-list__item"><a class="ipc-metadata-list-item__list-content-item ipc-metadata-list-item__list-content-item--link" tabindex="0" aria-disabled="false" href="/search/title/?genres=Action&amp;explore=genres&amp;ref_=ttrv_stry_gnr">Action</a></li>

Audionut avatar Jun 14 '25 01:06 Audionut

I guess you don't understand the code and maybe the programming in general.

Don't waste your time, there is no simple fix. Maybe the hundreds lines of code needs to be rewritten.

Purfview avatar Jun 14 '25 01:06 Purfview