aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-09-27 23:43:38 -0400
committerAllan Wang <me@allanwang.ca>2018-09-27 23:43:38 -0400
commit0d23df5fe082754f3579eb2b6e91c7fcfb1134b0 (patch)
tree31707f8684ad89d74aed1ba91520d066b2b98201 /app
parent047033dbb0bd76572653e24a3ef1f532e27df17b (diff)
downloadfrost-0d23df5fe082754f3579eb2b6e91c7fcfb1134b0.tar.gz
frost-0d23df5fe082754f3579eb2b6e91c7fcfb1134b0.tar.bz2
frost-0d23df5fe082754f3579eb2b6e91c7fcfb1134b0.zip
Update create post selector
Diffstat (limited to 'app')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt
index b4926355..1ab00153 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt
@@ -17,7 +17,7 @@ enum class JsActions(body: String) : InjectorContract {
BASE_HREF("""document.write("<base href='$FB_URL_BASE'/>");"""),
FETCH_BODY("""setTimeout(function(){var e=document.querySelector("main");e||(e=document.querySelector("body")),Frost.handleHtml(e.outerHTML)},1e2);"""),
RETURN_BODY("return(document.getElementsByTagName('html')[0].innerHTML);"),
- CREATE_POST(clickBySelector("button[name=view_overview]")),
+ CREATE_POST(clickBySelector("[role=textbox][onclick]")),
// CREATE_MSG(clickBySelector("a[rel=dialog]")),
/**
* Used as a pseudoinjector for maybe functions