-
Is the term “dynamic” appropriate?
-
It would be interesting to create a mechanism where the settings are automatically edited and the UserCSS changes based on certain conditions (blu3mo).
-
For example,
- If a specific string is included in a certain line of a page, only that line is styled with a black background using CSS.
- Use /villagepump/特定ページの特定行だけにスタイルを付与する for this.
- This behavior cannot be achieved with UserCSS alone.
- It could be done with UserScript, but it would only be visible to oneself due to Scrapbox’s specifications.
- With the method proposed on this page, this behavior can be achieved in a way that is visible to everyone.
- If a specific string is included in a certain line of a page, only that line is styled with a black background using CSS.