|
|
|
@ -8,6 +8,7 @@
|
|
|
|
|
// @match https://ria.ru/*
|
|
|
|
|
// @match https://rg.ru/*
|
|
|
|
|
// @match https://www.cnews.ru/*
|
|
|
|
|
// @match https://mixednews.ru/*
|
|
|
|
|
// @match https://russian.rt.com/*
|
|
|
|
|
// @match https://zakonvremeni.ru/*
|
|
|
|
|
// @icon https://icons.duckduckgo.com/ip2/zakonvremeni.ru.ico
|
|
|
|
@ -428,6 +429,25 @@
|
|
|
|
|
[] |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
else if (location.hostname == 'mixednews.ru') { |
|
|
|
|
// test: https://mixednews.ru/archives/180224
|
|
|
|
|
const base_element = document.getElementsByClassName('entry-header')[0]; |
|
|
|
|
|
|
|
|
|
content = MakeContentByNews( |
|
|
|
|
base_element, |
|
|
|
|
document, |
|
|
|
|
document, |
|
|
|
|
'entry-title', // Нет названия
|
|
|
|
|
'entry-content', |
|
|
|
|
'entry-content', |
|
|
|
|
ElementCheckerTrue, |
|
|
|
|
SubElementCheckerToRemoveTemplate( |
|
|
|
|
'ssba', |
|
|
|
|
'NOSCRIPT|SCRIPT|BR|IMG|!--' |
|
|
|
|
), |
|
|
|
|
[] |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
else if (location.hostname == 'zakonvremeni.ru') { |
|
|
|
|
const base_element = document.getElementsByClassName('item-page')[0]; |
|
|
|
|
const title = GetContentInContainers(FindElementsByRegExp(GetElementClassName, 'page-header', base_element), grub_text_func, FinishWorkFuncZV); |
|
|
|
|