拒绝 GitHub 新 UI

将 repo 信息移动至顶部

< 脚本拒绝 GitHub 新 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.

发表回复

登录以发表回复。