Skip to content

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