Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Font Preview - Fails to render font preview on first-load #153

Open
innateessence opened this issue Jun 18, 2021 · 1 comment
Open

Comments

@innateessence
Copy link

First load:
image

After page refresh:
image

@ACH1980
Copy link

ACH1980 commented Jun 19, 2021

As written in #146 this seems to be the problem mentioned here: https://stackoverflow.com/questions/17862394/my-userscript-only-works-when-the-page-is-refreshed-or-on-iframes-not-the-main
The page doesn't get loaded when you click a link, instead it loads only the contents via Ajax, which is good in point of bandwidth, but bad for the script that only executes on page load.

Possible solution could be to regularly execute the script without having the page to reload, but this could be overkill. Maybe the devs have a better idea...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants