From 4f685d00ee97c378212f9f76cd34bcc4a4bf1985 Mon Sep 17 00:00:00 2001 From: acharris Date: Mon, 22 Jun 2020 00:50:33 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e1d4ada..13d6c82 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,8 @@ 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. + +`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")