-
Notifications
You must be signed in to change notification settings - Fork 136
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
Styles not applied on first pageload? #43
Comments
Hello! Can you please attach your style here and websites urls? |
I have this happening with several sites. One example: The styles in this case hide all the ads by setting containers to display: none. First page load: all ads visible, CSS not applied. #header {display: none !important;} |
What version of Stylish you using here? Works fine in my build, can you test? #37 |
I am using: I also tried your 2.0.9 beta from the #37 thread, but it does the same. I checked the source code of the page for what is happening. On first pageload though, the insertion near the bottom of the main html is not there (the insertions in iframes are there). Only after a refresh, the insertion near the bottom is there, and styles are applied. See attached screenshot for a before and after. |
I have several websites with custom styles, e.g. for setting ad containers to display: none.
The CSS works fine, but is not applied on first page load.
On a refresh of a page, the styles work. Also on a toggle within the menu bar button.
Using Safari 11.0.2 on macOS 10.13.2
The text was updated successfully, but these errors were encountered: