-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Issue Description
Many sites are still loading/changing CSS after @run-at document_idle. One widely used example of this is YouTube, which I frequently need to manually re-run the UserCSS in order for all of the styling to be correctly applied.
Re-running the UserCSS requires a few mouse clicks and selecting the UserCSS from a list. Sometimes it's easier to just refresh the page a few times until it works.
Feature Request
Add a new @run-at that can can be used in addition to document_idle to re-apply the UserCSS at X seconds after document_idle.
I had a few ideas about how this could be accomplished from a user perspective, but I'm not sure about the feasibility of any of them:
- A new
@run-atsuch asidle_plusthat would run the UserCSS atdocument_idleand at a delay specified in@run-at-delay - If adding
@run-at-delayis problematic, a few new@run-atoptions such asidle_plus_1s,idle_plus_3s, andidle_plus_5scould be added instead @run-atcould remain unchanged, and@run-at-delaycould re-run the the UserCSS independently of the@run-atbeing used
Alternate Feature Request
The feature above would be preferred, but making it easier to manually re-run the UserCSS would still be an improvement. Here are some ideas:
- A toolbar button to re-run any active UserCSS for the page
- If an additional toolbar button is problematic, a button at the top of the toolbar menu to re-run all UserCSS without having to select from the list would be an improvement.
Thanks!