HaJaeKyung / KittyExtension

Fan add-on for https://www.cryptokitties.co
MIT License
232 stars 88 forks source link

Chrome No Longer Works - shows {Object Object] #21

Closed mhannigan closed 6 years ago

mhannigan commented 6 years ago

There are no cattributes listed. Where each would be, only [Object Object] is shown.

SydnaA commented 6 years ago

It no longer works for me on chrome.

Uncaught TypeError: Cannot read property 'innerText' of undefined
    at HTMLAnchorElement.overlay (eval at <anonymous> (:2:479), <anonymous>:152:75)
    at HTMLBodyElement.dispatch (eval at <anonymous> (:2:479), <anonymous>:6:10316)
    at HTMLBodyElement.q.handle (eval at <anonymous> (:2:479), <anonymous>:6:8343)
screen shot 2017-12-06 at 8 57 19 pm

Not sure if same issue as yours.

Hog-Fillet commented 6 years ago

Same issue here, just upgraded from 0.20

jgoggan commented 6 years ago

The Object Object thing usually means you're on an older version.

That being said, 0.27 is not working right now either -- just shows nothing for me and anyone else I've asked in the Discord.

henrylai commented 6 years ago

Change L144, and L146 from using: children[0].children[1].children[2].innerText to children[0].children[1].children[1].innerText

henrylai commented 6 years ago

Submitted a pull request for the fix. Alternatively you can use the forked repo with the fix: https://github.com/henrylai/KittyExtension/blob/master/script

jgoggan commented 6 years ago

Actually, on line 148, you need children[0] for the last one, right? It's already children[1].

henrylai commented 6 years ago

No changes needed for L148, my mistake, edited comment above.