Catch the requests and return response from other URLs or local files, block ads, inject request headers.
Install Proxyee, configure intercept rules, browse with modified requests.