|
|
@ -1989,6 +1989,7 @@ else if (matchDomain(['lc.nl', 'dvhn.nl'])) {
|
|
|
|
let url_nuxt = json.split(',url:"')[1].split('",')[0].replace(/\\u002F/g, '/');
|
|
|
|
let url_nuxt = json.split(',url:"')[1].split('",')[0].replace(/\\u002F/g, '/');
|
|
|
|
if (url_nuxt && !url_nuxt.includes(window.location.pathname))
|
|
|
|
if (url_nuxt && !url_nuxt.includes(window.location.pathname))
|
|
|
|
refreshCurrentTab();
|
|
|
|
refreshCurrentTab();
|
|
|
|
|
|
|
|
else if (json.includes(',body:')) {
|
|
|
|
let json_text = json.split(',body:')[1].split('leadText:')[0];
|
|
|
|
let json_text = json.split(',body:')[1].split('leadText:')[0];
|
|
|
|
let article = document.querySelector('div.content');
|
|
|
|
let article = document.querySelector('div.content');
|
|
|
|
if (article) {
|
|
|
|
if (article) {
|
|
|
@ -2005,7 +2006,7 @@ else if (matchDomain(['lc.nl', 'dvhn.nl'])) {
|
|
|
|
if (!concat) {
|
|
|
|
if (!concat) {
|
|
|
|
elem = document.createElement('p');
|
|
|
|
elem = document.createElement('p');
|
|
|
|
elem.innerText = item;
|
|
|
|
elem.innerText = item;
|
|
|
|
if (item.match(/\s$/))
|
|
|
|
if (item.match(/(\s|-)$/))
|
|
|
|
concat = 2;
|
|
|
|
concat = 2;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
elem.innerText += (concat < 2 ? ' ' : '') + item;
|
|
|
|
elem.innerText += (concat < 2 ? ' ' : '') + item;
|
|
|
@ -2036,6 +2037,7 @@ else if (matchDomain(['lc.nl', 'dvhn.nl'])) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
let top_ad = document.querySelector('.top__ad');
|
|
|
|
let top_ad = document.querySelector('.top__ad');
|
|
|
|
removeDOMElement(top_ad);
|
|
|
|
removeDOMElement(top_ad);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -3916,9 +3918,9 @@ else if (matchDomain('studocu.com')) {
|
|
|
|
window.setTimeout(function () {
|
|
|
|
window.setTimeout(function () {
|
|
|
|
let paywall = document.querySelector('div._de9e5fdb76af');
|
|
|
|
let paywall = document.querySelector('div._de9e5fdb76af');
|
|
|
|
if (paywall) {
|
|
|
|
if (paywall) {
|
|
|
|
let banners = document.querySelectorAll('div._d18a99c0d544, div#premium-page-header');
|
|
|
|
let banners = document.querySelectorAll('div._869f7c361ca9, div#premium-page-header');
|
|
|
|
removeDOMElement(paywall, ...banners);
|
|
|
|
removeDOMElement(paywall, ...banners);
|
|
|
|
let blurred_pages = document.querySelectorAll('div.page-content[style*="filter: blur"]');
|
|
|
|
let blurred_pages = document.querySelectorAll('div.page-content[style]');
|
|
|
|
for (let blurred_page of blurred_pages) {
|
|
|
|
for (let blurred_page of blurred_pages) {
|
|
|
|
let page = document.createElement('span');
|
|
|
|
let page = document.createElement('span');
|
|
|
|
page.setAttribute('class', 'page-content');
|
|
|
|
page.setAttribute('class', 'page-content');
|
|
|
|