message: Simplify `show-user-top-repositories`
diff: @@ -3,14 +3,11 @@ import select from 'select-dom';
  import * as pageDetect from 'github-url-detection';
  import features from '.';
  -import {getCleanPathname} from '../github-helpers';
  -function buildUrl(queryField: string): URL {
  - const url = new URL('/search', location.href);
  - url.searchParams.set('o', 'desc');
  - url.searchParams.set('q', `user:${getCleanPathname()}`);
  - url.searchParams.set('s', queryField);
  - url.searchParams.set('type', 'Repositories');
  +function buildUrl(): URL {
  + const url = new URL(location.pathname, location.href);
  + url.searchParams.set('tab', 'repositories');
  + url.searchParams.set('sort', 'stargazers');
  return url;
  }
  @@ -18,7 +15,7 @@ function init(): void {
  // Showcase title
  select('.js-pinned-items-reorder-container .text-normal')!.firstChild!.after(
  ' / ',
  - <a href={String(buildUrl('stars'))}>Top repositories</a>
  + <a href={String(buildUrl())}>Top repositories</a>
  );
  }
  