floblik / YouScrobbler

Scrobbling from YouTube to Last.FM - Userscript for Firefox and Chrome (DISCONTINUED)
http://lukash.de/youscrobbler
GNU General Public License v2.0
33 stars 9 forks source link

titleContentOriginal is undefined #3

Closed jtojnar closed 7 years ago

jtojnar commented 9 years ago

When I open YouTube page, Firefox browser console is being flooded with following errors:

TypeError: document.getElementById(...) is null youscrobbler.user.js:627:32
TypeError: titleContentOriginal is undefined youscrobbler.user.js:1133:7
TypeError: document.getElementById(...) is null youscrobbler.user.js:1519:17

Maybe there is some connection to the (fairly) new YouTube design,

I started cleaning the code in my fork to make it pass eslint and easier to debug. When I finish this I will send a Pull Request, hopefully also fixing this.


EDIT: The errors didn’t originate from video page but from a channel. I will patch that.

Bellow is the current call chart.

Call chart


Also sometimes I get

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

or sometimes just There was an internal error. Please retry your request.