instaUnfollow icon indicating copy to clipboard operation
instaUnfollow copied to clipboard

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

Open jack75015 opened this issue 5 years ago • 2 comments

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 :)

jack75015 avatar Sep 23 '19 14:09 jack75015

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.

JimishF avatar Sep 24 '19 09:09 JimishF

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 :$

jack75015 avatar Sep 25 '19 11:09 jack75015