1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-09-20 07:31:40 +02:00

Exclude story entries within feed

This commit is contained in:
Allan Wang 2019-07-01 11:02:06 -07:00
parent 05403e185a
commit 79efcadf89
No known key found for this signature in database
GPG Key ID: C93E3F9C679D7A56

View File

@ -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 {