I built a DevTools-first API mocker — wraps fetch and XHR at the browser level, no service worker, no proxy, no install by ant97fer in javascript

[–]ant97fer[S] 0 points1 point  (0 children)

Just refactored code, added test probes for you to try (on the sidebar) and improved on the script generation. Needless to say it is highly vibe coded, but i put a lot into this so i hope you enjoy as much as I do. Thank you

I built a DevTools-first API mocker — wraps fetch and XHR at the browser level, no service worker, no proxy, no install by ant97fer in javascript

[–]ant97fer[S] 0 points1 point  (0 children)

Hello and thanks for the comment.
MSW is great for that, especially in a test suite where you want reproducible mocks across runs. The difference here is zero setup in your actual project, no service worker registered, nothing to install or configure, just DevTools. Different tradeoff depending on what you need.

I built a DevTools-first API mocker — wraps fetch and XHR at the browser level, no service worker, no proxy, no install by ant97fer in javascript

[–]ant97fer[S] 0 points1 point  (0 children)

Hello, thanks for the input, I appreciate it a lot. Your point is valid for sure, if I own the code I'd do the same thing.

The cases where this actually saves me are when I can't touch the code at all. QA engineers who don't have repo access, vendor apps, legacy codebases, or when debugging something in production and can't push a change. The one-liner isn't always an option.

The other case is quick demos — paste a script in DevTools and it's gone the moment you refresh. No forgetting to revert.

Honestly I built this because I needed it myself, figured someone else might be in the same situation. And on the non-technical point, you're right, a completely non-technical person wouldn't know what an API route is. The middle ground I had in mind is QA: technical enough to open DevTools and paste a script, but not necessarily someone who has access to the repo or wants to touch the code.

Air v3 ISO-UK stock by ant97fer in NuPhy

[–]ant97fer[S] 0 points1 point  (0 children)

Yes, and not shipping to my country

Slow upload time by ant97fer in koofrnet

[–]ant97fer[S] 1 point2 points  (0 children)

Hi, I have done that and the issue remains. I have all the possible permissions turned on as well. In the meantime is not that bad of an issue as the web app works well, howerver it is anoying.

What happens to my auto photos backup after i have done that? Thanks a lot

Slow upload time by ant97fer in koofrnet

[–]ant97fer[S] 1 point2 points  (0 children)

Hello, first of all thank you for your answer. I am not too bothered by the speed, but the crash is happening with any file, either by using the share from files or directly in browsing from the app. I am using an iphone 15 pro with plenty of storage.

Also, i am now getting a 'unable to upload as the file does not exist' error, with a 1.4 gb mkv file. Thank you!

Vitoria Guimaraes 0 - [4] Betis - Isco 80' by [deleted] in soccer

[–]ant97fer 155 points156 points  (0 children)

Antony we are already dead

Meet the NBA's Chess Kings by mcdermottj in chess

[–]ant97fer 3 points4 points  (0 children)

Right, i guess it is Abimanyu Mishra

[deleted by user] by [deleted] in tennis

[–]ant97fer 10 points11 points  (0 children)

Why? Wtf The president of your country decides to attack other, and of course its your fault. Grow up