Some websites are displayed empty for ~5 seconds after loading finished #93
Comments
because it has a delay of 4000 ms defined with |
It's inline either block the inline script with uMatrix or use uBlock Origin to disable that delay. |
Thanks for the quick reply, guys! I didn't look into the website's code, sorry for that. But my observation is that the issue does not appear when uMatrix is disabled. In this case, the website shows immediately after the throbber finished working (quite fast actually, much faster than 4 seconds, including the throbber loading time). How is this consistent with your explanation? |
@mapx- Wasn't this patched few days ago in uBO ? |
The javascript(to be specific that inline-script) is doing that. uMatrix only can block or allow network connections. |
But I wonder why this JS is triggered with uMatrix and is not without it. Sorry, I'm not experienced in JS so I might overlook something... |
It's not triggered, it's anti adblock script from SourcePoint. Anti adblock are best left to deal with uBlock Origin. |
Because uBO redirects |
@uBlock-user It's not an anti-blocker, it's gorhill/uBlock#2569, a by-design "optimization" delay from Google APIs. |
It's from SourcePoint who runs the anti adblock scripts for the these domains, so presumed that must be the case. Google's optimisation was async-hide's opacity set with a delay of 4 seconds, wasn't it ? |
@gorhill https://developers.google.com/optimize/ Google uses async-hide, not like this. |
Frankly I didn't investigate, I based my comments completely on a similar report on Reddit, https://www.reddit.com/r/uBlockOrigin/comments/a8tt1c/4_second_delay_on_spiegelde/ecdrwpz/. |
There's no trace of google's snippet in the inline-script, that's what I first looked for when I saw this issue opened. There was an issue recently opened in uBO too relating to Google's snippet's hiding annoyance -- uBlockOrigin/uBlock-issues#324 |
To put this to rest I just investigated and it is indeed |
Thanks, I can confirm that this fixes the issue for me! Would it be a good idea to remove the googletagmanager filter rule from the default rules for websites which are known to cause such issues? |
uMatrix is a "hard" blocker, it's not designed to make sites work out of the box, investigating and fixing such breakage is a normal part of using uMatrix. |
Also, read https://github.com/gorhill/uMatrix/wiki/Preset-whitelisted-and-blacklisted-domains. Specific whitelist rules are not, and will not be part of uMatrix. |
I see, thanks for the explanation! |
Even with uBO, the delay will remain as the redirect will not effectively get rid of the delay completely, but will make it slightly faster and given the race condition, scriptlets won't work on Chromium, so you will have to block the inline-script on Chrome/Chromium as a solution. |
The latter problem is fine with me, I use Firefox anyway. :) Concerning the delay remaining, I'm not sure if I understand but after allowing googletagmanager in uMatrix it is not there or at least not bugging me any more. |
I still face some delay on Chromium, behaviour must be different on Firefox then, fortunate for you if that's the case. Do you have uBlock Origin installed ? |
Actually, I have uBlock Origin, uMatrix and NoScript installed on that machine. Originally it was just uBlock Origin and NoScript but then I needed to allow some elements selectively and added uMatrix which does the job greatly. Probably I need to remove NoScript since it's a PITA to configure both NoScript and uMatrix on every new site... |
You don't need NoScript if you have already have uBO installed, it will only create further complications. |
You mean, if I have uMatrix installed, right? Since uBO only blocks ads but doesn't block loading scripts from other domains etc. |
Prerequisites
Description
Some websites are displayed empty for around 5 seconds after the throbber finished rotating, then the content is displayed. The rendering seems to be finished already since the scroll bar does not change any more when the website is actually displayed. The problem appears with a freshly created profile, uMatrix being the only extension installed. No changes to the filters are made. The problem appears only for some websites but does not for others.
A specific URL where the issue occurs
www.spiegel.de
Steps to Reproduce
Ruleset
Default rules as they come with uMatrix 1.3.14 freshly installed.
Supporting evidence
Logger output attached: uMatrixLogger.tar.gz
Your environment
The text was updated successfully, but these errors were encountered: