Skip to content

Feature request: CSS delayed second run-at #34

@tmcomm

Description

@tmcomm

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-at such as idle_plus that would run the UserCSS at document_idle and at a delay specified in @run-at-delay
  • If adding @run-at-delay is problematic, a few new @run-at options such as idle_plus_1s, idle_plus_3s, and idle_plus_5s could be added instead
  • @run-at could remain unchanged, and @run-at-delay could re-run the the UserCSS independently of the @run-at being 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions