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

Skip to content

Commit bbd723f

Browse files
committed
user page change
1 parent b72b97f commit bbd723f

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Screenshot_Coderstats_yaph.png

11.8 KB
Loading

coderstats/coderstats.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var nick = $('span[itemprop]="nickname"').text();// assume user page
1+
var nick = $('.columns.profilecols"').attr('data-name');// assume user page
22
if (!nick) nick = $('.pagehead.userpage').attr('data-name');// org page
33
var url='http://coderstats.geeksta.net/coder/'+$.trim(nick);$('.page-profile .vcard').append('<dl><dt>Coderstats</dt><dd><a href="'+url+'">'+url+'</a></dd></dl>');
44

coderstats/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Coderstats link for Github",
3-
"version": "1.2",
3+
"version": "1.3",
44
"description": "Display a link to the Coderstats page for the currently displayed user on github.com.",
55
"icons":
66
{

0 commit comments

Comments
 (0)