Source code modification (Модификация исходного кода)
|
Aug. 29, 2017, 05:15 PM
Post: #1
|
|||
|
|||
Source code modification (Модификация исходного кода)
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: Привет! Нужно изменить исходный код https://www.gazeta.ru. В качестве примера, удаляю фрагмент кода в 49 строке: Code: Проблема похоже в этих браузерах, каким-то образом они выполняют оригинальный код. |
|||
Aug. 30, 2017, 09:38 PM
Post: #2
|
|||
|
|||
RE: Source code modification (Модификация исходного кода)
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. В чем может быть дело? ![]() |
|||
Aug. 31, 2017, 09:35 PM
(This post was last modified: Aug. 31, 2017 09:37 PM by Faxopita.)
Post: #3
|
|||
|
|||
RE: Source code modification (Модификация исходного кода)
Maybe you could try
With…
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 `|`. |
|||
Sep. 01, 2017, 02:46 PM
(This post was last modified: Sep. 01, 2017 03:19 PM by vlad_s.)
Post: #4
|
|||
|
|||
RE: Source code modification (Модификация исходного кода)
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 ![]() |
|||
Sep. 01, 2017, 04:38 PM
Post: #5
|
|||
|
|||
RE: Source code modification (Модификация исходного кода)
I saved the page ok.ru with
Code: curl -k -o ok https://ok.ru Я сохранил страницу ok.ru при помощи Code: curl -k -o ok https://ok.ru |
|||
Sep. 01, 2017, 06:24 PM
Post: #6
|
|||
|
|||
RE: Source code modification (Модификация исходного кода)
It seems I figured out what was the matter. Enabling the filter "+prevent-compression" for the specified pages solved the problem
![]() Кажется я разобрался в чём было дело. Включение фильтра "+prevent-compression" для указаных страниц решило проблему ![]() |
|||
Sep. 01, 2017, 08:44 PM
Post: #7
|
|||
|
|||
RE: Source code modification (Модификация исходного кода)
Congratulations! I wouldn't have thought about enabling that filter.
|
|||
Sep. 01, 2017, 09:42 PM
Post: #8
|
|||
|
|||
RE: Source code modification (Модификация исходного кода)
I also accidentally noticed.
Я тоже случайно обратил внимание. |
|||
« Next Oldest | Next Newest »
|