Closed remillc closed 9 years ago
Thanks for bringing this to my attention. Initial thoughts are:
1) Intercept the POST request, grab the params from the body and reconstruct them as GET url with a querystring then pass it to GACoreAPI.parse. This would need to happen in each browser extension.
2) Modify GACoreAPI.parse to accept a request object. This would keep the code centralised but the problem is the native request object differs between browsers so we'd need to map properties to a common object.
If you checkout the support-transport-field
branch and build you should now have support for image
, xhr
and beacon
.
Feedback appreciated.
This has been fixed and merged. See https://github.com/keithclark/gadebugger/commit/5e5348d8372c7576e47d7373feee717f0c21d1ed
With the new transport field added on the Release 2015-04-13, setting it either on
beacon
orxhr
will break gaDebugger.Here are some infos on what the
request
object comming from thechrome.devtools.network.onRequestFinished
listener looks like with each of the mentionned transport mechanisms:beacon
xhr
If i find some time, I'll try to patch the code...