Make HTTP request from chrome:// URL in JavaScript

I am trying to process a bunch of data on a URL prefixed with chrome://, it being chrome://webrtc-internals/. To do this, I am sending it to a server via AJAX request from code I ran manually in the inspect tool.

But I assume for security purposes, any requests to outside URLs (ones that don’t start with chrome://) fail, and I don’t even see them in Wireshark.

const req = new XMLHttpRequest();
req.open("POST", "https://example.com", true);
req.send();

enter image description here

Is there any way I can disable this so I can make requests to other URLs?