Greasy Fork 支持简体中文。

Fxxk GitHub's new UI

Move repo information to the top.

< 腳本Fxxk GitHub's new UI的回應

提問/評論

§
發表於:2020-07-01
編輯:2020-07-01

Hi, it's me again.

I found out the script is increasing the div class "box-header" size without showing the repo information to the top for some reason.

Proof:

https://github.com/loveunk/Deep-learning-books

https://github.com/MingchaoZhu/DeepLearning

Any fix? :b

Aloxaf作者
§
發表於:2020-07-01

I can't reproduce it. And the script will only decrease it's size actually.

Have you tested it with other scripts/extensions disabled?

§
發表於:2020-07-01
編輯:2020-07-01

Yes, i have tested it on TamperMonkey and ViolentMonkey with all other scripts disabled.

The script works well after refreshing the repo a few times but, sometimes, it happens.

And now, i'm getting the following error in dev tools (with ViolentMonkey enabled): "Failed to execute 'evaluate' on 'Document': parameter 2 is not of type 'Node'".

Any suggestions to this odd bug? (:

Important: All of my testings were done with not signed in to GitHub yet.

Aloxaf作者
§
發表於:2020-07-02

Updated. Does it work now?

(I still failed to reproduce it……

§
發表於:2020-07-02
編輯:2020-07-02

Nope, still not fixed yet at all. ):

Is is possible that the issue is on my client side? i mean, the xpath expression can't match properly every time that i refresh or visit the repo as intended.

發表回覆

登入以回復