News for hackers. Stuff that matters.
Re:Tell HN: Service Workers === Browser Background Tasks by sachinjain on Tuesday August 29, 2023 @06:21PM (#37314902)
Requestly founder here. If this is a third-party site then you don't have control over the behaviour of service worker.

Your bet is to use a browser extension to override the response of that specific API and sort of change the response.

PS - Why do you think this is an overkill solution?

Re:Tell HN: Service Workers === Browser Background Tasks by fortunateregard on Wednesday August 30, 2023 @06:03PM (#37329739)
> PS - Why do you think this is an overkill solution?

Only because my use case is very trivial and does not require most of the features. On the other hand, it did get the job done on the first try so I can't really complain.