mirror of
https://github.com/techgaun/active-forks.git
synced 2024-12-22 05:22:14 +01:00
Update README.md
This commit is contained in:
parent
aca5e493bf
commit
1e3639abf4
1 changed files with 12 additions and 2 deletions
14
README.md
14
README.md
|
@ -6,8 +6,18 @@ This project allows you to find the most active forks of a repository.
|
|||
|
||||
[Find Active Fork](https://techgaun.github.io/active-forks/index.html)
|
||||
|
||||
Use this tool as a bookmarklet. Since Github doesn't allow javascript in its markdown, you can add it manually. Hit Ctrl+D to create a new bookmark and paste the javascript below into the URL or "Location" entry (you may have to click "More" to see the URL field). Any time you're on a Github repo you can click the bookmarklet and it'll bring up the Active Forks of that repo.
|
||||
## As Bookmarklet
|
||||
|
||||
`javascript:var title=document.title;if(title){ thing=title.split(':');var newPage = 'https://techgaun.github.io/active-forks/index.html#'+thing[0];open(newPage ,'targetname')}`
|
||||
If you would like to use this tool as a bookmarklet,
|
||||
you can do so by saving the following javascript code as the bookmarklet.
|
||||
Since Github doesn't allow javascript in its markdown, you can add it manually.
|
||||
Hit `Ctrl+D` to create a new bookmark and paste the javascript below into the URL
|
||||
or "Location" entry (you may have to click "More" to see the URL field).
|
||||
Any time you're on a Github repo you can click the bookmarklet
|
||||
and it'll bring up the Active Forks of that repo.
|
||||
|
||||
```javascript
|
||||
javascript:var title=document.title;if(title){ thing=title.split(':');var newPage = 'https://techgaun.github.io/active-forks/index.html#'+thing[0];open(newPage ,'targetname')}
|
||||
```
|
||||
|
||||
![Screenshot](screenshot.png "Active Forks in Action")
|
||||
|
|
Loading…
Reference in a new issue