Amazon - Show Seller Info

Shows name, country of origin and ratings for third party sellers on Amazon (and highlights Chinese sellers)

< Feedback on Amazon - Show Seller Info

Review: Bad - script does not work

§
Posted: 2020-05-03

ReferenceError: GM_xmlhttpRequest is not defined

Hi, it seems that the script is not working, am getting this error:

Script error in [Greasemonkey script https://openuserjs.org/users/Taddiboy/Amazon - Show Seller Info; version 1.0.1]: ReferenceError: GM_xmlhttpRequest is not defined

regards

Tad WohlrappAuthor
§
Posted: 2020-05-06

Thanks for letting me know! I googled a bit, and let me guess: you're using Greasemonkey 4.0+? I'm on Chrome with Tampermonkey so for me it works fine. I'll have to replace GMxmlhttpRequest with GM.xmlHttpRequest (as Greasemonkey changed that variable with v4.0 without any backwards compatibility..) and find an alternative for GMaddStyle. I'll update in a few days

Tad WohlrappAuthor
§
Posted: 2020-05-06

@devilous Does it work when you add // @require https://greasemonkey.github.io/gm4-polyfill/gm4-polyfill.js to the meta block?

Tad WohlrappAuthor
§
Posted: 2020-05-07

The script is now updated and should work with Firefox/Greasemonkey as well.

Post reply

Sign in to post a reply.