diff options
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt index 891a1dbf..18fd0673 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt @@ -38,7 +38,13 @@ enum class CssHider(vararg val items: String) : InjectorContract { COMPOSER("#MComposer"), MESSENGER("._s15", "[data-testid=info_panel]", "js_i"), NON_RECENT("article:not([data-store*=actor_name])"), - STORIES("#MStoriesTray") + STORIES( + "#MStoriesTray", + // Main article wrapper; this may end up excluding more than just stories + "article:not([data-store-id])", + // Sub element with just the tray; title is not a part of this + "[data-testid=story_tray]" + ) ; val injector: JsInjector by lazy { |