mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-05-04 14:14:27 +02:00
Remove error popping up on nytimes.com (#1079)
This commit is contained in:
parent
312c36f415
commit
af8b6ce081
@ -261,7 +261,7 @@ if (matchDomain('elmercurio.com')) {
|
|||||||
// Restore scrolling
|
// Restore scrolling
|
||||||
document.onreadystatechange = function () {
|
document.onreadystatechange = function () {
|
||||||
if (document.readyState === 'complete') {
|
if (document.readyState === 'complete') {
|
||||||
document.querySelector('.css-mcm29f').setAttribute('style', 'position:relative');
|
document.querySelector('.css-mcm29f')?.setAttribute('style', 'position:relative');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} else if (matchDomain('technologyreview.com')) {
|
} else if (matchDomain('technologyreview.com')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user