-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
I wanna open the repository page of GitHub in new tab #843
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
Comments
Hi, if you just wanna change the corner, I think it would work for you 😃 Just import your own change the add the
|
Hi THKU !! |
Hi, I had the same issue an found an other solution maybe less restrictive: // after all docsify scripts
<script type="text/javascript">
window.addEventListener('click', function(e) {
if (e.target.parentNode.closest('.github-corner')) {
e.preventDefault()
window.open(document.querySelector('.github-corner').href, '_blank')
}
})
</script> |
You can create a plugin as well with this script. |
Feature request
Open in new tab when set true to
openNewTab
key ofwindow.$docsify
What problem does this feature solve?
Currently, open in currently tab when we click SVG of GitHub Corners.
But I wanna open the repository page of GitHub when at that time.
What does the proposed API look like?
We'll be able to open the repository page of GitHub in new tab by using this API.
How should this be implemented in your opinion?
I think you should be able to open the repository page of GitHub in new tab when we set true to
openNewTab
key ofwindow.$docsify
.Are you willing to work on this yourself?
No. Sorry, I'm so busy now,,,
The text was updated successfully, but these errors were encountered: