Permalink
Browse files

added rafaels chat

  • Loading branch information...
1 parent c6b3565 commit f296310f3febfd890c22d4327b976482f48c5fea @chrismatthieu committed Oct 6, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 contentscript.js
View
@@ -8,7 +8,7 @@ if (regex.test(document.documentElement.innerHTML)) {
repo = $('a.js-current-repository').html();
user = $('a.name').html();
- $('ul.actions').last().append('<li class><a href="#" onclick="javascript:window.open(\'http://github.phono.com?room=' + repo + '&nickname=' + user + '\', \'popup_id\', \'scrollbars,resizable,width=675,height=700\')" class="minibutton btn-new-issue "><span><span class="icon"></span>Chat</span></a></li>');
+ $('ul.actions').last().append('<li class><a href="#" onclick="javascript:window.open(\'http://voice-chat.nodester.com/rooms/' + repo + '?username=' + user + '\', \'popup_id\', \'scrollbars,resizable,width=1000,height=700\')" class="minibutton btn-new-issue "><span><span class="icon"></span>Chat</span></a></li>');
chrome.extension.sendRequest({}, function(response) {});
@@ -17,3 +17,6 @@ if (regex.test(document.documentElement.innerHTML)) {
// console.log('no matches')
}
+
+
+// http://voice-chat.nodester.com/rooms/rubyconf?username=chris

0 comments on commit f296310

Please sign in to comment.