Permalink
Browse files

Moar js.

  • Loading branch information...
1 parent c9b678b commit b01aaca0d88ac5b2104c2270a859f988b7826cef @sjl committed Oct 10, 2012
Showing with 19 additions and 0 deletions.
  1. +1 −0 dotcss/bitbucket.org.css
  2. +3 −0 dotcss/goodreads.com.css
  3. +15 −0 dotjs/github.com.js
View
@@ -0,0 +1 @@
+#invite-repo-box {display: none;}
View
@@ -0,0 +1,3 @@
+#featured_polls, #quote_of_the_day {
+ display: none;
+}
View
@@ -54,4 +54,19 @@ $(function() {
if (window.location.hash === '#reviewing') {
$('a#toggle-merges-button').click();
}
+
+ if ($('.view-pull-request').length) {
+ var url = $('table.commits tr.commit .commit-meta a').attr('href');
+ var parts = url.split('/');
+ var repo = 'git://github.com/' + parts[1] + '/' + parts[2] + '.git';
+ $('#pull-head').append('<textarea id="goddamned-repo-url">' + repo + '</textarea>');
+ $('#goddamned-repo-url').css('width', '897px')
+ .css('height', '20px')
+ .css('border', '1px solid #ccc')
+ .css('padding', '5px 0px 3px 4px')
+ .css('margin', '3px 0px 5px 8px')
+ .css('font-size', '18px')
+ .css('color', '#555')
+ .css('border-radius', '3px');
+ }
});

0 comments on commit b01aaca

Please sign in to comment.