Hello! I need to change the source code to
https://www.gazeta.ru. As an example, I delete the code fragment in line 49:
Code:
s@X-UA-Compatible@@ig
The problem is that it does not work, it works only in IE11. In Firefox and Edge does not work. The problem is similar in these browsers, somehow they execute the original code.
Привет! Ðужно изменить иÑходный код
https://www.gazeta.ru. Ð’ качеÑтве примера, удалÑÑŽ фрагмент кода в 49 Ñтроке:
Code:
s@X-UA-Compatible@@ig
Проблема в том что Ñто не Ñрабатывает, вернее работает только в IE11. Ð’ Firefox и Edge не работает.
Проблема похоже в Ñтих браузерах, каким-то образом они выполнÑÑŽÑ‚ оригинальный код.
Another example, the replacement of the word Mail on SMail on page ok.ru
In IE11 always works, but in the MS Edge and Firefox 54 are not always, especially if you perform the input, after which several times press Ctrl+R. What can be wrong?
Ещё пример, замена Ñлова Mail на SMail на Ñтранице ok.ru
Ð’ ИЕ11 вÑегда работает, а вот в MS Edge и Firefox 54 не вÑегда, оÑобенно еÑли выполнить вход, поÑле чего неÑколько раз нажать Ctrl+R. Ð’ чем может быть дело?
![[Image: uL71rq1PGU.png]](http://www.picshare.ru/uploads/170831/uL71rq1PGU.png)
Maybe you could try
With…
- U: switches to ungreedy matching
- s: the match may span multiple lines in the page.
If still not working, I suggest you look into the page source code and compare the two different versions from IE and MS Edge.
Or maybe the `@` sign does not work very well and should be replaced by something like `|`.
The option you proposed did not change anything either (and with other delimiters too). In IE11 works, in Edge does not work. I looked at the source code in IE11, it changes. Also on the main page of
http://www.gazeta.ru from the message above. Could it be that the browser somehow executes the code already in itself?
On ok.ru sometimes works, if several times press Ctrl+R, then everything repeats. But gazeta.ru never works, works correctly only in IE11.
I recorded the video so as not to make the impression that it was some kind of joke:
http://my-files.ru/ny2wqi/Video_2017-09-01_181125.wmv
Предложенный вами вариант так же ничего не изменил (и Ñ Ð´Ñ€ÑƒÐ³Ð¸Ð¼Ð¸ разделителÑми тоже). Ð’ IE11 работает, в Edge не работает. ИÑходний код в IE11 Ñ Ñмотрел, он менÑетÑÑ. Так же на главной Ñтранице
http://www.gazeta.ru из ÑÐ¾Ð¾Ð±Ñ‰ÐµÐ½Ð¸Ñ Ð²Ñ‹ÑˆÐµ. Может ли быть так что браузер как-то иÑполнÑет код уже у ÑебÑ?
Ðа оk.ru иногда Ñрабатывает, еÑли неÑколько раз нажимать Ctrl+R, потом вÑÑ‘ повторÑетÑÑ. Ðо на gazeta.ru никогда не Ñрабатывает, правильно работает только в ИЕ11.
Я запиÑал видео, чтобы не ÑоздалоÑÑŒ Ð²Ð¿ÐµÑ‡Ð°Ñ‚Ð»ÐµÐ½Ð¸Ñ Ñ‡Ñ‚Ð¾ Ñто какаÑ-то шутка:
http://my-files.ru/ny2wqi/Video_2017-09-01_181125.wmv
![[Image: 71ux3P1YUM_thumb.jpg]](http://www.picshare.ru/uploads/170901/71ux3P1YUM_thumb.jpg)
I saved the page ok.ru with
Code:
curl -k -o ok https://ok.ru
to a file. In Notepad ++ opened this file, it is changed Privoxy. Edge and FF somehow ignore the actions of Privoxy???
Я Ñохранил Ñтраницу ok.ru при помощи
Code:
curl -k -o ok https://ok.ru
в файл. Ð’ Notepad++ открыл Ñтот файл, он изменён Privoxy. Edge и FF как-то игнорируют дейÑÑ‚Ð²Ð¸Ñ Privoxy???
It seems I figured out what was the matter. Enabling the filter "+prevent-compression" for the specified pages solved the problem

.
КажетÑÑ Ñ Ñ€Ð°Ð·Ð¾Ð±Ñ€Ð°Ð»ÑÑ Ð² чём было дело. Включение фильтра "+prevent-compression" Ð´Ð»Ñ ÑƒÐºÐ°Ð·Ð°Ð½Ñ‹Ñ… Ñтраниц решило проблему

.
Congratulations! I wouldn't have thought about enabling that filter.
I also accidentally noticed.
Я тоже Ñлучайно обратил внимание.