diff options
-rw-r--r-- | readme.md | 1 | ||||
-rw-r--r-- | source/features/link-to-prior-blame-line.tsx | 19 | ||||
-rw-r--r-- | source/refined-github.ts | 1 |
3 files changed, 0 insertions, 21 deletions
@@ -382,7 +382,6 @@ Thanks for contributing! 🦋🙌 - [](# "linkify-branch-references") [Linkifies branch references in "Quick PR" pages.](https://user-images.githubusercontent.com/1402241/30208043-fa1ceaec-94bb-11e7-9c32-feabcf7db296.png) - [](# "hide-issue-list-autocomplete") [Removes the autocomplete on search fields.](https://user-images.githubusercontent.com/1402241/42991841-1f057e4e-8c07-11e8-909c-b051db7a2a03.png) - [](# "embed-gist-via-iframe") [Adds a menu item to embed a gist via `<iframe>`.](https://user-images.githubusercontent.com/44045911/63633382-6a1b6200-c67a-11e9-9038-aedd62e4f6a8.png) -- [](# "link-to-prior-blame-line") [Preserves the current line on “View blame prior to this change” links.](https://user-images.githubusercontent.com/1402241/60064482-26b47e00-9733-11e9-803c-c113ea612fbe.png) - [](# "enable-file-links-in-compare-view") [Points the "View file" on compare view pages to the branch instead of the commit, so the Edit/Delete buttons will be enabled on the "View file" page, if needed.](https://user-images.githubusercontent.com/1402241/69044026-c5b17d80-0a26-11ea-86ae-c95f89d3669a.png) - [](# "linkify-labels-on-dashboard") [Makes labels clickable on the dashboard.](https://user-images.githubusercontent.com/46634000/136909258-88031d07-6efa-4339-b436-5636e8075964.png) - [](# "reload-failed-proxied-images") [Retries downloading images that failed downloading due to GitHub limited proxying.](https://user-images.githubusercontent.com/14858959/64068746-21991100-cc45-11e9-844e-827f5ac9b51e.png) diff --git a/source/features/link-to-prior-blame-line.tsx b/source/features/link-to-prior-blame-line.tsx deleted file mode 100644 index 5ad32a26..00000000 --- a/source/features/link-to-prior-blame-line.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import select from 'select-dom'; -import * as pageDetect from 'github-url-detection'; - -import features from '../feature-manager'; - -function init(): void { - for (const link of select.all('a.reblame-link')) { - const lineNumber = link.closest('.blame-hunk')!.querySelector('.js-line-number[id]')!.id; - link.hash = `#${lineNumber}`; - } -} - -void features.add(import.meta.url, { - include: [ - pageDetect.isBlame, - ], - deduplicate: 'has-rgh', - init, -}); diff --git a/source/refined-github.ts b/source/refined-github.ts index b7562cf0..d22dbea6 100644 --- a/source/refined-github.ts +++ b/source/refined-github.ts @@ -129,7 +129,6 @@ import './features/reload-failed-proxied-images'; import './features/highlight-collaborators-and-own-conversations'; import './features/embed-gist-via-iframe'; import './features/one-click-pr-or-gist'; -import './features/link-to-prior-blame-line'; import './features/dim-bots'; import './features/conflict-marker'; import './features/html-preview-link'; |