Safari shows what a page fetched.
Version 1.29.0 ·
Record a tab's requests and console errors, read any response, and save a file a site hands over as base64 inside JSON straight to your Downloads.
Share this release
Safari shows what a page fetched. Record a tab's requests and console errors, read any response, and save a file a site hands over as base64 inside JSON straight to your Downloads. https://cupertino.mgcrea.io/changelog/1.29.0/
Added
Safari can show what a page fetched. With the new "Read network traffic" setting on, three tools appear:
apple_safari_network_recordstarts and stops recording on an open tab,apple_safari_network_listlists the requests it made, with method, address, status and timing, andapple_safari_network_getreads one request's headers and response. It answers the questions a page's text cannot, such as why a button did nothing or which call came back with an error. The setting is off by default, recording is per tab and ends on its own after 15 minutes unless you ask for longer, and it works only on websites you have allowed the Cupertino extension on.A file inside a response can be saved straight to disk. Some sites hand over a document, a signed PDF for instance, as base64 inside a JSON response rather than as a download.
apple_safari_network_getcan pick that field out, decode it and save it to your Downloads folder in one call, without the file passing through the conversation. Saving a file, and reloading a tab to record it from the start, also need the write setting.What it cannot see, and what it does not hide. Only the page's own
fetchandXMLHttpRequestcalls and its console errors are recorded: nothing from embedded frames, web or service workers, or WebSockets. Headers that carry credentials are masked, but response bodies and addresses are returned as the page received them, so a body or a link holding a token comes back with the token in it.