Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in console #25

Open
ghost opened this issue May 27, 2017 · 9 comments
Open

Error in console #25

ghost opened this issue May 27, 2017 · 9 comments

Comments

@ghost
Copy link

ghost commented May 27, 2017

When im scrolling down on my feed I keep seeing this;
stopclickbait.js:105 Uncaught TypeError: Cannot read property 'childNodes' of undefined
at loop (stopclickbait.js:105)
at init (stopclickbait.js:201)
at stopclickbait.js:313
loop @ stopclickbait.js:105
init @ stopclickbait.js:201
(anonymous) @ stopclickbait.js:313

It also does not do "anything"

Might be because I'm from Norway?

Tried on Edge and Chrome

@autinerd
Copy link

In which language is your FB?

@ghost
Copy link
Author

ghost commented May 27, 2017

English (US)

@autinerd
Copy link

Shall now be fixed. FB changed its structure a bit, so that the positions in the DOM changed

@ghost
Copy link
Author

ghost commented May 28, 2017

Can not confirm fix,

stopclickbait.js:197 Uncaught TypeError: Cannot read property 'childNodes' of undefined
    at HTMLDocument.loop (stopclickbait.js:197)

The line:

var FBPageLink = spanContainer2.childNodes[0].childNodes[2].childNodes[0].childNodes[0].childNodes[0].href;

(http://prntscr.com/fczwij)

@ghost
Copy link
Author

ghost commented May 28, 2017

And on page load this happens:
stopclickbait.js:105 Uncaught TypeError: Cannot read property 'classList' of undefined at HTMLDocument.loop (stopclickbait.js:105)

and when clicking the scb button the console gives me these errors:
http://prntscr.com/fd03qe

@autinerd
Copy link

autinerd commented Jun 3, 2017

Is the first error still there?

The errors on the screenshot are there, because your browser language (Norsk Bokmål) is not supported bz the browser add-on yet.

@ghost
Copy link
Author

ghost commented Jun 3, 2017

Everything seems to load just fine, not noticed anything.

Other than this:
stopclickbait.js:303 Uncaught TypeError: Cannot read property 'classList' of undefined
at revealLine (stopclickbait.js:303)
at loop (stopclickbait.js:137)
at init (stopclickbait.js:211)
at stopclickbait.js:323

But does not look like its not doing any harm

@autinerd
Copy link

autinerd commented Jun 4, 2017

Does the "This is a Stop Clickbait test" line show?

@ghost
Copy link
Author

ghost commented Jun 5, 2017

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant