Replace content on websites

Maddo7

Client
Регистрация
09.05.2015
Сообщения
109
Благодарностей
5
Баллы
18
I want to replace the content of certain websites with my own content.

There is the method https://help.zennolab.com/en/v7/zennoposter/7.1.4/webframe.html#topic261.html but it only works if the target domain exists and also headers of the original requests are still being used.

C#:
instance.ChangeResponse(".+",
    new List<string>
    {
        @"[\s\S]+"
    },
    new List<string>
    {
        @"REPLACEMENT",
       //"t",
    },false);
For example, if I modify the content for ed9wugh9ewgh9ew.com and go to that url in ZP, it does not work because the domain does not exist. ZP will not display my content but instead display the domain does not exist error.

How can I make it so that my content is displayed under all circumstances, even if the domain does not exist?
Somehow the headers would need to be modified as well I suppose.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)