Greasy Fork is available in English.

GitHub one-click sync fork

Sync your GitHub fork repo within one click

< Commentaires sur GitHub one-click sync fork

Question / commentaire

§
Posté le: 2020-11-23
Édité le: 2020-11-23

@maple3142 Well, the problem is really simple. Github won't show $('.user-profile-link>strong') unless you click the View profile and more button, so it will say something like TypeError: Cannot read property 'textContent' of null

The good news is, I've just discovered a way to get your login-name. const currentUser = $('meta[name="octolytics-actor-login"]').content will make it. That's all.

Poster une réponse

Connectez-vous pour poster une réponse.