Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How to check whether a web tool uploads your file (DevTools + a fetch/XHR hook)

Lots of web tools say "your file never leaves your browser". You don't have to take their word for it: it takes a few minutes to check from the outside. Below is the method we use, from the quick DevTools check to a small page-side hook that records request body sizes, plus the case where an automated network log reported 0 bytes for a request that carried the whole file . Disclosure: I build…

To determine if a web tool uploads your file, follow these steps:

1. Use a test file: Create a blank image or short text file that cannot be compressed. For example, a 400x300 random-noise PNG with about 360 KB size. This ensures the request carrying the file is at least as large as the file itself.

2. Quick check using DevTools:

- Open DevTools (F12) and go to the Network tab.

- Preserve the log so the list remains while you interact with the page.

- Filter the filter box to show only GET requests (POST, PUT, etc.).

- Perform the actions on the page as a normal user would (convert, upload, download).

- Click each remaining request and check the Payload tab for (binary) or a form field, and the Content-Length request header.

- Note the request size, which should be about the same as the file size (a little more for form boundaries and headers).

Things to watch out for:

- The Size column shows the response, not what was sent.

- Some sites send the file immediately upon selection, while others only when you press Convert.

- Check both moments.

- Some sites send a resized copy or thumbnail.

- Look at POST bodies smaller than the file size as well.

Offline check:

- Load the page and set the Network throttling dropdown to Offline.

- If the conversion still works, the network was not required for the upload.

- If it fails, the upload likely required network communication.

3. Addressing network logs:

- Automated network logs can sometimes miss uploads. For example, a POST with a 1,243,445-byte photo was logged with a request body size of 0.

- To account for this, use a page-side hook that logs the size of the request body for fetch(), XHR, and sendBeacon functions.

- Wrap the functions the page uses to send data, before the page uses them, and log the size of each body.

- Compare the network log size with the page-side hook size. Use the larger value to determine if an upload occurred.

By following these steps, you can verify whether a web tool uploads your file or not without relying solely on the tool's claims.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Array Division | CSES - Algoritmit ongelmanratkaisussa

https://cses.fi/alon/task/1085 #include #include #include using namespace std ; int main ( ) { ios_base :: sync_with_stdio ( false ) ; cin .

  • Problem involves dividing array into subarrays to minimize maximum sum
  • Solution uses binary search algorithm on CSES platform
  • Program outputs smallest possible maximum subarray sum

Is a cross-encoder reranker worth the latency? Measured on 2,908 FastAPI doc chunks

Tested on: FastAPI English docs (154 Markdown files, 2,908 heading-aware chunks), sentence-transformers 6.3.0, transformers 5.24.1, torch 2.15.0 CPU (1 torch thread, 2-core GitHub runner)…

  • Reranking top 20 candidates improves MRR from 0.710 to 0.889 on FastAPI doc chunks
  • Latency increases proportionally with candidate depth, costing 1,706 ms per query at 20 candidates
  • Reranking benefits natural-language queries but may not improve identifiers and paraphrases

Shrinking an encrypted photo vault on the phone: AES-256-GCM plus HEVC, and no cloud

Most photo vault apps solve one problem: hiding pictures behind a PIN. We wanted to solve two at once on a phone that is already full: keep private photos encrypted on the device, and make that…

  • PhotoVault encrypts photos using AES-256-GCM on device without cloud
  • Lossless mode stores original files, Compact mode uses HEVC re-encode
  • Secure Share transfers vault between devices without cloud involvement

Kapper 2.1: already delightful for humans, now rocket fuel for agents

Since Kapper 1.6 , we've shipped six releases — and somewhere along the way, the way people write SQL changed. Most SQL is now written by an agent.

  • Kapper 2.1 improves speed with cacheable templates and optimized query path
  • Self-describing errors introduced in 2.0.0 provide clearer messages for humans and agents

Meet in the Middle | CSES - Algoritmit ongelmanratkaisussa

https://cses.fi/alon/task/1628 #include #include #include #include using namespace std ; int dp [ 41 ] [ 41 ] ; int n ; long long x ; long long arr [ 41 ] ; vector getSubsetSum ( int l , int r ) { int…

  • CSES problem-solving platform presents C++ solution
  • Dynamic programming and binary search techniques used
  • Program calculates ways to partition array into subsets with specific sum

More from Sunday, 29 November 2026 →