JimishF / instaUnfollow

Check people don't follow you back on Instagram.
57 stars 53 forks source link

Error VM100:141 Uncaught TypeError: Cannot read property 'getElementsByTagName' of undefined #10

Open jack75015 opened 5 years ago

jack75015 commented 5 years ago

Hello

First, I like the project and the idea of using a script and not the not clear instagram API :)

But I guess some updates must be fix :)

I got this error VM100:141 Uncaught TypeError: Cannot read property 'getElementsByTagName' of undefined at flwerscr (<anonymous>:141:21) at <anonymous>:209:5

After Fetching your followers! [wait until finishes] Step :)

JimishF commented 5 years ago

Thanks. The problem arises because Instagram-web has changed the internals of how they load data. The current version of the script needs tones of improvements. If you want to contribute, bring on. or start from scratch.

jack75015 commented 5 years ago

Hello JimishF,

I think the selectors datas have to be changed with the new class name of the instagram web page selectors = { modalTrigger: 'Y8-fY', unameElement: 'FPmhX', userLi: 'NroHT', closeBtn: 'pxaFn', flwTitle: 'm82CD', objDiv: "j6cq2" }

I would live to help you but it's a bit hard to understing clearly with selectors is for each objet :$