Closed cafrew closed 3 years ago
嗯嗯,周末修一下,前几天有点忙
cafrew notifications@github.com 于 2020年6月19日周五 07:00写道:
改版之后图库读不出来。 测试链接: https://nhentai.net/g/307081/
[image: 1] https://user-images.githubusercontent.com/29897050/85079901-76b90a00-b1fa-11ea-9f3d-852925e1ad13.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hanFengSan/eHunter/issues/87, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2SI5QGRDKFPESD372QARTRXKMADANCNFSM4OCG5CRQ .
+1
if you're using TamperMonkey you can change the code manually for now
change
return this.html.querySelector(".back-to-gallery").children[0].getAttribute("href")
to
return this.html.querySelector(".go-back").getAttribute("href")
in two places
AND
change
return this.html.querySelector("h1").innerHTML
to
var titleDOM = this.html.querySelector("h1.title")
return titleDOM.innerText;
use https://beautifier.io/ to beautify your code
Hope this helps
88 fixes this
if you're using TamperMonkey you can change the code manually for now
change
return this.html.querySelector(".back-to-gallery").children[0].getAttribute("href")
toreturn this.html.querySelector(".go-back").getAttribute("href")
in two placesAND
change
return this.html.querySelector("h1").innerHTML
tovar titleDOM = this.html.querySelector("h1.title") return titleDOM.innerText;
use https://beautifier.io/ to beautify your code
Hope this helps
I modified it in this way, but the script still doesn't work. Can you send me the modified script? Thank you.😀
嗯嗯,周末修一下,前几天有点忙 cafrew notifications@github.com 于 2020年6月19日周五 07:00写道: … 改版之后图库读不出来。 测试链接: https://nhentai.net/g/307081/ [image: 1] https://user-images.githubusercontent.com/29897050/85079901-76b90a00-b1fa-11ea-9f3d-852925e1ad13.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#87>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2SI5QGRDKFPESD372QARTRXKMADANCNFSM4OCG5CRQ .
一年过去了……
[Uploading eHunter2.6.1.mod.user.zip…]()
hinatasUterus' suggestion is working. Many thanks. :kissing_smiling_eyes:
Glad to be of service!
eHunterCodeBeta.txt @ZerOri
eHunterCodeBeta.txt @ZerOri
thanks😄
改版之后图库读不出来。 测试链接: https://nhentai.net/g/307081/