You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used local overrides in devtools to verify that removing this attribute fixes the issue. There seems to be no adverse effects either, apparently because you use a listener for readystatechange. The blocking mode of execution doesn't seem to slow down page load here, but if you are concerned, you can add a Link HTTP header with the URLs of scripts and stylesheets to ensure they're preloaded simultaneously with the html, e.g. greasyfork.org does it.
P.S. Chrome started to insert paint frames overly aggressively this year when the number of tags in body exceeds some arbitrary threshold, which is why in Stylus I've moved the entire contents of body to a template in head and then I just add it back into body at the start of the script. This behavior was terrible initially, now they've adjusted the thresholds, but I still use the trick just in case.
The text was updated successfully, but these errors were encountered:
Also want to mention that it's currently impossible to use light theme or to change theme setting without JS.
I think the theming system is planned to be reworked with data-flags which were introduced this year.
Seems to be caused by
defer
attribute on the main script:userstyles.world/web/views/partials/head.tmpl
Line 32 in fee59d7
I've used local overrides in devtools to verify that removing this attribute fixes the issue. There seems to be no adverse effects either, apparently because you use a listener for
readystatechange
. The blocking mode of execution doesn't seem to slow down page load here, but if you are concerned, you can add aLink
HTTP header with the URLs of scripts and stylesheets to ensure they're preloaded simultaneously with the html, e.g. greasyfork.org does it.P.S. Chrome started to insert paint frames overly aggressively this year when the number of tags in
body
exceeds some arbitrary threshold, which is why in Stylus I've moved the entire contents ofbody
to atemplate
inhead
and then I just add it back intobody
at the start of the script. This behavior was terrible initially, now they've adjusted the thresholds, but I still use the trick just in case.The text was updated successfully, but these errors were encountered: