This is a followup to my previous pull request that reintroduces version information through a significant rework of getMeta. A different endpoint is now called to get the extension details as JSON. However, Google return dirty JSON so xhr.responseJSON was not viable and xhr.responseText is treated before being parsed in to JSON.
This is a followup to my previous pull request that reintroduces version information through a significant rework of
getMeta
. A different endpoint is now called to get the extension details as JSON. However, Google return dirty JSON soxhr.responseJSON
was not viable andxhr.responseText
is treated before being parsed in to JSON.I've also included a few minor changes;