sindresorhus/refined-github















The issue has been closed
`default-branch-button` on forks: add secondary button to see folder on source repo #2985
fregante posted onGitHub
- Visit https://github.com/fregante/refined-github/blob/incremental-tag-changelog-link/source/background.ts
- There should be a
<<
link to https://github.com/sindresorhus/refined-github/blob/master/source/background.ts
Example: (ignore the arrow)
<img width="507" alt="" src="https://user-images.githubusercontent.com/1402241/36968100-24f8f38c-2094-11e8-8393-6cc1d719950d.png">
How:
- Edit the
get-default-branch
function to accept auser/repo
string (and it should only useparseBranchFromDom
if the string matches the current page) - Add the button on forks using the CSS code here: https://github.com/sindresorhus/refined-github/pull/1132
More issues semi-related to this one: https://github.com/sindresorhus/refined-github/pull/1115 https://github.com/sindresorhus/refined-github/pull/1168 https://github.com/sindresorhus/refined-github/pull/1557