Fix-update Inkl (cookies)

This commit is contained in:
magnolia1234 2020-07-25 15:31:58 +02:00
parent 41632c9120
commit 03a8ec5389
2 changed files with 2 additions and 1 deletions

View file

@ -40,7 +40,6 @@ var allow_cookies = [
'humo.be',
'ilfattoquotidiano.it',
'independent.ie',
'inkl.com',
'intelligentinvestor.com.au',
'knack.be',
'lc.nl',

View file

@ -723,6 +723,8 @@ else if (matchDomain('ftm.nl')) {
else if (matchDomain('inkl.com')) {
document.addEventListener('DOMContentLoaded', () => {
if (window.location.href.includes('?'))
window.location.href = window.location.href.split('?')[0];
let menu_btn = document.querySelector('div.left-buttons-container button.menu-btn');
if (!menu_btn) {
let article_container = document.querySelector('div.article-content-container');