Javascript returns "object HTMLCollection"

A website I use had a piece of javascript that would allow you to do a nifty lookup on Amazon. Now, if I try to use the javascript, I get taken to a page that says “[object HTMLCollection].”

Is there any way to tell if this a problem with my computer, with Amazon, with the script, or with the website I’m using?

post the link?

It’s not a link, just a javascript bookmarklet widget.

Theoretically, you see a book on Amazon you’d like to read and you click on this bookmark and it opens the page for that book on another book website where you add it to your “to be read” list. It used to work. Now it doesn’t.

Without a URL or the javascript itself, as well as the browser you are using, it’s impossible to help.

Okay. I thought it might be a standard error that would mean something obvious.

My educated guess would be that Amazon changed it’s code on the page and the Javascript can no longer work with it correctly.

Or, the JS makes a callout to a remote server which isn’t responding correctly.

If the script is a file you have downloaded to your computer then the JS isn’t at fault because it hasn’t been changed.

Or, you have changed or updated your browser and the original JS was browser-specific.

In any case, I would report the problem to the script’s creator.