Skip to content
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

Feature: use gon object to show spantree #95

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maxming2333
Copy link

Although there is no gon object on the obtained window object

but the gon content text information can be obtained through document.innerHTML

so that it can be judged whether it is a gitlab page.


By the way, some of the methods for obtaining gon object judgment mentioned in issues can also be obtained using the document.innerHTML + regular expression method.

@maxming2333
Copy link
Author

@tavyandy97 This does not modify the previous judgment, it just adds a judgment method, which can work normally in my GitLab Community Edition 14.2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant