-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix form_key element #218
base: master
Are you sure you want to change the base?
Fix form_key element #218
Conversation
@gkojax Which issues have solved by this pull request? |
すみません、書き忘れました。 #216 の対応です。 |
@@ -369,10 +369,10 @@ var Tumblr = update({}, AbstractSessionService, { | |||
getInfo() { | |||
return this.getDashboard().addCallback(doc => { | |||
let info = {}; | |||
let element = doc.querySelector('input[name="form_key"]'); | |||
let element = doc.querySelector('input[name="form_key"]') || doc.querySelector('input[name="tumblr_form_key"]'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
input[name="tumblr_form_key"]
の部分は input
ではなく、meta
です。
<meta name="tumblr-form-key" id="tumblr_form_key" content="xxxx">
微妙ですが、
meta[id="tumblr_form_key"]
or meta[name="tumblr-form-key]"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます。
#216 の手順とは異なるかもしれませんが、 Reblog ができるようになることを確認できました。
No description provided.