diff options
author | Allan Wang <me@allanwang.ca> | 2019-07-01 11:54:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 11:54:47 -0700 |
commit | 35305f7a83daabf535d3fb22938eb5dd68fd2c19 (patch) | |
tree | d120c699b17add7d775b11e88b1b147efd39b69f /app | |
parent | 05403e185adcd5ae9829027fb53a134dec6b7d97 (diff) | |
parent | 79efcadf89f324f04f57d22c3b60a05fd297f2b9 (diff) | |
download | frost-35305f7a83daabf535d3fb22938eb5dd68fd2c19.tar.gz frost-35305f7a83daabf535d3fb22938eb5dd68fd2c19.tar.bz2 frost-35305f7a83daabf535d3fb22938eb5dd68fd2c19.zip |
Merge pull request #1456 from AllanWang/theme
Theme
Diffstat (limited to 'app')
-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 { |