hanFengSan / eHunter

For the best reading experience
MIT License
860 stars 50 forks source link

Error this.html.querySelectorAll(...)[0] is undefined #181

Open nikgtasa opened 8 months ago

nikgtasa commented 8 months ago

Hello. I've started to receive this error recently when using the script. Loading failed, please refresh to retry

Error message: TypeError: this.html.querySelectorAll(...)[0] is undefined

Version: 2.7.3

Waterfox G5.1.3 (64-bit), Win10

On chrome i get this error: Error message: TypeError: Cannot read properties of undefined (reading 'children')

Version: 2.7.3

Tenome commented 7 months ago

Same problem. It looks like the dev might not be updating this anymore, so I'll leave it disabled for now until it gets fixed.

nikgtasa commented 7 months ago

Same problem. It looks like the dev might not be updating this anymore, so I'll leave it disabled for now until it gets fixed.

Try clearing various caches and reinstalling the thing. It got fixed for me somehow.

Tenome commented 7 months ago

Same problem. It looks like the dev might not be updating this anymore, so I'll leave it disabled for now until it gets fixed.

Try clearing various caches and reinstalling the thing. It got fixed for me somehow.

In my case, Mayriads-EH-Master-Script is the culprit. I got around it by adding @exclude https://exhentai.org/s/*

hanFengSan commented 7 months ago

Does this problem occur in all galleries? If it just occur in same galleries, please give me a link.

Tenome @.***>于2023年11月16日 周四06:29写道:

Same problem. It looks like the dev might not be updating this anymore, so I'll leave it disabled for now until it gets fixed.

Try clearing various caches and reinstalling the thing. It got fixed for me somehow.

In my case, Mayriads-EH-Master-Script is the culprit. I got around it by adding @exclude https://github.com/exclude https://exhentai.org/s/*

— Reply to this email directly, view it on GitHub https://github.com/hanFengSan/eHunter/issues/181#issuecomment-1813363569, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2SI5TYCZIXP35KY5DI3BLYEU63BAVCNFSM6AAAAAA6UEC53GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJTGM3DGNJWHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

nikgtasa commented 7 months ago

Does this problem occur in all galleries? If it just occur in same galleries, please give me a link. Tenome @.>于2023年11月16日 周四06:29写道: Same problem. It looks like the dev might not be updating this anymore, so I'll leave it disabled for now until it gets fixed. Try clearing various caches and reinstalling the thing. It got fixed for me somehow. In my case, Mayriads-EH-Master-Script is the culprit. I got around it by adding @exclude https://github.com/exclude https://exhentai.org/s/ — Reply to this email directly, view it on GitHub <#181 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2SI5TYCZIXP35KY5DI3BLYEU63BAVCNFSM6AAAAAA6UEC53GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJTGM3DGNJWHE . You are receiving this because you are subscribed to this thread.Message ID: **@.***>

For me the problem occurred in every gallery.

hanFengSan commented 7 months ago

@nikgtasa Can you press F12(Windows) or Cmd+Option+i(Mac) and select "Console" to get a screenshot to me? I want to know the information in Console to check the error.

hanFengSan commented 7 months ago

And give me a sample link please.

nikgtasa commented 7 months ago

@Tenome It got fixed for me already somehow, ask this guy.