Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce3784b

Browse files
committed
Adjust coderstats.net URL
1 parent 13825bd commit ce3784b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build:
2+
zip -r /tmp/coderstats.zip coderstats/

coderstats/coderstats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var path = document.location.pathname,
66
if (m = path.match(/^\/([\w-]+)\??.*?/)) {
77
login = m[1].trim();
88
if (-1 === ['timeline', 'languages', 'blog', 'explore'].indexOf(login)) {
9-
url = 'http://coderstats.net/github/' + login + '/';
9+
url = 'http://coderstats.net/github#' + login;
1010
details = document.getElementsByClassName('vcard-details');
1111
if (details.length > 0) {
1212
addLink();

coderstats/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"manifest_version": 2,
3-
"version": "1.17",
3+
"version": "1.18",
44
"name": "CoderStats link for Github Coders",
55
"description": "Display a link to the CoderStats page for the currently displayed GitHub user when browsing github.com.",
66
"icons": {

0 commit comments

Comments
 (0)