Answer the question
In order to leave comments, you need to log in
Chrome ext: how to replace page text at the HTTP communication stage?
Suppose a tab is opened in Chrome, the contents of the URL are loaded, and the DOM is built.
Task: by extension to intercept the exchange of bytes with the server and replace the server's response with your own.
Is it possible?
There are content scripts, but then the HOUSE will already be built, it is impossible to cancel the construction of the original HOUSE like that, the scripts on the page will start working - I want to prevent all this. There is a webRequest , but there you can listen to the maximum content, not change it (AFAIK).
Answer the question
In order to leave comments, you need to log in
You can intercept - if you are satisfied with the porridge from the ciphertext :) But what will you do with it? https was invented specifically to prevent this from happening.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question